Template:Infobox player: Difference between revisions

From EverVoid Wiki
Jump to navigation Jump to search
No edit summary
m (Added Player INfobox)
 
(32 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox
<includeonly>
|name        = Infobox/doc
<table class="rsw-infobox plainlinks no-parenthesis-style" cellpadding="0" cellspacing="0">
|bodystyle    =  
<tr>
|title        = Test Infobox
<td class="infobox-image bordered-image" colspan="2">[[File:{{{image}}}|224x300px]]
|titlestyle  =  
</td></tr>
 
<tr>
|image       = [[File:example.png|200px|alt=Example alt text]]
<th class="infobox-header" colspan="2">{{{title|{{PAGENAME}}}}}
|imagestyle  =
</th></tr>
|caption      = Caption for example.png
{{#if:{{{Rank|}}}|<tr>
|captionstyle =
    <th>Rank</th>
|headerstyle  = background:#ccf;
    <td>{{{Rank}}}</td>
|labelstyle  = background:#ddf;
</tr>}}{{#if:{{{Discord|}}}|<tr>
|datastyle    =
    <th>Discord</th>
 
    <td>{{{Discord}}}</td>
|header1 = Header defined alone
</tr>}}{{#if:{{{Clan|}}}|<tr>
|label1  =
    <th>Clan</th>
|data1  =
    <td>{{{Clan}}}</td>
|header2 =
</tr>}}{{#if:{{{Status|}}}|<tr>
|label2  = Label defined alone does not display (needs data, or is suppressed)
    <th>Status</th>
|data2  =
    <td>{{{Status}}}</td>
|header3 =
</tr>}}{{#if:{{{Join date|}}}|<tr>
|label3  =
    <th>Join date</th>
|data3  = Data defined alone
    <td>{{{Join date}}}</td>
|header4 = All three defined (header, label, data, all with same number)
</tr>}}</table>
|label4  = does not display (same number as a header)
</includeonly>
|data4  = does not display (same number as a header)
<noinclude>
|header5 =
To view the Player Infobox documentation and learn how to use it [[Template:Infobox player/doc|Click Here]]
|label5  = Label and data defined (label)
</noinclude>
|data5  = Label and data defined (data)
 
|belowstyle = background:#ddf;
|below = Below text
}}

Latest revision as of 05:25, 22 October 2020


To view the Player Infobox documentation and learn how to use it Click Here