Difference between revisions of "Template:Infobox ad"

From Dwaia Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
 
<table class="infobox">
 
<table class="infobox">
<tr>
+
{{ Infobox conditional image   | Anarchoshire.png }}
<td colspan="2" style="font-size:20px">[[File:{{{image}}}|frameless]]</td>
+
{{ Infobox default title       | <i>Get an avatar today!</i> }}
</tr>{{#if:{{{image|}}}|<tr>
+
{{ Infobox conditional caption | penis rape nigger }}
<th colspan="2" style="font-size:20px">{{{title|}}}</th>
 
</tr>|}}{{#if:{{{imagecaption|}}}|<tr>
 
<td colspan="2" class="caption">{{{imagecaption}}}</td>
 
</tr>|}}|}}
 
 
</table>
 
</table>
<noinclude>
 
 
==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.
 
<pre>
 
{{infobox ad
 
| image        =
 
| link        =
 
| title        =
 
| imagecaption =
 
}}
 
</pre>
 
 
==Example==
 
<table><tr style="vertical-align:top;"><td>
 
This source code...
 
<pre>
 
{{infobox ad
 
| image        = Anarchoshire.png
 
| link        =
 
| title        = Get an avatar today!
 
| imagecaption = blah blah blah blah blah blah.
 
}}
 
</pre>
 
</td><td>
 
...becomes this infobox:
 
{{infobox ad
 
| image        = Anarchoshire.png
 
| link        =
 
| title        = Get an avatar today!
 
| imagecaption = blah blah blah blah blah blah.
 
}}
 
</td></tr></table>
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:59, 10 March 2019

Anarchoshire.png
Get an avatar today!
penis rape nigger