Difference between revisions of "Template:Village infobox"
Jump to navigation
Jump to search
(trial run) |
m |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 76: | Line 76: | ||
<td><!-- | <td><!-- | ||
-->{{{enemies}}}<!-- | -->{{{enemies}}}<!-- | ||
--></td> | |||
</tr><!-- | |||
-->|}}<!-- | |||
-->{{#if:{{{seamark|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Sea mark'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{seamark}}}<!-- | |||
--></td> | |||
</tr><!-- | |||
-->|}}<!-- | |||
-->{{#if:{{{porttype|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Port type'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{porttype}}}<!-- | |||
--></td> | |||
</tr><!-- | |||
-->|}}<!-- | |||
-->{{#if:{{{portsize|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Port size'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{portsize}}}<!-- | |||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
Line 84: | Line 118: | ||
--><tr> | --><tr> | ||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->''' | -->'''Exports'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
Line 91: | Line 125: | ||
</tr><!-- | </tr><!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
--></table></includeonly> | --></table></includeonly> | ||
Line 100: | Line 135: | ||
Example usage: | Example usage: | ||
<pre>{{Village_infobox | <pre>{{Village_infobox | ||
| image | | image = ''image here'' | ||
| villagename = Foo | | villagename = Foo | ||
| leader | | leader = Bob | ||
| patron | | patron = Lord Foobarbaz of Filler Text | ||
| founder | | founder = F'baar | ||
| discoverer | | discoverer = Delphinus (who else?) | ||
| allies | | allies = Bar, Baz | ||
| enemies | | enemies = The Commune of Lorem Ipsum | ||
| exports | | porttype = Man made | ||
| portsize = ∞ | |||
| seamark = FooBarian | |||
| exports = foobincense, barrh | |||
}}</pre> | }}</pre> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 21:12, 20 September 2011
All fields except villagename are optional.
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 | porttype = Man made | portsize = ∞ | seamark = FooBarian | exports = foobincense, barrh }}