Template:Staff: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
(Created page with " <includeonly>{| cellpadding="2" style="float:left; width:300px; background:#e3e3e3; margin-right:2em; margin-bottom:2em; border-spacing:1px;" |- ! colspan="2" | '''{{#switch...")
 
(to wikitable class, standardizing look + compatibility improvements))
 
(15 intermediate revisions by 2 users 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|}}} | {{{rank}}} | ''Unknown''}}
| valign="top"| Rank || align="center" | {{#if: {{{rank|}}} | {{#switch:{{{rank|}}}|-=|{{{rank}}}}} | ''Unknown''}}
|-
|- bgcolor="#FFFFFF"
| valign="top"| Type || align="center" | {{#if: {{{type|}}} | {{{type}}} | ''Unknown''}}
| valign="top"| Type || align="center" | {{#if: {{{type|}}} | {{#switch:{{{type|}}}|-=|{{{type}}}}} | ''Unknown''}}
|-
|- bgcolor="#FFFFFF"
| valign="top"| Tenure || align="center" | {{#if: {{{tenure|}}} | {{{tenure}}} | ''Unknown''}}
| valign="top"| Tenure || align="center" | {{#if: {{{tenure|}}} | {{#switch:{{{tenure|}}}|-=|{{{tenure}}}}} | ''Unknown''}}
|}{{#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>
|}

{{Cat|GameMasters}}
{{#if: {{{rank |}}} | {{#switch:{{lc:{{{rank|}}}}}|gh|sgh={{Cat|GameHosts}}|[[Category:{{{rank}}} GameMasters|{{PAGENAME}}]] | }}
{{#if: {{{type |}}} | {{cat|{{#arraymap:{{{type}}}|,|@@@@|@@@@ GameMasters|,&nbsp;}}}}| }}}}
{{#if: {{{tenure |}}} | {{#switch:{{lc:{{{rank|}}}}}|gamehost={{Cat|{{{tenure}}} GameHosts}}|{{Cat|{{{tenure}}} GameMasters}}}}

{{-}}

</includeonly>

<noinclude>
==To Use==
==To Use==


Line 27: Line 16:
{{Staff |
{{Staff |
name = |
name = |
Rank = |
rank = |
Type = |
type = |
Tenure = |
tenure = |
}}
}}
</pre>
</pre>

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.{{cat|Templates}}</noinclude>
If you do not know one of the above, leave it blank.{{cat|Templates}}</noinclude>

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.