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;}}<!--
+
-->{{#if:{{{flag|}}}|<span style="white-space:nowrap;">{{flag/{{lc:{{{flag}}}}}}}&nbsp;}}</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 07:11, 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