Difference between revisions of "Template:Player infobox"
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"…') |
|||
(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;"><!-- | ||
-->{{{ | -->{{{playername}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
-->{{#if:{{{ | -->{{#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;"><!-- | ||
-->''' | -->'''Class'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{class}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
-->{{#if:{{{ | -->{{#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;"><!-- | ||
-->''' | -->'''Race'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{race}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
-->{{#if:{{{ | -->{{#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;"><!-- | ||
-->''' | -->'''City'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{city}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
-->{{#if:{{{ | -->{{#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;"><!-- | ||
-->''' | -->'''Cityrank'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{cityrank}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
-->{{#if:{{{ | -->{{#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;"><!-- | ||
-->''' | -->'''Guild'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{guild}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
-->|}}<!-- | -->|}}<!-- | ||
-->{{#if:{{{ | -->{{#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;"><!-- | ||
-->''' | -->'''Guildrank'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{guildrank}}}<!-- | ||
--></td> | --></td> | ||
</tr><!-- | </tr><!-- | ||
Line 81: | Line 81: | ||
-->{{#if:{{{ | -->{{#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;"><!-- | ||
-->''' | -->'''Level'''<!-- | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{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 | ||
}}</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 }}