Changes

Jump to: navigation, search

Template:Schedule week cell

1,038 bytes added, 00:27, 12 April 2019
no edit summary
* The third parameter (optional) is further optional details about the version of the event being run. For example, for a HoD event, this might contain "Elspeth" to distinguish it from Bolas HoD.
* The fourth parameter (optional) is a color string. For example, for an RT event, this might contain "WU" to indicate it's the Azorius version of the event.
* The fifth parameter (optional) is a starting time in UTC. For example, "16:00". 
== Example ==
{|
| {{Schedule week cell|Hour of Revelation|2}}
| {{Schedule week cell|Hour of Devastation|2|Elspeth||13:00}}
| {{Schedule week cell|Trial of the Planes|1||G}}
| {{Schedule week cell|Rising Tensions|1||WU|16:00}}
|}
{|
| {{Schedule week cell|Hour of Revelation|2}}
| {{Schedule week cell|Hour of Devastation|2|Elspeth||13:00}}
| {{Schedule week cell|Trial of the Planes|1||G}}
| {{Schedule week cell|Rising Tensions|1||WU|16:00}}
|}
-->border:1px solid black; text-align:center; background-color:#<!--
-->{{#if:{{#pos:{{Event data: {{{1}}}|3}}|pvp}}|a9d08e|9bc2e6}};" | <!-- BG color depends on event type -->{{#if:{{{4|}}}|<!-- IF colors are given THEN display content, link, and tooltip via Color Icons template  -->{{Color Icons|<!-- -->{{{4}}}|<!-- Letter(s) specifying color(s) -->14|<!-- Size -->{{Event data: {{{1}}}|1}}|<!-- Link -->{{Trim|{{{1}}}}} ({{Color expand|{{{4}}}}}){{#if:{{{5|}}}|&nbsp;· Start: {{{5}}} UTC}}|<!-- Tooltip -->sep=<!-- No spacing -->}}<!--
-->{{#if:{{{4|}}}|{{Color Icons|{{{4}}}|14|{{Event data: {{{1}}}|1}}|{{Trim|{{{1}}}}} ({{Color expand|{{{4}}}}})|sep=}}|<!-- OTHERWISE display content and link via [[link]] and tooltip via <span>
-->[[<!-- -->{{Event data: {{{1}}}|1}} | <!-- Link target -->{{#if:{{{3|}}}|<span title="{{{1}}} ({{{3}}}){{#if:{{{5|}}}|&#10;Start: {{{5}}} UTC}}">}}<!-- Tooltip -->{{#if: {{#pos:{{Event data: {{{1}}}|4}}|coalition}}|<!-- Cell content; non blank if coalition event --><small>''<!-- -->'''{{#ifeq:{{{2}}}|1|Coal.|Coalition}}'''<!-- Indicate coalition event -->{{#if:{{#pos:{{Event data: {{{1}}}|11}}|boss_hp}}|<!--Indicate boss health event -->{{#switch:{{{2}}}|1=|2=|3=&nbsp;(boss)|&nbsp;(boss health)}} <!-- -->}}<!-- -->''</small><!-- -->|<!-- Otherwise: blank cell -->{{#invoke:String|rep|&nbsp;|{{#expr:7 * {{{2}}}}}}}<!-- Use space characters -->}}<!-- -->{{#if:{{{3|}}}|</span>}}</small!-- Close span tag -->}}]]<!--
-->}}<!--
 
--></includeonly>

Navigation menu