Template:Infobox: Difference between revisions

From PirateCraft
No edit summary
No edit summary
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="navbox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{param1|}}}|<tr>
<table>
    <th>UUID</th>
{{#if:{{{param1|}}}|
    <td>{{{param1}}}</td>
    <tr>
</tr>}}{{#if:{{{param2|}}}|<tr>
        <th>UUID</th>
    <th>Joined</th>
        <td>{{{param1}}}</td>
    <td>{{{param2}}}</td>
    </tr>
</tr>}}{{#if:{{{param3|}}}|<tr>
}}
    <th>Crew</th>
{{#if:{{{param2|}}}|
    <td>{{{param3}}}</td>
    <tr>
</tr>}}{{#if:{{{param4|}}}|<tr>
        <th>Joined</th>
    <th>Rank</th>
        <td>{{{param2}}}</td>
    <td>{{{param4}}}</td>
    </tr>
</tr>}}{{#if:{{{param5|}}}|<tr>
}}
    <th>Position</th>
{{#if:{{{param3|}}}|
    <td>{{{param5}}}</td>
    <tr>
</tr>}}
        <th>Rank</th>
</tr>}}{{#if:{{{param6|}}}|<tr>
        <td>{{{param3}}}</td>
    <th>History</th>
    </tr>
    <td>{{{param6}}}</td>
}}
</tr>}}
{{#if:{{{param4|}}}|
</tr>}}{{#if:{{{param7|}}}|<tr>
    <tr>
    <th>Stats</th>
        <th>Crew</th>
    <td>{{{param7}}}</td>
        <td>{{{param4}}}</td>
</tr>}}
    </tr>
</tr>}}{{#if:{{{param8|}}}|<tr>
}}
    <th>Punishments</th>
{{#if:{{{param5|}}}|
    <td>{{{param8}}}</td>
    <tr>
</tr>}}
        <th>History</th>
        <td>{{{param5}}}</td>
    </tr>
}}
{{#if:{{{param6|}}}|
    <tr>
        <th>Punishments</th>
        <td>{{{param6}}}</td>
    </tr>
}}
{{#if:{{{param7|}}}|
    <tr>
        <th>Stats</th>
        <td>{{{param7}}}</td>
    </tr>
}}
 
</table>
</table>
</div>
</div>

Revision as of 11:55, 13 November 2019