Template:Infobox: Difference between revisions

From PirateCraft
No edit summary
No edit summary
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
    <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
    {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{param1|}}}|<tr>
    {{#if:{{{uuid|}}}|<div style='text-align: center;' class="infobox-image">https://visage.surgeplay.com/full/384/{{{uuid|}}}.png</div>}}
    <th>Parameter 1</th>
    <table>
    <td>{{{param1}}}</td>
    {{#if:{{{uuid|}}}|
</tr>}}{{#if:{{{param2|}}}|<tr>
        <tr>
    <th>Parameter 2</th>
            <th>UUID</th>
    <td>{{{param2}}}</td>
            <td>[https://namemc.com/profile/{{{uuid}}} {{{uuid}}}]</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
        </tr>
    <th>Parameter 3</th>
    }}
    <td>{{{param3}}}</td>
    {{#if:{{{joined|}}}|
</tr>}}{{#if:{{{param4|}}}|<tr>
        <tr>
    <th>Parameter 4</th>
            <th>Joined</th>
    <td>{{{param4}}}</td>
            <td>{{{joined}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
        </tr>
     <th>Parameter 5</th>
    }}
    <td>{{{param5}}}</td>
    {{#if:{{{rank|}}}|
</tr>}}</table>
        <tr>
            <th>Rank</th>
            <td>{{{rank}}}</td>
        </tr>
    }}
    {{#if:{{{crew|}}}|
        <tr>
            <th>Crew</th>
            <td>{{{crew}}}</td>
        </tr>
    }}
    {{#if:{{{history|}}}|
        <tr>
            <th>History</th>
            <td>{{{history}}}</td>
        </tr>
     }}
 
        <tr>
            <th>Punishments</th>
            <td>[https://bans.piratemc.com/index.php?action=viewplayer&player={{{title|{{PAGENAME}}}}}&server=0 {{{title|{{PAGENAME}}}}} Punishments]</td>
        </tr>
 
        <tr>
            <th>Stats</th>
            <td>[https://piratemc.com/pirate/{{{title|{{PAGENAME}}}}}/ {{{title|{{PAGENAME}}}}} Stats]</td>
        </tr>
 
    </table>
</div>
</div>

Revision as of 14:04, 13 November 2019

Infobox


Punishments Infobox Punishments
Stats Infobox Stats