Difference between revisions of "Template:Village infobox"
Jump to navigation
Jump to search
m (o hay guise look its in Category:Infobox templates :DDD) |
m |
||
(21 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><table border="1" cellpadding="4" cellspacing="0" style="margin:0 0 1em 1em; float:right; width:290px;"><!-- | |||
-->{{#if:{{{image|}}}|<!-- | |||
--><tr><td colspan="2" style="text-align: center"><!-- | |||
-->{{{image}}}<!-- | |||
--></td> | |||
|- | </tr><!-- | ||
-->|}}<!-- | |||
<noinclude>[[Category:Infobox templates]]</noinclude> | --><tr> | ||
<td colspan="2" style="font-size: larger; text-align: center; background-color: #3366CC; color: white;"><!-- | |||
-->{{{villagename}}}<!-- | |||
--></td> | |||
</tr><!-- | |||
-->{{#if:{{{leader|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Leader'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{leader}}}<!-- | |||
--></td> | |||
</tr><!-- | |||
-->|}}<!-- | |||
-->{{#if:{{{patron|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Religion'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{patron}}}<!-- | |||
--></td> | |||
</tr><!-- | |||
-->|}}<!-- | |||
-->{{#if:{{{founder|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Founder'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{founder}}}<!-- | |||
--></td> | |||
</tr><!-- | |||
-->|}}<!-- | |||
-->{{#if:{{{discoverer|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Discoverer'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{discoverer}}}<!-- | |||
--></td> | |||
</tr><!-- | |||
-->|}}<!-- | |||
-->{{#if:{{{allies|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Allies'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{allies}}}<!-- | |||
--></td> | |||
</tr><!-- | |||
-->|}}<!-- | |||
-->{{#if:{{{enemies|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Enemies'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{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> | |||
</tr><!-- | |||
-->|}}<!-- | |||
-->{{#if:{{{exports|}}}|<!-- | |||
--><tr> | |||
<td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | |||
-->'''Exports'''<!-- | |||
--></td> | |||
<td><!-- | |||
-->{{{exports}}}<!-- | |||
--></td> | |||
</tr><!-- | |||
-->|}}<!-- | |||
--></table></includeonly> | |||
<noinclude> | |||
---- | |||
All fields except '''villagename''' are optional. | |||
Example usage: | |||
<pre>{{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 | |||
}}</pre> | |||
[[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 }}