Template:Infobox: Difference between revisions

From PirateCraft
en>Primefac
(Undid revision 855063393 by Jdlrobson (talk) rather problematic change mentioned on talk page, reverting until it can be sorted)
 
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
<div class="infobox">
{{documentation}}
    <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
    {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
</noinclude>
    {{#if:{{{uuid|}}}|<div style='text-align: center;' class="infobox-image">https://visage.surgeplay.com/full/384/{{{uuid|}}}.png</div>}}
    <table>
    {{#if:{{{uuid|}}}|
        <tr>
            <th>UUID</th>
            <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>
    }}
    {{#if:{{{joined|}}}|
        <tr>
            <th>Joined</th>
            <td>{{{joined}}}</td>
        </tr>
    }}
    {{#if:{{{rank|}}}|
        <tr>
            <th>Rank</th>
            <td>{{{rank}}}</td>
        </tr>
    }}
    {{#if:{{{crew|}}}|
        <tr>
            <th>Crew</th>
            <td>{{{crew}}}</td>
        </tr>
    }}
    {{#if:{{{crew|}}}|
        <tr>
            <th>Settlement</th>
            <td>{{{settlement}}}</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>Website Profile</th>
            <td>[https://piratemc.com/pirate/{{{title|{{PAGENAME}}}}}/ {{{title|{{PAGENAME}}}}} Website Profile]</td>
        </tr>
 
    </table>
</div>

Latest revision as of 10:39, 5 March 2023

Infobox


Punishments Infobox Punishments
Website Profile Infobox Website Profile