Open main menu

mtgpq wiki β

Changes

Template:Set-Details

1,431 bytes added, 11:35, 11 August 2018
no edit summary
Parameters are:
* <code><nowiki>{{{id}}}</nowiki></code>: The set's ID on mtgpq.info (e.g. 13)
* <code><nowiki>{{{title}}}</nowiki></code>: The set's name (e.g. Dominaria)
* <code><nowiki>{{{abbr}}}</nowiki></code>: The abbreviation used for the set (e.g. DOM for Dominaria)
* <code><nowiki>{{{date}}}</nowiki></code>: The month/year the set was released (e.g. May 2018)
* <code><nowiki>{{{version}}}</nowiki></code>: The version of the app the set released in (e.g. 2.7 for DOM)
* <code><nowiki>{{{notes}}}</nowiki></code>: Release notes for the verionversion
* <code><nowiki>{{{mechanics}}}</nowiki></code>: Comma separated list of mechanics (e.g. "Saga, Historic, Leader")
* <code><nowiki>{{{abbrcards_total}}}</nowiki></code>: The abbreviation used for total number of cards in the set (e.g. AKH for Amonkhet211)* <code><nowiki>{{{cards_mp}}}</nowiki></code>: The number of masterpiece cards in the set (e.g. 10)* <code><nowiki>{{{cards_m}}}</nowiki></code>: The number of mythic cards in the set (e.g. 29)* <code><nowiki>{{{cards_r}}}</nowiki></code>: The number of rare cards in the set (e.g. 48)* <code><nowiki>{{{cards_u}}}</nowiki></code>: The number of uncommon cards in the set (e.g. 64)* <code><nowiki>{{{cards_c}}}</nowiki></code>: The number of common cards in the set (e.g. 60)
== Example ==
<pre><nowiki>
{{Set-Details
|id = 13
|title = Dominaria
|abbr = DOM
|version = 2.7
|notes = https://forums.d3go.com/discussion/72742/2-7-release-notes-updated-5-23-18
|Set mechanics: = Saga, Historic, Leader|cards_total = 211|cards_mp = 10|cards_m = 29|cards_r = 48|cards_u = 64|cards_c = 60
}}</nowiki></pre>
Produces:
{{Set-Details
|id = 13
|title = Dominaria
|abbr = DOM
|version = 2.7
|notes = https://forums.d3go.com/discussion/72742/2-7-release-notes-updated-5-23-18
|Set mechanics: = Saga, Historic, Leader|cards_total = 211|cards_mp = 10|cards_m = 29|cards_r = 48|cards_u = 64|cards_c = 60
}}
</noinclude><includeonly>
 
=={{{title}}}==
{| class="wikitable"
|Release notes:||{{{notes}}}
|-
|Set mechanics:||TODO{{#ifeq: {{#explode:{{{mechanics}}}|,|0}} | "None" | "None" |* [[{{#explode:{{{mechanics}}}|,|0}}]]{{#if: {{#explode:{{{mechanics}}}|,|1}} | * [[{{#explode:{{{mechanics}}}|,|1}}]] | }}{{#if: {{#explode:{{{mechanics}}}|,|2}} | * [[{{#explode:{{{mechanics}}}|,|2}}]] | }}{{#if: {{#explode:{{{mechanics}}}|,|3}} | * [[{{#explode:{{{mechanics}}}|,|3}}]] | }}{{#if: {{#explode:{{{mechanics}}}|,|4}} | * [[{{#explode:{{{mechanics}}}|,|4}}]] | }}{{#if: {{#explode:{{{mechanics}}}|,|5}} | * [[{{#explode:{{{mechanics}}}|,|5}}]] | }}}}
|-
|Total cards:||[https://mtgpq.info/cards/search?sets=13 211{{{id}}} {{{cards_total}}}]
|-
|Masterpiece:||[https://mtgpq.info/cards/search?rarities=1&sets=13 10{{{id}}} {{{cards_mp}}}]
|-
|Mythic:||[https://mtgpq.info/cards/search?rarities=2&sets=13 29{{{id}}} {{{cards_m}}}]
|-
|Rare:||[https://mtgpq.info/cards/search?rarities=3&sets=13 48{{{id}}} {{{cards_r}}}]
|-
|Uncommon:||[https://mtgpq.info/cards/search?rarities=4&sets=13 64{{{id}}} {{{cards_u}}}]
|-
|Common:||[https://mtgpq.info/cards/search?rarities=5&sets=13 60{{{id}}} {{{cards_c}}}]
|}</includeonly>