7,180
edits
Changes
Created page with "<noinclude> ==Template usage== The only parameter is the three-letter expansion set abbreviation. The card set data is pulled from the associated data template. ==Example==..."
<noinclude>
==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:
<pre>
{{Infobox set|GRN}}
</pre>
Produces:
{{Infobox set|GRN}}
[[Category:Infobox templates]]
</noinclude><includeonly>{{Infobox
| abovestyle = {{Infobox sec|above}}
| headerstyle = {{Infobox sec|header}}
| labelstyle = {{Infobox sec|label|width=33%}}
| above = {{Card set data: {{{1}}}|1}} {{#if:{{Card set data: {{{1}}}|2}}|({{Card set data: {{{1}}}|2}})}}
| image = [[File:{{{1}}}_Symbol.png|x80px]]
| label1 = {{#if:{{Card set data: {{{1}}}|4}}|Released}}
| data1 = {{#if:{{Card set data: {{{1}}}|4}}|'''{{Card set data: {{{1}}}|4}}''' }}{{#if:{{Card set data: {{{1}}}|5}}|(version {{Card set data: {{{1}}}|5}})}}{{#if:{{Card set data: {{{1}}}|6}}|<br><small>[{{Card set data: {{{1}}}|6}} Release notes]</small>}}
| label2 = {{#if:{{Card set data: {{{1}}}|7}}|Set mechanics}}
| data2 = {{#if:{{Card set data: {{{1}}}|7}}|{{#replace:{{Card set data: {{{1}}}|7}}|,|<br>}}}}
| label3 = {{#if:{{Card set data: {{{1}}}|8}}|Cards}}
| data3 = {{#if:{{Card set data: {{{1}}}|8}}|'''{{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}}}}
| belowstyle = background:#ddf;
| below = '''[[Portal:Cards]]''' <small>([[Template:Infobox set|Infobox]] '''·''' [[Template:Card set data: {{{1}}}|Data]])</small>
}}</includeonly>
==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:
<pre>
{{Infobox set|GRN}}
</pre>
Produces:
{{Infobox set|GRN}}
[[Category:Infobox templates]]
</noinclude><includeonly>{{Infobox
| abovestyle = {{Infobox sec|above}}
| headerstyle = {{Infobox sec|header}}
| labelstyle = {{Infobox sec|label|width=33%}}
| above = {{Card set data: {{{1}}}|1}} {{#if:{{Card set data: {{{1}}}|2}}|({{Card set data: {{{1}}}|2}})}}
| image = [[File:{{{1}}}_Symbol.png|x80px]]
| label1 = {{#if:{{Card set data: {{{1}}}|4}}|Released}}
| data1 = {{#if:{{Card set data: {{{1}}}|4}}|'''{{Card set data: {{{1}}}|4}}''' }}{{#if:{{Card set data: {{{1}}}|5}}|(version {{Card set data: {{{1}}}|5}})}}{{#if:{{Card set data: {{{1}}}|6}}|<br><small>[{{Card set data: {{{1}}}|6}} Release notes]</small>}}
| label2 = {{#if:{{Card set data: {{{1}}}|7}}|Set mechanics}}
| data2 = {{#if:{{Card set data: {{{1}}}|7}}|{{#replace:{{Card set data: {{{1}}}|7}}|,|<br>}}}}
| label3 = {{#if:{{Card set data: {{{1}}}|8}}|Cards}}
| data3 = {{#if:{{Card set data: {{{1}}}|8}}|'''{{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}}}}
| belowstyle = background:#ddf;
| below = '''[[Portal:Cards]]''' <small>([[Template:Infobox set|Infobox]] '''·''' [[Template:Card set data: {{{1}}}|Data]])</small>
}}</includeonly>