Template:Infobox: Difference between revisions

From PirateCraft
No edit summary
No edit summary
 
(9 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>
     <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
     {{#if:{{{image|}}}|
     {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
        <div class="infobox-image">[[File:{{{image}}}|300px]]</div>
     {{#if:{{{uuid|}}}|<div style='text-align: center;' class="infobox-image">https://visage.surgeplay.com/full/384/{{{uuid|}}}.png</div>}}
     }}
     <table>
     <table>
     {{#if:{{{uuid|}}}|
     {{#if:{{{uuid|}}}|
         <tr>
         <tr>
             <th>UUID</th>
             <th>UUID</th>
             <td>{{{uuid}}}</td>
             <td>[https://namemc.com/profile/{{{uuid}}} {{{uuid}}}]</td>
        </tr>
    }}
    {{#if:{{{uuid|}}}|
        <tr>
            <th>Player stats</th>
            <td>[https://stats.piratemc.com/#player:{{{uuid}}} {{{title|{{PAGENAME}}}}} Stats Page]</td>
         </tr>
         </tr>
     }}
     }}
Line 27: Line 32:
             <th>Crew</th>
             <th>Crew</th>
             <td>{{{crew}}}</td>
             <td>{{{crew}}}</td>
        </tr>
    }}
    {{#if:{{{crew|}}}|
        <tr>
            <th>Settlement</th>
            <td>{{{settlement}}}</td>
         </tr>
         </tr>
     }}
     }}
Line 38: Line 49:
         <tr>
         <tr>
             <th>Punishments</th>
             <th>Punishments</th>
             <td><a href="https://bans.piratemc.com/index.php?action=viewplayer&player={{{title|{{PAGENAME}}}}}&server=0">{{{title|{{PAGENAME}}}}} Punishments</a></td>
             <td>[https://bans.piratemc.com/index.php?action=viewplayer&player={{{title|{{PAGENAME}}}}}&server=0 {{{title|{{PAGENAME}}}}} Punishments]</td>
         </tr>
         </tr>


    {{#if:{{{stats|}}}|
         <tr>
         <tr>
             <th>Stats</th>
             <th>Website Profile</th>
             <td>{{{stats}}}</td>
             <td>[https://piratemc.com/pirate/{{{title|{{PAGENAME}}}}}/ {{{title|{{PAGENAME}}}}} Website Profile]</td>
         </tr>
         </tr>
    }}


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

Latest revision as of 10:39, 5 March 2023

Infobox


Punishments Infobox Punishments
Website Profile Infobox Website Profile