Difference between revisions of "Template:TeamShow"
From QWiki
m |
m |
||
Line 6: | Line 6: | ||
{{#if:{{{player2|}}}|{{!}} style="padding: 3px 0 3px 10px;" {{!}}{{player|{{{player2}}}|flag={{{flag2|}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 2}} | {{#if:{{{player2|}}}|{{!}} style="padding: 3px 0 3px 10px;" {{!}}{{player|{{{player2}}}|flag={{{flag2|}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 2}} | ||
|- style="background-color:#f6f6f6;" | |- style="background-color:#f6f6f6;" | ||
− | {{#if:{{{player3|}}}|{{!}} style="padding: 3px 0 3px 10px;" {{!}}{{player|{{{player3}}}|flag={{{flag3|}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 3}} | + | {{#if:{{{player3|}}}|{{!}} style="padding: 3px 0 3px 10px;" {{!}}{{player|{{{player3}}}|flag={{{flag3|}}}|link={{{link3}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 3}} |
|- | |- | ||
{{#if:{{{player4|}}}|{{!}} style="padding: 3px 0 3px 10px;" {{!}}{{player|{{{player4}}}|flag={{{flag4|}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 4}} | {{#if:{{{player4|}}}|{{!}} style="padding: 3px 0 3px 10px;" {{!}}{{player|{{{player4}}}|flag={{{flag4|}}}}}{{!}}{{!}}style="text-align:right;padding-right:25px;color:#ddd" {{!}} 4}} |
Revision as of 20:04, 16 December 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 | |
---|---|
raket | 1 |
shaka | 2 |
[[{{{link3}}}|greco]] | 3 |
rkd | 4 |
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 | |
---|---|
bps | 1 |
carapace | 2 |
[[{{{link3}}}|rio]] | 3 |
Rikoll | 4 |
Example with only 2 players
Two Players | |
---|---|
Bulat | 1 |
Venom | 2 |