Template:Player Infobox: Difference between revisions
Content added Content deleted
(Created page with "<includeonly>{{Infobox |title={{{title|{{PAGENAME}}}}} |image={{#if:{{{image|}}}|{{{image|260px}}}}} |content= {{Infobox/Property|IGN|{{{ign|{{{title|{{PAGENAME}}}}}}}}}} {{#if:{{{pronouns|}}}|{{Infobox/Property|Pronouns|{{{pronouns}}}}}}} {{#if:{{{levels|}}}|{{Infobox/Property|Level Count|{{{levels}}}}}}} {{#if:{{{roles|}}}|{{Infobox/Property|Discord Roles|{{{roles}}}}}}} {{#if:{{{joined|}}}|{{Infobox/Property|Date Joined|{{{joined}}}}}}} }}</...") |
m (fix the return of the phantom <br /> + remember pronouns exist) |
||
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|Discord Roles|{{{roles}}}}}}}{{#if:{{{joined|}}}|{{Infobox/Property|Date Joined|{{{joined}}}}}}} |
|||
{{Infobox/Property|IGN|{{{ign|{{{title|{{PAGENAME}}}}}}}}}} |
|||
{{#if:{{{pronouns|}}}|{{Infobox/Property|Pronouns|{{{pronouns}}}}}}} |
|||
{{#if:{{{levels|}}}|{{Infobox/Property|Level Count|{{{levels}}}}}}} |
|||
{{#if:{{{roles|}}}|{{Infobox/Property|Discord Roles|{{{roles}}}}}}} |
|||
{{#if:{{{joined|}}}|{{Infobox/Property|Date Joined|{{{joined}}}}}}} |
|||
}}</includeonly><noinclude>__NOTOC__ |
}}</includeonly><noinclude>__NOTOC__ |
||
A player infobox |
A player infobox |
||
Line 19: | Line 15: | ||
|- |
|- |
||
| <code>ign</code> || Optional || In-game name. Defaults to <code>title</code>. |
| <code>ign</code> || Optional || In-game name. Defaults to <code>title</code>. |
||
|- |
|||
| <code>pronouns</code> || Optional || Pronouns. |
|||
|- |
|- |
||
| <code>levels</code> || Optional || Level Count. |
| <code>levels</code> || Optional || Level Count. |
||
Line 41: | Line 39: | ||
|title=Anton.exe |
|title=Anton.exe |
||
|image=[[File:Antonschar.png|260px]] |
|image=[[File:Antonschar.png|260px]] |
||
|pronouns=He/him |
|||
|levels=[https://grabvr.quest/levels?tab=tab_other_user&user_id=2a5s0irkwgnu8xvkctvnh 6] (2 of which verified) |
|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> |
|roles=<span style="color: #F1C40F">Tester</span><br /><span style="color: #F47FFF">Server Booster</span> |
||
|joined={{#dateformat:2022-05-29}} |
|joined={{#dateformat:2022-05-29}} |
||
}} |
}} |
||
{{clr}} |
{{clr}}</noinclude> |
||
</noinclude> |
Revision as of 21:41, 9 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 | Discord 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) |
Discord Roles | Tester Server Booster |
Date Joined | 2022-05-29 |