Jump to content

Template:Infobox: Difference between revisions

1,009 bytes added ,  13 November 2019
no edit summary
en>Primefac
(Undid revision 855063393 by Jdlrobson (talk) rather problematic change mentioned on talk page, reverting until it can be sorted)
 
No edit summary
(18 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:{{{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:{{{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>