Difference between revisions of "Template:Village infobox"

From ImperianWiki
Jump to navigation Jump to search
Line 9: Line 9:


   --><tr>
   --><tr>
     <td colspan="2" style="font-size: larger; text-align: center; background-color: #3366CC; color: white;"><!--
     <td colspan="2" style="font-size: larger; text-align: center; background-color: #5FFB17; color: white;"><!--
       -->{{{villagename}}}<!--
       -->{{{villagename}}}<!--
     --></td>
     --></td>
Line 16: Line 16:
   -->{{#if:{{{leader|}}}|<!--
   -->{{#if:{{{leader|}}}|<!--
   --><tr>
   --><tr>
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
     <td style="width: 75px; text-align: right; background-color: #00FF00; color: white;"><!--
       -->'''Leader'''<!--
       -->'''Leader'''<!--
     --></td>
     --></td>

Revision as of 12:33, 24 January 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  = Bleh
 | allies      = Bar, Baz
 | enemies     = The Council of Lorem Ipsum
 | exports     = foobincense, barrh
}}