Difference between revisions of "Template:Match2on2"
From QWiki
m (Fixing correct border and margins) |
m (Tweaked margin to next Spotlight item when stacked) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| style="width:100%;border: 1px solid #DEDACF;" | + | <includeonly>{| style="width:100%;border: 1px solid #DEDACF;margin-bottom:-1px;" |
| style="width:48%;height:24px;padding: 0.5em 0 0.5em 0.8em;color:#337ab7;" |{{#if:{{{1|}}}|<span style="white-space:nowrap;">{{flag/{{lc:{{{1}}}}}}} </span>|<span style="white-space:nowrap;">{{flag/tbd}} </span>}}[[{{{2|}}}]] & [[{{{3|}}}]] | | style="width:48%;height:24px;padding: 0.5em 0 0.5em 0.8em;color:#337ab7;" |{{#if:{{{1|}}}|<span style="white-space:nowrap;">{{flag/{{lc:{{{1}}}}}}} </span>|<span style="white-space:nowrap;">{{flag/tbd}} </span>}}[[{{{2|}}}]] & [[{{{3|}}}]] | ||
| style="width:4%;font-size:75%;" |vs. | | style="width:4%;font-size:75%;" |vs. |
Revision as of 07:40, 26 February 2021
Documentation (view - edit)
Used to put an upcoming match in the spotlight on the startpage.
This particular template displays 2 individual players with a common flag.
- For a version with player/teamname + an array of players, see {{MatchAbbr}}.
- For a version with only playername/teamname, see {{Match}}.
Example
The code:
{{match2on2|fi|fifi|fix|pl|insane|avenger|date=25 February 2022 20:00|event=Money for nothin and gibs for free|stream=Link}}
gives us: