Difference between revisions of "Template:Player infobox"

From ImperianWiki
Jump to navigation Jump to search
(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"…')
 
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;"><!--
Line 53: Line 53:
     --></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;"><!--
Line 87: Line 87:
     --></td>
     --></td>
     <td><!--
     <td><!--
       -->{{{exports}}}<!--
       -->{{{level}}}<!--
     --></td>
     --></td>
   </tr><!--
   </tr><!--

Revision as of 15:52, 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
 | Spouse      = swedishwife
}}