Open main menu

mtgpq wiki β

Changes

Template:Schedule week cell

391 bytes added, 07:57, 27 March 2019
no edit summary
* The first parameter is the full name of the event.
* The second parameter is the number of columns (days) spanned by the event.
* The third parameter (optional) is further optional details necessary to unabiguously specify about the version of the eventbeing 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.
== Example ==
{|
| {{Schedule week cell|Hour of Revelation|2}}
| {{Schedule week cell|Hour of Devastation|2|Elspeth}}
| {{Schedule week cell|Trial of the Planes|1||G}}
| {{Schedule week cell|Rising Tensions|1||WU}}
|}
{|
| {{Schedule week cell|Hour of Revelation|2}}
| {{Schedule week cell|Hour of Devastation|2|Elspeth}}
| {{Schedule week cell|Trial of the Planes|1||G}}
| {{Schedule week cell|Rising Tensions|1||WU}}
|}
</noinclude><includeonly>colspan="{{{2}}}" style="padding:0px; <!--
{{#if: {{#pos:{{Event data: {{{1}}}|4}}|coalition}}|<!--border-left:solid 1px red;border-right:solid 1px red;border-top:solid 1px black;border-bottom:solid 1px black;|<!--
-->border:1px solid black; text-align:center; background-color:#<!--
-->{{#if:{{#pos:{{Event data: {{{1}}}|3}}|pvp}}|a9d08e|9bc2e6}};" | <!--
 
-->{{#if:{{{4|}}}|{{Color Icons|{{{4}}}||{{Event data: {{{1}}}|1}}|{{{1}}} ({{{4}}})}}|<!--
-->[[{{Event data: {{{1}}}|1}} | {{#if:{{{3|}}}|<span title="{{{1}}} ({{{3}}})">}}
--><small>'''''{{#ifeq:{{{2}}}|1|Coal.|Coalition}}'''<!--
-->{{#if:{{#pos:{{Event data: {{{1}}}|11}}|boss_hp}}|<!--
-->{{#switch:{{{2}}}|1=|2=|3=&nbsp;(boss)|&nbsp;(boss health)}} }}''</small>]]|<!---->{{#invoke:String|rep|&nbsp;|{{#expr:7 * {{{2}}}}}}}{{#if:{{{3|}}}|</span>}}</small>}}]]<!-- -->}}<!-- 
--></includeonly>