Difference between revisions of "Template:MatchAbbr"
From QWiki
(Alternate styled match sibling template) |
m (Changed styling to a more boxed format) |
||
Line 1: | Line 1: | ||
− | <includeonly>{| style="width: | + | <includeonly>{| style="width:100%;border: 1px solid #DEDACF;" |
− | | style="width:48%;height:24px;" |{{TeamAbbr|{{{1|}}}|flag={{{2|}}}|{{{3|}}}|rows={{{rows|1}}}}} | + | | style="width:48%;height:24px;padding: 0.5em 0 0 0.8em;" |{{TeamAbbr|{{{1|}}}|flag={{{2|}}}|{{{3|}}}|rows={{{rows|1}}}}} |
| style="width:4%;font-size:75%;" |vs. | | style="width:4%;font-size:75%;" |vs. | ||
− | | style="width:48%;text-align:right;" |{{TeamAbbr|{{{4|}}}|flag={{{5|}}}|{{{6|}}}|rows={{{rows|1}}}}} | + | | style="width:48%;text-align:right;padding: 0.5em 0.5em 0 0.8em;" |{{TeamAbbr|{{{4|}}}|flag={{{5|}}}|{{{6|}}}|rows={{{rows|1}}}}} |
− | |- style="vertical-align:middle; font-size:11px; height:16px; margin-top:3px;border-top:1px solid #DEDACF;" | + | |- style="vertical-align:middle; font-size:11px; height:16px; margin-top:3px;border-top:1px solid #DEDACF;background-color:#F0EEE6;" |
{{#vardefine:timezone|{{#explode:{{#explode:{{{date|}}}|data-tz="|1}}|"|0}}}} | {{#vardefine:timezone|{{#explode:{{#explode:{{{date|}}}|data-tz="|1}}|"|0}}}} | ||
− | | style="width:50%; white-space:nowrap;" | {{#if:{{{date|}}}|<div class=""><span class="datetime" style="visibility:hidden;font-size: 1px;">{{{date}}}</span><span class="countdown" style="float:left;"></span> {{#ifeq:{{{finished|}}}|true|{{{date}}}|{{#if:{{{stream|}}}|<span class="twitchlink" style="float:left;margin-left:5px;color:#6745A6;white-space:nowrap;">→ [http://twitch.tv/{{{stream|}}} {{{stream|}}}]{{#if:{{{stream2|}}}|<span class="twitchlink" style="color:#6745A6;white-space:nowrap;">, [http://twitch.tv/{{{stream2|}}} {{{stream2|}}}]</span>|}}</span>|}}}}</div>}} | + | | style="width:50%; white-space:nowrap;padding: 0.5em 0.5em 0.5em 0.8em;" | {{#if:{{{date|}}}|<div class=""><span class="datetime" style="visibility:hidden;font-size: 1px;">{{{date}}}</span><span class="countdown" style="float:left;"></span> {{#ifeq:{{{finished|}}}|true|{{{date}}}|{{#if:{{{stream|}}}|<span class="twitchlink" style="float:left;margin-left:5px;color:#6745A6;white-space:nowrap;">→ [http://twitch.tv/{{{stream|}}} {{{stream|}}}]{{#if:{{{stream2|}}}|<span class="twitchlink" style="color:#6745A6;white-space:nowrap;">, [http://twitch.tv/{{{stream2|}}} {{{stream2|}}}]</span>|}}</span>|}}}}</div>}} |
− | | colspan="2" style="width:50%;text-align:right;overflow:hidden; text-overflow:ellipsis; max-width: 170px; vertical-align:middle; white-space:nowrap; font-size:11px; height:16px; margin-top:3px;" | {{#if:{{{event|}}}|[[{{{event|}}}]]|}} | + | | colspan="2" style="width:50%;text-align:right;overflow:hidden; text-overflow:ellipsis; max-width: 170px; vertical-align:middle; white-space:nowrap; font-size:11px; height:16px; margin-top:3px;padding-right:0.8em" | {{#if:{{{event|}}}|[[{{{event|}}}]]|}} |
|} </includeonly><noinclude>[[Category:Templates]]</noinclude> | |} </includeonly><noinclude>[[Category:Templates]]</noinclude> |