Difference between revisions of "Template:Infobox set"
Line 38: | Line 38: | ||
| label3 = {{#if:{{Card set data: {{{1}}}|8}}|Cards}} | | label3 = {{#if:{{Card set data: {{{1}}}|8}}|Cards}} | ||
| data3 = {{#if:{{Card set data: {{{1}}}|8}}|'''[https://mtgpq.info/cards/search?sets={{Card set data: {{{1}}}|3}} {{Card set data: {{{1}}}|8}}]'''}} | | data3 = {{#if:{{Card set data: {{{1}}}|8}}|'''[https://mtgpq.info/cards/search?sets={{Card set data: {{{1}}}|3}} {{Card set data: {{{1}}}|8}}]'''}} | ||
− | | data4 = {{Card rarity counts|set={{Card set data: {{{1}}}|3}}|c={{Card set data: {{{1}}}|9}}|u={{Card set data: {{{1}}}|10}}|r={{Card set data: {{{1}}}|11}}|m={{Card set data: {{{1}}}|12}}|mp={{Card set data: {{{1}}}|13}}}} | + | | data4 = <!-- |
+ | -->{{#if:{{Card set data: {{{1}}}|14}}|{{Creatures}}[https://mtgpq.info/cards/search?sets={{Card set data: {{{1}}}|3}}&types=1 {{Card set data: {{{1}}}|14}}]}}<!-- | ||
+ | -->{{#if:{{Card set data: {{{1}}}|15}}| '''·''' {{Spells}}[https://mtgpq.info/cards/search?sets={{Card set data: {{{1}}}|3}}&types=2 {{Card set data: {{{1}}}|15}}]}}<!-- | ||
+ | -->{{#if:{{Card set data: {{{1}}}|16}}| '''·''' {{Supports}}[https://mtgpq.info/cards/search?sets={{Card set data: {{{1}}}|3}}&types=3 {{Card set data: {{{1}}}|16}}]}} | ||
+ | | data5 = {{Card rarity counts|set={{Card set data: {{{1}}}|3}}|c={{Card set data: {{{1}}}|9}}|u={{Card set data: {{{1}}}|10}}|r={{Card set data: {{{1}}}|11}}|m={{Card set data: {{{1}}}|12}}|mp={{Card set data: {{{1}}}|13}}}} | ||
| belowstyle = background:#ddf; | | belowstyle = background:#ddf; | ||
| below = '''[[Portal:Cards]]''' <small>([[Template:Infobox set|Infobox]] '''·''' [[Template:Card set data: {{{1}}}|Data]])</small> | | below = '''[[Portal:Cards]]''' <small>([[Template:Infobox set|Infobox]] '''·''' [[Template:Card set data: {{{1}}}|Data]])</small> | ||
}}</includeonly> | }}</includeonly> |
Revision as of 11:51, 24 February 2019
Template usage
The only parameter is the three-letter expansion set abbreviation. The card set data is pulled from the associated data template.
Example
This shorthand:
{{Infobox set|GRN}}
Produces:
Guilds of Ravnica (GRN) | |
---|---|
Released |
Nov 2018 (version 3.0) Release notes |
Format | Legacy |
ZVE ← GRN → RNA Sep 2018 Nov 2018 Mar 2019 | |
Set mechanics |
Convoke Jump-start Mentor Surveil Undergrowth |
Cards | 200 |
100 · 63 · 37 | |
60 · 55 · 40 · 35 · 10 | |
Portal:Cards (Infobox · Data) |