Template:Infobox player: Difference between revisions

From EverVoid Wiki
Jump to navigation Jump to search
(Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <table>{{#if:{...")
 
No edit summary
Line 1: Line 1:
<div class="infobox">
{{Infobox
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
|name        = Infobox/doc
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
|bodystyle    =
<table>{{#if:{{{param1|}}}|<tr>
|title        = Test Infobox
    <th>Parameter 1</th>
|titlestyle  =  
    <td>{{{param1}}}</td>
 
</tr>}}{{#if:{{{param2|}}}|<tr>
|image       = [[File:example.png|200px|alt=Example alt text]]
    <th>Parameter 2</th>
|imagestyle  =
    <td>{{{param2}}}</td>
|caption      = Caption for example.png
</tr>}}{{#if:{{{param3|}}}|<tr>
|captionstyle =
    <th>Parameter 3</th>
|headerstyle  = background:#ccf;
    <td>{{{param3}}}</td>
|labelstyle  = background:#ddf;
</tr>}}{{#if:{{{param4|}}}|<tr>
|datastyle    =
    <th>Parameter 4</th>
 
    <td>{{{param4}}}</td>
|header1 = Header defined alone
</tr>}}{{#if:{{{param5|}}}|<tr>
|label1  =
    <th>Parameter 5</th>
|data1  =
    <td>{{{param5}}}</td>
|header2 =
</tr>}}</table>
|label2  = Label defined alone does not display (needs data, or is suppressed)
</div>
|data2  =
|header3 =
|label3  =
|data3  = Data defined alone
|header4 = All three defined (header, label, data, all with same number)
|label4  = does not display (same number as a header)
|data4  = does not display (same number as a header)
|header5 =
|label5  = Label and data defined (label)
|data5  = Label and data defined (data)
 
|belowstyle = background:#ddf;
|below = Below text
}}

Revision as of 01:47, 24 February 2020