|
|
Line 1: |
Line 1: |
− | <includeonly><!--
| + | {| class="collapsible expanded" style="width:310px; margin-right: 0.2em; margin-bottom:1em; background-color:#eee;border-radius:2px;" |
− | 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={{{flag/2|}}}}} |
− | -->{{#if:{{{hs|}}}|{{HiddenSort|{{#switch:{{lc:{{{hs}}}}}
| + | |} |
− | |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}}}}}}} </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>
| |