Difference between revisions of "Template:Village infobox"

From AchaeaWiki
Jump to navigation Jump to search
Line 103: Line 103:
   </tr><!--
   </tr><!--
   -->|}}<!--
   -->|}}<!--
  -->{{#if:{{{portcapacity|}}}|<!--
  --><tr>
    <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
      -->'''Port capacity'''<!--
    --></td>
    <td><!--
      -->{{{portcapacity}}}<!--
    --></td>
  </tr><!--
  -->|}}<!--
  -->{{#if:{{{seamark|}}}|<!--
  --><tr>
    <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
      -->'''Sea Mark'''<!--
    --></td>
    <td><!--
      -->{{{seamark}}}<!--
    --></td>
  </tr><!--
  -->|}}<!--


--></table></includeonly>
--></table></includeonly>
Line 112: Line 135:
Example usage:
Example usage:
<pre>{{Village_infobox
<pre>{{Village_infobox
  | image       = ''image here''
  | image       = ''image here''
  | villagename = Foo
  | villagename = Foo
  | leader     = Bob
  | leader       = Bob
  | patron     = Lord Foobarbaz of Filler Text
  | patron       = Lord Foobarbaz of Filler Text
  | founder     = F'baar
  | founder     = F'baar
  | discoverer = Delphinus (who else?)
  | discoverer   = Delphinus (who else?)
  | allies     = Bar, Baz
  | allies       = Bar, Baz
  | enemies     = The Commune of Lorem Ipsum
  | enemies     = The Commune of Lorem Ipsum
  | exports     = foobincense, barrh
| porttype    = Man made
| porttype    = Man made
| portcapacity = ∞
| seamark      = FooBarian
  | exports     = foobincense, barrh
 
}}</pre>
}}</pre>


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

Revision as of 07:22, 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
 | portcapacity = ∞
 | seamark      = FooBarian
 | exports      = foobincense, barrh

}}