Template:Player2

From QWiki
Revision as of 13:40, 9 January 2017 by Bps (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation (view - edit)

This template is similar to the {{Player}} template, however the race and flag icons are displayed on the right side of the player name. This is useful for player columns which are aligned to the right.

Usage

Variables and usage like the {{Player}} template.

Example

This code:

{{player2|NonY|race=|flag=us}}
{{player2|Ret|hs=race|race=|flag=nl}}
{{player2|Ihasnowikipage|hs=race|race=|flag=se}}

Returns this:

NonY United States
Ret Netherlands
Ihasnowikipage Sweden

Adapted from Liquipedia