Difference between revisions of "Template:Village infobox"
Jump to navigation
Jump to search
(lets see how it goes...) |
(added example) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><table border="1" cellpadding="4" cellspacing="0" style="margin:0 0 1em 1em; float:right; width:290px;"><!-- | ||
<table border="1" cellpadding="4" cellspacing="0" style="margin:0 0 1em 1em; float:right; width:290px;"><!-- | |||
-->{{#if:{{{image|}}}|<!-- | -->{{#if:{{{image|}}}|<!-- | ||
Line 21: | Line 20: | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{leader}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
Line 81: | Line 80: | ||
-->|}}<!-- | -->|}}<!-- | ||
--></table> | --></table></includeonly> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
{{Village_infobox | ---- | ||
|image= | |||
|villagename= | All fields except '''villagename''' are optional. | ||
|leader= | |||
|discoverer=Delphinus | Example usage: | ||
}} | {{Village_infobox | ||
| image = ''image here'' | |||
| villagename = Foo | |||
| leader = Bob | |||
| patron = Lord Foobarbaz of Filler Text | |||
| founder = F'baar | |||
| discoverer = Delphinus (who else?) | |||
| allies = Bar, Baz | |||
| enemies = The Commune of Lorem Ipsum | |||
}} | |||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 05:41, 15 May 2010
All fields except villagename are optional.
Example usage:
image here | |
Foo | |
Leader | Bob |
Religion | Lord Foobarbaz of Filler Text |
Founder | F'baar |
Discoverer | Delphinus (who else?) |
Allies | Bar, Baz |
Enemies | The Commune of Lorem Ipsum |