Difference between revisions of "Template:Player"

From Modern Enigma Society 2020 Wiki
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
|domain=
 
|domain=
 
|coordinatoremail=
 
|coordinatoremail=
 +
|mesresume=
 +
|hobbies=
 +
|kudos=
 
}}
 
}}
 
</pre>
 
</pre>
 
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-pic">{{#if: {{{playerpic|}}}|[[File:{{{playerpic}}}]]|}}</div>
+
<div id="player-pic">{{#if: {{{playerpic|}}}|[[File:{{{playerpic}}}|200px]]|}}</div>
 
{| id="player-table"
 
{| id="player-table"
 
{{#if: {{{player|}}}|<nowiki/>
 
{{#if: {{{player|}}}|<nowiki/>
Line 34: Line 37:
 
{{!}}
 
{{!}}
 
}}
 
}}
 +
|-
 +
! Player Pronouns
 +
| {{{playerpronouns}}}
 +
|-
 +
! Membership Number
 +
| {{{mesnumber}}}
 
|-
 
|-
 
! Player Email
 
! Player Email
| [[:mailto:{{{playeremail|}}}|{{{playeremail|}}}]]
+
| {{{playeremail}}}
 
|-
 
|-
 
! Coordinator's Email
 
! Coordinator's Email
| [[mailto:{{:{{{coordinatoremail}}}|{{{coordinatoremail}}}]]
+
| {{{coordinatoremail}}}
 
|}
 
|}
 +
<div id="pc-furtherinfo" class="clearfix">
 +
<span id="pc-furtherinfo-heading" class="my-h2">Further Information</span>
 +
{{#if: {{{furtherinfopic|}}}|<div id="pc-furtherinfo-pic">[[File:{{{furtherinfopic}}}|300px]]</div>}}{{#if:{{{desc|}}}|<div id="pc-desc"><span id="pc-desc-title" class="my-h3">Description</span>
 +
{{{desc}}}
 +
</div>}}<nowiki/>
 +
{{#if:{{{mesresume|}}}|<div id="mes-resume"><span id="mes-resume" class="my-h3">MES Resume</span>
 +
{{{mesresume}}}
 +
</div>}}<nowiki/>
 +
{{#if:{{{hobbies|}}}|<div id="hobbies"><span id="pc-bio-title" class="my-h3">Hobbies and Interests</span>
 +
{{{hobbies}}}
 +
</div>}}<nowiki/>
 +
<div id="kudos"><span id="kudos" class="my-h3">Kudos</span>
 +
{{#if: {{{kudos|}}}|{{{kudos}}}<br>}}<nowiki/>
 +
{{#ifexist: {{PAGENAME}} Kudos|{{:{{PAGENAME}} Kudos}}<br>}}<nowiki/>
 +
{{#formlink:form=Add Kudos|target={{PAGENAME}} Kudos|popup|reload|link text=Edit Kudos: Add your own!}}
 +
</div>
 
[[Category:Player]]<nowiki/>
 
[[Category:Player]]<nowiki/>
 
{{#if: {{{domain|}}}|[[Category:{{{domain}}}]]}}<nowiki/>
 
{{#if: {{{domain|}}}|[[Category:{{{domain}}}]]}}<nowiki/>

Latest revision as of 05:57, 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=
|mesresume=
|hobbies=
|kudos=
}}

Edit the page to see the template text.