Template:CardSetLegality: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude>{{#switch:{{{type|constructed}}} | ||
{{#switch:{{{type|constructed}}} | |||
|constructed={{#ifcategory:Storyteller-Exclusive Cards|<span style="background:#FFEB9C">Storyteller-exclusive</span>|{{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} <= {{SetsInfo|type=currentwave}} and {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} >= {{#expr:{{SetsInfo|type=currentwave}}-2}} | <span style="background:#C6EFCE;">Legal</span> | |constructed={{#ifcategory:Storyteller-Exclusive Cards|<span style="background:#FFEB9C">Storyteller-exclusive</span>|{{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} <= {{SetsInfo|type=currentwave}} and {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} >= {{#expr:{{SetsInfo|type=currentwave}}-2}} | <span style="background:#C6EFCE;">Legal</span> | ||
| {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} > {{SetsInfo|type=currentwave}} | <span style="background:#D9D9D9;">Not released yet</span> | | {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} > {{SetsInfo|type=currentwave}} | <span style="background:#D9D9D9;">Not released yet</span> | ||
| {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} < {{#expr:{{SetsInfo|type=currentwave}}-2}} | <span style="background:#FFC7CE;">Not legal</span> | Indeterminate }} }} }} }} | | {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} < {{#expr:{{SetsInfo|type=currentwave}}-2}} | <span style="background:#FFC7CE;">Not legal</span> | Indeterminate }} }} }} |{{{page|{{PAGENAME}}}}}}} | ||
|storyteller=TEST}}</onlyinclude> | |storyteller=TEST}}</onlyinclude> | ||
<!-- need to add override function to set to Legal/Not legal manually. | <!-- need to add override function to set to Legal/Not legal manually. | ||
Also need to set any "Storyteller-exclusive cards" to not legal for constructed | Also need to set any "Storyteller-exclusive cards" to not legal for constructed | ||
And all PGAs to not legal in online --> | And all PGAs to not legal in online --> | ||
<noinclude> | <noinclude>*This page: {{CardSetLegality}} ({{SetsInfo|type=mostrecentreprint|pagename={{PAGENAME}}}}) | ||
*This page: {{CardSetLegality}} ({{SetsInfo|type=mostrecentreprint|pagename={{PAGENAME}}}}) | |||
*[[Mute Button]]: {{CardSetLegality|page=Mute Button}} ({{SetsInfo|type=mostrecentreprint|pagename=Mute Button}}) | *[[Mute Button]]: {{CardSetLegality|page=Mute Button}} ({{SetsInfo|type=mostrecentreprint|pagename=Mute Button}}) | ||
*[[101 Textbook]]: {{CardSetLegality|page=101 Textbook}} ({{SetsInfo|type=mostrecentreprint|pagename=101 Textbook}}) | *[[101 Textbook]]: {{CardSetLegality|page=101 Textbook}} ({{SetsInfo|type=mostrecentreprint|pagename=101 Textbook}}) | ||
*[[Don't Get Caught]]: {{CardSetLegality|page=Don't Get Caught}} ({{SetsInfo|type=mostrecentreprint|pagename= | *[[Don't Get Caught]]: {{CardSetLegality|page=Don't Get Caught}} ({{SetsInfo|type=mostrecentreprint|pagename=Don't Get Caught}}) | ||
* Current wave: {{SetsInfo|type=currentwave}} | * Current wave: {{SetsInfo|type=currentwave}} | ||
Revision as of 17:35, 18 August 2026
Not legal
- This page: Not legal (0)
- Mute Button: Not legal (1)
- 101 Textbook: Legal (4)
- Don't Get Caught: Storyteller-exclusive (4)
- Current wave: 4
- This page's most recent main set reprint is in Set 0.
Legal
Legal
TEST