Difference between revisions of "Template:TeamShow"

From QWiki
m
m
Line 1: Line 1:
 
<includeonly>{| class="collapsible expanded" style="width:310px; margin-right: 0.2em; margin-bottom:1em; background-color:#eee;border-radius:2px;"
 
<includeonly>{| class="collapsible expanded" style="width:310px; margin-right: 0.2em; margin-bottom:1em; background-color:#eee;border-radius:2px;"
! style="text-align:left; color:red;"{{!}} {{#if:{{{seed|}}}| {{{seed}}}}}
+
! style="text-align:left; color:red;"{{!}} {{#if:{{{seed|}}}| {{{seed|}}}}}
! style="text-align:left; font-weight:bold; color: #666; padding-left:10px;padding-right:10px; height:40px;"{{!}} {{{team|}}}
+
! style="text-align:left; font-weight:bold; color: #666; padding-left:10px;padding-right:10px; height:40px;"| {{{team|}}}
 
|- style="background-color:#f6f6f6;"
 
|- style="background-color:#f6f6f6;"
 
{{#if:{{{player1|}}}|{{!}} style="padding: 3px 0 3px 10px; border-top:1px solid #e9e9e9;" {{!}}{{player|{{{player1}}}|flag={{{flag1|}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 1}}
 
{{#if:{{{player1|}}}|{{!}} style="padding: 3px 0 3px 10px; border-top:1px solid #e9e9e9;" {{!}}{{player|{{{player1}}}|flag={{{flag1|}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 1}}

Revision as of 10:51, 24 January 2018

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:

020
Sweden raket 1
Sweden shaka 2
Sweden greco 3
Sweden rkd 4
Sweden z0det 5


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:

Suddendeath
Sweden bps 1
Sweden carapace 2
Sweden rio 3
Norway Rikoll 4


Example with only 2 players

Two Players
Russia Bulat 1
Australia Venom 2