Difference between revisions of "Template:Team"

From QWiki
m
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|}}}|<span style="white-space:nowrap;">{{flag/{{lc:{{{flag}}}}}}}&nbsp;}}<span><!--
+
-->{{#if:{{{flag|}}}|<span style="white-space:nowrap;">{{flag/{{lc:{{{flag}}}}}}}&nbsp;}}<!--
  
 
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 06:00, 8 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:

Sweden Orkney Clan
United States Ihasnolink