Difference between revisions of "Template:Village infobox"

Adding "test case". Excuse the dust.
m (Fix to alignment)
(Adding "test case". Excuse the dust.)
Line 1: Line 1:
{| border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" style="margin:0 0 1em 1em; float:right; width:290px;"
<includeonly>{| border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" style="margin:0 0 1em 1em; float:right; width:290px;"
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}}-
{{!}}-
{{!}} align="right" style="text-align: center;" {{!}} {{{image}}}
{{!}} align="center" colspan=2 {{!}} {{{image}}}
|}}
|}}
|-
|-
| style="font-size: larger;" align="center" colspan="2" bgcolor="#3366CC" | <font color=white>'''{{{villagename}}}'''</font>
| style="font-size: larger;" align="center" colspan=2 bgcolor="#3366CC" | <font color=white>'''{{{villagename}}}'''</font>
|-
|-
| align="right" bgcolor="#7094DB" width=75 | <font color=white>'''Leader'''</font>
| align="right" bgcolor="#7094DB" width=75 | <font color=white>'''Leader'''</font>
Line 25: Line 25:
| bgcolor="#F5FAFF" | {{{enemies|''None''}}}
| bgcolor="#F5FAFF" | {{{enemies|''None''}}}
|-
|-
|}
|}</includeonly>
 
<noinclude>
<noinclude>[[Category:Infobox templates]]</noinclude>
{{Village_infobox
|image=http://i14.photobucket.com/albums/a315/DelphinusW/Zanzibaar.jpg
|villagename=Zanzibaar
|leader=[[Djulsan]], King of Zanzibaar
|discoverer=Delphinus Windancer, Jaizsur Ta'sa, Tiax Drac'Kal, Kaise Le'rac, Kriby, Misty Ta'sa, and Istiria Aristata
}}
[[Category:Infobox templates]]</noinclude>
78

edits