Template:Player Infobox: Difference between revisions
Content added Content deleted
m (fix the return of the phantom <br /> + remember pronouns exist) |
m (rename "Discord Roles" to "Roles") |
||
Line 3: | Line 3: | ||
|image={{#if:{{{image|}}}|{{{image|[[File:Example image.svg|260px]]}}}}} |
|image={{#if:{{{image|}}}|{{{image|[[File:Example image.svg|260px]]}}}}} |
||
|content= |
|content= |
||
{{Infobox/Property|IGN|{{{ign|{{{title|{{PAGENAME}}}}}}}}}}{{#if:{{{pronouns|}}}|{{Infobox/Property|Pronouns|{{{pronouns}}}}}}}{{#if:{{{levels|}}}|{{Infobox/Property|Level Count|{{{levels}}}}}}}{{#if:{{{roles|}}}|{{Infobox/Property| |
{{Infobox/Property|IGN|{{{ign|{{{title|{{PAGENAME}}}}}}}}}}{{#if:{{{pronouns|}}}|{{Infobox/Property|Pronouns|{{{pronouns}}}}}}}{{#if:{{{levels|}}}|{{Infobox/Property|Level Count|{{{levels}}}}}}}{{#if:{{{roles|}}}|{{Infobox/Property|Roles|{{{roles}}}}}}}{{#if:{{{joined|}}}|{{Infobox/Property|Date Joined|{{{joined}}}}}}} |
||
}}</includeonly><noinclude>__NOTOC__ |
}}</includeonly><noinclude>__NOTOC__ |
||
A player infobox |
A player infobox |
||
Line 20: | Line 20: | ||
| <code>levels</code> || Optional || Level Count. |
| <code>levels</code> || Optional || Level Count. |
||
|- |
|- |
||
| <code>roles</code> || Optional || |
| <code>roles</code> || Optional || Roles. |
||
|- |
|- |
||
| <code>joined</code> || Optional || Date joined. use of <nowiki>{{#dateformat}}</nowiki> recommended. |
| <code>joined</code> || Optional || Date joined. use of <nowiki>{{#dateformat}}</nowiki> recommended. |
Revision as of 18:53, 10 October 2023
A player infobox
Parameters
title |
Optional | The title field on the top of the infobox. Defaults to the page name. |
image |
Optional | The embedded image. (Recommended size: 260px) |
ign |
Optional | In-game name. Defaults to title .
|
pronouns |
Optional | Pronouns. |
levels |
Optional | Level Count. |
roles |
Optional | Roles. |
joined |
Optional | Date joined. use of {{#dateformat}} recommended. |
Examples
Markup
{{Player Infobox |title=Anton.exe |image=[[File:Antonschar.png|260px]] |levels=[https://grabvr.quest/levels?tab=tab_other_user&user_id=2a5s0irkwgnu8xvkctvnh 6] (2 of which verified) |roles=<span style="color: #F1C40F">Tester</span><br /><span style="color: #F47FFF">Server Booster</span> |joined={{#dateformat:2022-05-29}} }}
Output
Anton.exe | |
---|---|
![]() | |
IGN | Anton.exe |
Pronouns | He/him |
Level Count | 6 (2 of which verified) |
Roles | Tester Server Booster |
Date Joined | 2022-05-29 |