Difference between revisions of "Template:Infobox ad"
Jump to navigation
Jump to search
(Saving now because this code is a fucking mess) |
m |
||
Line 1: | Line 1: | ||
<table class="infobox"> | <table class="infobox"> | ||
<tr> | <tr> | ||
− | < | + | <td colspan="2" style="font-size:20px">[[File:{{{image}}}|frameless]]</td> |
</tr>{{#if:{{{image|}}}|<tr> | </tr>{{#if:{{{image|}}}|<tr> | ||
− | < | + | <th colspan="2" style="font-size:20px">{{{title|}}}</th> |
</tr>|}}{{#if:{{{imagecaption|}}}|<tr> | </tr>|}}{{#if:{{{imagecaption|}}}|<tr> | ||
<td colspan="2" class="caption">{{{imagecaption}}}</td> | <td colspan="2" class="caption">{{{imagecaption}}}</td> | ||
− | </tr>|}} | + | </tr>|}}|}} |
</table> | </table> | ||
<noinclude> | <noinclude> | ||
Line 14: | Line 14: | ||
<pre> | <pre> | ||
{{infobox ad | {{infobox ad | ||
− | |||
| image = | | image = | ||
+ | | link = | ||
+ | | title = | ||
| imagecaption = | | imagecaption = | ||
}} | }} | ||
Line 25: | Line 26: | ||
<pre> | <pre> | ||
{{infobox ad | {{infobox ad | ||
− | | | + | | image = Anarchoshire.png |
− | | | + | | link = |
− | | imagecaption = | + | | title = Get an avatar today! |
+ | | imagecaption = blah blah blah blah blah blah. | ||
}} | }} | ||
</pre> | </pre> | ||
Line 33: | Line 35: | ||
...becomes this infobox: | ...becomes this infobox: | ||
{{infobox ad | {{infobox ad | ||
− | | | + | | image = Anarchoshire.png |
− | | | + | | link = |
− | | imagecaption = | + | | title = Get an avatar today! |
+ | | imagecaption = blah blah blah blah blah blah. | ||
}} | }} | ||
</td></tr></table> | </td></tr></table> |
Revision as of 13:21, 10 March 2019
|}}
[[File:{{{image}}}|frameless]] |
How to use
Fill in the fields in this empty template with the appropriate values for the character. Fields that are not filled are automatically hidden.
{{infobox ad | image = | link = | title = | imagecaption = }}