Open main menu

mtgpq wiki β

Changes

Template:Set-Details

2,055 bytes added, 14:52, 8 August 2018
Created page with "<noinclude>Shorthand for creating a table with set details for a given Set. Parameters are: * <code><nowiki>{{{title}}}</nowiki></code>: The set's name (e.g. Dominaria) * <co..."
<noinclude>Shorthand for creating a table with set details for a given Set.

Parameters are:
* <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>{{{icon}}}</nowiki></code>: The set's icon (e.g. Dominaria_Expansion_Symbol)
* <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 verion
* <code><nowiki>{{{mechanics}}}</nowiki></code>: Comma separated list of mechanics (e.g. "Saga, Historic, Leader")
* <code><nowiki>{{{abbr}}}</nowiki></code>: The abbreviation used for the set (e.g. AKH for Amonkhet)

== Example ==
This shorthand
<pre><nowiki>
{{Set-Details
|title = Dominaria
|abbr = DOM
|icon = Dominaria_Expansion_Symbol
|date = May 2018
|version = 2.7
|notes = https://forums.d3go.com/discussion/72742/2-7-release-notes-updated-5-23-18
|Set mechanics:
}}</nowiki></pre>

Produces:
{{Set-Details
|title = Dominaria
|abbr = DOM
|icon = Dominaria_Expansion_Symbol
|date = May 2018
|version = 2.7
|notes = https://forums.d3go.com/discussion/72742/2-7-release-notes-updated-5-23-18
|Set mechanics:
}}
</noinclude><includeonly>
=={{{title}}}==
{| class="wikitable"
|-
|Set code||{{{abbr}}}
|-
|Set icon||[[File:{{{icon}}}.png|24px|{{{title}}} icon]]
|-
|Set introduced:||{{{date}}} (version {{{version}}})
|-
|Release notes:||{{{notes}}}
|-
|Set mechanics:||TODO
|-
|Total cards:||[https://mtgpq.info/cards/search?sets=13 211]
|-
|Masterpiece:||[https://mtgpq.info/cards/search?rarities=1&sets=13 10]
|-
|Mythic:||[https://mtgpq.info/cards/search?rarities=2&sets=13 29]
|-
|Rare:||[https://mtgpq.info/cards/search?rarities=3&sets=13 48]
|-
|Uncommon:||[https://mtgpq.info/cards/search?rarities=4&sets=13 64]
|-
|Common:||[https://mtgpq.info/cards/search?rarities=5&sets=13 60]
|}</includeonly>