Difference between revisions of "Template:Village infobox"
Jump to navigation
Jump to search
m |
m |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 16: | Line 16: | ||
-->{{#if:{{{leader|}}}|<!-- | -->{{#if:{{{leader|}}}|<!-- | ||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->'''Leader'''<!-- | -->'''Leader'''<!-- | ||
--></td> | --></td> | ||
Line 27: | Line 27: | ||
-->{{#if:{{{patron|}}}|<!-- | -->{{#if:{{{patron|}}}|<!-- | ||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->'''Religion'''<!-- | -->'''Religion'''<!-- | ||
--></td> | --></td> | ||
Line 38: | Line 38: | ||
-->{{#if:{{{founder|}}}|<!-- | -->{{#if:{{{founder|}}}|<!-- | ||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->'''Founder'''<!-- | -->'''Founder'''<!-- | ||
--></td> | --></td> | ||
Line 49: | Line 49: | ||
-->{{#if:{{{discoverer|}}}|<!-- | -->{{#if:{{{discoverer|}}}|<!-- | ||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->'''Discoverer'''<!-- | -->'''Discoverer'''<!-- | ||
--></td> | --></td> | ||
Line 60: | Line 60: | ||
-->{{#if:{{{allies|}}}|<!-- | -->{{#if:{{{allies|}}}|<!-- | ||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->'''Allies'''<!-- | -->'''Allies'''<!-- | ||
--></td> | --></td> | ||
Line 71: | Line 71: | ||
-->{{#if:{{{enemies|}}}|<!-- | -->{{#if:{{{enemies|}}}|<!-- | ||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->'''Enemies'''<!-- | -->'''Enemies'''<!-- | ||
--></td> | --></td> | ||
Line 80: | Line 80: | ||
-->|}}<!-- | -->|}}<!-- | ||
-->{{#if:{{{seamark|}}}|<!-- | |||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->''' | -->'''Sea mark'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{seamark}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
Line 95: | Line 94: | ||
-->{{#if:{{{porttype|}}}|<!-- | -->{{#if:{{{porttype|}}}|<!-- | ||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->'''Port type'''<!-- | -->'''Port type'''<!-- | ||
--></td> | --></td> | ||
Line 104: | Line 103: | ||
-->|}}<!-- | -->|}}<!-- | ||
-->{{#if:{{{ | -->{{#if:{{{portsize|}}}|<!-- | ||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->'''Port | -->'''Port size'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{portsize}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
-->{{#if:{{{ | |||
-->{{#if:{{{exports|}}}|<!-- | |||
--><tr> | --><tr> | ||
<td style="width: | <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!-- | ||
-->''' | -->'''Exports'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{exports}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
Line 144: | Line 144: | ||
| enemies = The Commune of Lorem Ipsum | | enemies = The Commune of Lorem Ipsum | ||
| porttype = Man made | | porttype = Man made | ||
| | | portsize = ∞ | ||
| seamark = FooBarian | | seamark = FooBarian | ||
| exports = foobincense, barrh | | exports = foobincense, barrh |
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 }}