Template:Player Infobox: Difference between revisions

Content deleted Content added
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|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|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 || Discord roles.
| <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.