Difference between revisions of "Template:TeamShow"

From QWiki
m
m (Added Category:Templates for correct categorization)
Line 22: Line 22:
 
{{#if:{{{player10|}}}|{{!}} style="padding: 3px 0 3px 10px;" {{!}}{{player|{{{player10}}}|flag={{{flag10|}}}|link={{{link10|}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 10}}
 
{{#if:{{{player10|}}}|{{!}} style="padding: 3px 0 3px 10px;" {{!}}{{player|{{{player10}}}|flag={{{flag10|}}}|link={{{link10|}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 10}}
 
|}
 
|}
</includeonly><noinclude>{{Documentation}}</noinclude>
+
</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>

Revision as of 08:36, 9 November 2020

Documentation (view - edit)

|player1=
Name for player 1.
|flag1=
Flag for player1.

Supports up to 10 players.

Example

This code:

{{Team4on4|team=020|teamflag=se|player1=raket|flag1=se|player2=shaka|flag2=se|player3=greco|flag3=se|player4=rkd|flag4=se|player5=z0det|flag5=se}}

Returns this:


Example with abbreviation

This code:

{{Team4on4|team={{abbr|Suddendeath|SD }}|teamflag=se|player1=bps|flag1=se|player2=carapace|flag2=se|player3=rio|flag3=se|player4=Rikoll|flag4=no}}

Returns this:


Example with only 2 players