Difference between revisions of "Template:Village infobox"

From AchaeaWiki
Jump to navigation Jump to search
(trial run)
Line 88: Line 88:
     <td><!--
     <td><!--
       -->{{{exports}}}<!--
       -->{{{exports}}}<!--
    --></td>
  </tr><!--
  -->|}}<!--
  -->{{#if:{{{porttype|}}}|<!--
  --><tr>
    <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
      -->'''Port type'''<!--
    --></td>
    <td><!--
      -->{{{porttype}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
Line 109: Line 121:
  | enemies    = The Commune of Lorem Ipsum
  | enemies    = The Commune of Lorem Ipsum
  | exports    = foobincense, barrh
  | exports    = foobincense, barrh
| porttype    = Man made
}}</pre>
}}</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 07:05, 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
 | exports     = foobincense, barrh
 | porttype    = Man made
}}