Difference between revisions of "Template:Village infobox"

From AchaeaWiki
Jump to navigation Jump to search
(lets see how it goes...)
m
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly><table border="1" cellpadding="4" cellspacing="0" style="margin:0 0 1em 1em; float:right; width:290px;"><!--
<table border="1" cellpadding="4" cellspacing="0" style="margin:0 0 1em 1em; float:right; width:290px;"><!--
    
    
   -->{{#if:{{{image|}}}|<!--
   -->{{#if:{{{image|}}}|<!--
Line 21: Line 20:
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{villagename}}}<!--
       -->{{{leader}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
Line 81: Line 80:
   -->|}}<!--
   -->|}}<!--


--></table>
-->{{#if:{{{seamark|}}}|<!--
</includeonly>
  --><tr>
    <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
      -->'''Sea mark'''<!--
    --></td>
    <td><!--
      -->{{{seamark}}}<!--
    --></td>
  </tr><!--
  -->|}}<!--
 
 
  -->{{#if:{{{porttype|}}}|<!--
  --><tr>
    <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
      -->'''Port type'''<!--
    --></td>
    <td><!--
      -->{{{porttype}}}<!--
    --></td>
  </tr><!--
  -->|}}<!--
 
  -->{{#if:{{{portsize|}}}|<!--
  --><tr>
    <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
      -->'''Port size'''<!--
    --></td>
    <td><!--
      -->{{{portsize}}}<!--
    --></td>
  </tr><!--
  -->|}}<!--
 
 
  -->{{#if:{{{exports|}}}|<!--
  --><tr>
    <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
      -->'''Exports'''<!--
    --></td>
    <td><!--
      -->{{{exports}}}<!--
    --></td>
  </tr><!--
  -->|}}<!--
 
 
--></table></includeonly>
<noinclude>
<noinclude>
{{Village_infobox
----
|image=http://i14.photobucket.com/albums/a315/DelphinusW/Zanzibaar.jpg
 
|villagename=Zanzibaar
All fields except '''villagename''' are optional.
|leader=[[Djulsan]], King of Zanzibaar
 
|discoverer=Delphinus Windancer, Jaizsur Ta'sa, Tiax Drac'Kal, Kaise Le'rac, Kriby, Misty Ta'sa, and Istiria Aristata
Example usage:
}}
<pre>{{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
 
}}</pre>
 
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 21:12, 20 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

}}