Difference between revisions of "Template:Match"
From QWiki
m (Tweaked margin to next item when stacked) |
m (Adding info parameter) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| style="width:100%;border: 1px solid #DEDACF;margin-bottom:-1px;" | + | <includeonly>{{#if: {{{info|}}} | <div style="width:100%;text-align: center;margin-bottom:-14px;"><span style="background-color:#f0eee6;color:#444;border-radius:2px;border:1px solid #dedacf;vertical-align:text-top;padding-bottom:1px;font-size:75%;"> {{{info}}} </span></div> | }} |
+ | {| style="width:100%;border: 1px solid #DEDACF;margin-bottom:-1px;" | ||
| style="width:48%;height:24px;padding: 0.5em 0 0.5em 0.8em;" |{{player|{{{1|}}}|flag={{{2|}}}}} | | style="width:48%;height:24px;padding: 0.5em 0 0.5em 0.8em;" |{{player|{{{1|}}}|flag={{{2|}}}}} | ||
| style="width:4%;font-size:75%;" |vs. | | style="width:4%;font-size:75%;" |vs. |
Latest revision as of 07:18, 6 April 2021
Documentation (view - edit)
Used to put an upcoming match in the spotlight on the startpage.
This particular template displays only 1 playername/teamname.
- For a version with player/teamname + an array of players, see {{MatchAbbr}}.
- For a version with 2 individual players with a common flag, see {{Match2on2}}.
Example
The code:
{{match|Mutilator|se|Rock|fi|date=20 February 2022 20:00|event=Duelmania Worldwide 2|info=Grudge Match|stream=hemostick}}
gives us: