Difference between revisions of "Template:Village infobox"

From AchaeaWiki
Jump to navigation Jump to search
Line 80: Line 80:
   -->|}}<!--
   -->|}}<!--


 
-->{{#if:{{{seamark|}}}|<!--
  -->{{#if:{{{exports|}}}|<!--
   --><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;"><!--
       -->'''Major exports'''<!--
       -->'''Sea Mark'''<!--
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{exports}}}<!--
       -->{{{seamark}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
Line 115: Line 114:
   -->|}}<!--
   -->|}}<!--


   -->{{#if:{{{seamark|}}}|<!--
 
   -->{{#if:{{{exports|}}}|<!--
   --><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;"><!--
       -->'''Sea Mark'''<!--
       -->'''Major exports'''<!--
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{seamark}}}<!--
       -->{{{exports}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--

Revision as of 07:31, 3 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

}}