Template:Staff: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(to wikitable class, standardizing look + compatibility improvements))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:




<includeonly>{| cellpadding="2" style="float:left; width:300px; background:#e3e3e3; margin-right:2em; margin-bottom:2em; border-spacing:1px;"
<includeonly>{| class="wikitable" cellpadding="2" style="float:left; width:300px; margin-right:2em; margin-bottom:2em; border-spacing:1px;"
|-
|-
! colspan="2" | '''{{#switch: {{lc:{{{rank|}}}}} |gh=GameHost|sgh=Senior GameHost|GameMaster}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
! colspan="2" | '''{{#switch: {{lc:{{{rank|}}}}} |gh=GameHost|sgh=Senior GameHost|GameMaster}} {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
|-
|- bgcolor="#FFFFFF"
| valign="top"| Rank || align="center" | {{#if: {{{rank|}}} | {{#switch:{{{rank|}}}|-=|{{{rank}}}}} | ''Unknown''}}
| valign="top"| Rank || align="center" | {{#if: {{{rank|}}} | {{#switch:{{{rank|}}}|-=|{{{rank}}}}} | ''Unknown''}}
|-
|- bgcolor="#FFFFFF"
| valign="top"| Type || align="center" | {{#if: {{{type|}}} | {{#switch:{{{type|}}}|-=|{{{type}}}}} | ''Unknown''}}
| valign="top"| Type || align="center" | {{#if: {{{type|}}} | {{#switch:{{{type|}}}|-=|{{{type}}}}} | ''Unknown''}}
|-
|- bgcolor="#FFFFFF"
| valign="top"| Tenure || align="center" | {{#if: {{{tenure|}}} | {{#switch:{{{tenure|}}}|-=|{{{tenure}}}}} | ''Unknown''}}
| valign="top"| Tenure || align="center" | {{#if: {{{tenure|}}} | {{#switch:{{{tenure|}}}|-=|{{{tenure}}}}} | ''Unknown''}}
|}{{#if:{{{rank|}}}|{{#switch:{{lc:{{{rank|}}}}}|gh|sgh={{Cat|GameHosts}}|gm|sgm|fgm|asgm|jgm|egm={{Cat|{{{rank}}} GameMasters}}{{Cat|GameMasters}}}}|{{Cat|GameMasters}}}}{{#if:{{{type|}}}|{{#switch:{{{type|}}}|-=|{{#arraymap:{{{type}}}|,|@@@@|[[Category:@@@@ GameMasters|@@@@]]|,&nbsp;}}}}}}{{#if:{{{tenure|}}}|{{#switch:{{lc:{{{rank|}}}}}|gh|sgh={{Cat|{{{tenure}}} GameHosts}}|{{Cat|{{{tenure}}} GameMasters}}}}}}{{-}}</includeonly><noinclude>
|}{{#if:{{{rank|}}}|{{#switch:{{lc:{{{rank|}}}}}|gh|sgh={{Cat|GameHosts}}|{{Cat|{{{rank}}} GameMasters}}{{Cat|GameMasters}}}}|{{Cat|GameMasters}}}}{{#if:{{{type|}}}|{{#switch:{{{type|}}}|-=|{{#arraymap:{{{type}}}|,|@@@@|[[Category:@@@@ GameMasters|@@@@]]|,&nbsp;}}}}}}{{#if:{{{tenure|}}}|{{#switch:{{lc:{{{rank|}}}}}|gh|sgh={{Cat|{{{tenure}}} GameHosts}}|{{Cat|{{{tenure}}} GameMasters}}}}}}{{-}}</includeonly><noinclude>
==To Use==
==To Use==



Latest revision as of 01:20, 19 November 2020


To Use

{{Staff        | 
      name   = | 
      rank   = | 
      type   = | 
      tenure = | 
}}

For GameHosts list their rank as either GH or SGH and ignore the type field.

If you do not know one of the above, leave it blank.