Difference between revisions of "Template:Village infobox"

From AchaeaWiki
Jump to navigation Jump to search
m (fixed preformatting)
(trial run)
Line 76: Line 76:
     <td><!--
     <td><!--
       -->{{{enemies}}}<!--
       -->{{{enemies}}}<!--
    --></td>
  </tr><!--
  -->|}}<!--
  -->{{#if:{{{exports|}}}|<!--
  --><tr>
    <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
      -->'''Major exports'''<!--
    --></td>
    <td><!--
      -->{{{exports}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
Line 96: Line 108:
  | allies      = Bar, Baz
  | allies      = Bar, Baz
  | enemies    = The Commune of Lorem Ipsum
  | enemies    = The Commune of Lorem Ipsum
| exports    = foobincense, barrh
}}</pre>
}}</pre>


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

Revision as of 16:49, 6 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  = Delphinus (who else?)
 | allies      = Bar, Baz
 | enemies     = The Commune of Lorem Ipsum
 | exports     = foobincense, barrh
}}