Difference between revisions of "Template:Player"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
Edit the page to see the template text.
 
Edit the page to see the template text.
 
</noinclude><includeonly><div id="apoc-container">
 
</noinclude><includeonly><div id="apoc-container">
<div id="player-table">
+
<div id="player-pic">{{#if: {{{playerpic|}}}|[[File:{{{playerpic}}}]]|}}</div>
{{
+
{| id="player-table"
|playerpic={{{playerpic|}}}
+
{{#if: {{{player|}}}|<nowiki/>
|player={{{player|}}}
+
!scope="row"{{!}}Player
|playerpronouns={{{playerpronouns|}}}
+
{{!}} [[:Category:{{{player}}}|{{{player}}}]]
|playeremail={{{playeremail|}}}
+
{{!}}
|mesnumber={{{mesnumber|}}}
 
|region={{{region|}}}
 
|domain={{{domain|}}}
 
|coordinatoremail={{{coordinatoremail|}}}
 
 
}}
 
}}
 +
{{#if: {{{region|}}}|<nowiki/>
 +
!scope="row"{{!}}Region
 +
{{!}} [[:Category:{{{region}}}|{{{region}}}]]
 +
{{!}}
 +
}}
 +
{{#if: {{{domain|}}}|<nowiki/>
 +
{{!}}-
 +
!scope="row"{{!}}Domain
 +
{{!}} [[:Category:{{{domain}}}|{{{domain}}}]]
 +
{{!}}
 +
}}
 +
|-
 +
! Player Email
 +
| {{:{{PAGENAME}} Player Email}}
 +
| [[{{PAGENAME}} Player Email|Click here to edit]]
 +
|-
 +
! Coordinator's Email
 +
| [mailto:{{:{{PAGENAME}} Coordinator Email}} {{:{{PAGENAME}} Coordinator Email}}]
 +
| [[{{PAGENAME}} VST Email|Click here to edit]]
 +
|}
 +
[[Category:Player]]<nowiki/>
 +
{{#if: {{{domain|}}}|[[Category:{{{domain}}}]]}}<nowiki/>
 +
</includeonly>
 +
</noinclude><includeonly><div id="apoc-container">
 
</div></div>
 
</div></div>
 
{{Apocalypse CSS}}<nowiki/></includeonly>
 
{{Apocalypse CSS}}<nowiki/></includeonly>

Revision as of 04:00, 22 January 2021

This is the "Player" template, used for player pages. It should be called in the following format:

{{Player
|playerpic=
|player=
|playerpronouns=
|playeremail=
|mesnumber=
|region=
|domain=
|coordinatoremail=
}}

Edit the page to see the template text.