Difference between revisions of "Template:Team"
From QWiki
(Created page with "<includeonly><!-- 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. -->{{#if:{{{hs|}}}|{{HiddenSor...") |
m |
||
Line 8: | Line 8: | ||
Checking to see if flag variable is set and if so using an image link to display it. | Checking to see if flag variable is set and if so using an image link to display it. | ||
− | -->{{#if:{{{flag|}}}|{{flag/{{lc:{{{flag}}}}}}} }}<!-- | + | -->{{#if:{{{flag|}}}|<span style="white-space:nowrap;">{{flag/{{lc:{{{flag}}}}}}} }}<span><!-- |
Checking if race is entered, if so using the RaceIconSmall template. | Checking if race is entered, if so using the RaceIconSmall template. |
Revision as of 05:33, 3 May 2017
Documentation (view - edit)
Same as {{player}}, just other name.
Example
This code:
{{team|Orkney Clan|flag=se}} {{team|Ihasnowikipage|flag=us|link=false}}
Returns this:
- Orkney Clan
- Ihasnolink