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"…') |
|||
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;"><!-- | ||
Line 53: | Line 53: | ||
--></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;"><!-- | ||
Line 87: | Line 87: | ||
--></td> | --></td> | ||
<td><!-- | <td><!-- | ||
-->{{{ | -->{{{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 }}