Difference between revisions of "Template:Player infobox"

(Created page with '<includeonly><table border="1" cellpadding="4" cellspacing="0" style="margin:0 0 1em 1em; float:right; width:290px;"><!-- -->{{#if:{{{image|}}}|<!-- --><tr><td colspan="2"…')
 
(Undo revision 312 by Sunestra (Talk))
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
   --><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: #3366CC; color: white;"><!--
       -->{{{villagename}}}<!--
       -->{{{playername}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
    
    
   -->{{#if:{{{leader|}}}|<!--
   -->{{#if:{{{class|}}}|<!--
   --><tr>
   --><tr>
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
       -->'''Leader'''<!--
       -->'''Class'''<!--
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{leader}}}<!--
       -->{{{class}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
   -->|}}<!--
   -->|}}<!--


   -->{{#if:{{{patron|}}}|<!--
   -->{{#if:{{{race|}}}|<!--
   --><tr>
   --><tr>
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
       -->'''Religion'''<!--
       -->'''Race'''<!--
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{patron}}}<!--
       -->{{{race}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
   -->|}}<!--
   -->|}}<!--


   -->{{#if:{{{founder|}}}|<!--
   -->{{#if:{{{city|}}}|<!--
   --><tr>
   --><tr>
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
       -->'''Founder'''<!--
       -->'''City'''<!--
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{founder}}}<!--
       -->{{{city}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
   -->|}}<!--
   -->|}}<!--
    
    
   -->{{#if:{{{discoverer|}}}|<!--
   -->{{#if:{{{cityrank|}}}|<!--
   --><tr>
   --><tr>
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
       -->'''Discoverer'''<!--
       -->'''Cityrank'''<!--
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{discoverer}}}<!--
       -->{{{cityrank}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
   -->|}}<!--
   -->|}}<!--
    
    
   -->{{#if:{{{allies|}}}|<!--
   -->{{#if:{{{guild|}}}|<!--
   --><tr>
   --><tr>
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
       -->'''Allies'''<!--
       -->'''Guild'''<!--
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{allies}}}<!--
       -->{{{guild}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
   -->|}}<!--
   -->|}}<!--
    
    
   -->{{#if:{{{enemies|}}}|<!--
   -->{{#if:{{{guildrank|}}}|<!--
   --><tr>
   --><tr>
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
       -->'''Enemies'''<!--
       -->'''Guildrank'''<!--
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{enemies}}}<!--
       -->{{{guildrank}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
Line 81: Line 81:




   -->{{#if:{{{exports|}}}|<!--
   -->{{#if:{{{level|}}}|<!--
   --><tr>
   --><tr>
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
     <td style="width: 75px; text-align: right; background-color: #7094DB; color: white;"><!--
       -->'''Major exports'''<!--
       -->'''Level'''<!--
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{exports}}}<!--
       -->{{{level}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--
Line 109: Line 109:
  | guildrank  = Bleh
  | guildrank  = Bleh
  | level      = The Council of Lorem Ipsum
  | level      = The Council of Lorem Ipsum
| Spouse      = swedishwife
}}</pre>
}}</pre>


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

Latest revision as of 16:49, 24 January 2011



All fields except playername are optional.

Example usage:

{{Player_infobox
 | image       = ''image here''
 | playername  = Foo
 | class       = Bar
 | race        = furry
 | city        = Bob
 | cityrank    = Lord Foobarbaz of Filler Text
 | guild       = F'baar
 | guildrank   = Bleh
 | level       = The Council of Lorem Ipsum
}}