Difference between revisions of "Template:Player3"

From QWiki
m
m
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><!--
+
{| colspan="2"
Starting with checking if the hidden sort variable is set if so it'll go into a switch to output the right variable as hidden.
+
!{{player|{{{1}}}|Flag={{{2}}}|{{{3}}}}}
-->{{#if:{{{hs|}}}|{{HiddenSort|{{#switch:{{lc:{{{hs}}}}}
+
!{{#if:{{{3|}}}|{{{3|{{{3}}}}}}|{{abbr|TBD|To Be Decided}}}}
    |name = <p style="background-color:#f6f6f6;">{{{1|}}}
+
|}
    |flag = {{{flag/}}}
 
    |{{{hs}}}}}}}}}<!--
 
 
 
Checking to see if flag variable is set and if so using an image link to display it.
 
-->{{#if:{{{flag|}}}|<span style="white-space:nowrap;">{{flag/{{lc:{{{flag}}}}}}}&nbsp;</span>}}<!--
 
 
 
Checking if there is a link= variable. If there is use it, if not load the correct link from the player link list.
 
-->{{#if:{{{link|}}}|
 
{{#switch: {{{link}}}
 
|false={{{1}}}
 
|true=[[{{{1}}}]]
 
|[[{{{link}}}|{{{1}}}]]}}
 
|{{#if:{{{1|TBD}}}|[[{{{1|TBD}}}]]|{{abbr|TBD|To Be Decided}}}}}}<!--
 
--></includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
 

Latest revision as of 08:54, 21 September 2018

TBD [[{{{1}}}]] TBD