Template:Infobox: Difference between revisions

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


     </table>
     </table>
</div>
</div>

Revision as of 14:04, 13 November 2019

Infobox


Punishments Infobox Punishments
Stats Infobox Stats