Template:CardSetLegality: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
No edit summary
Chesto (talk | contribs)
No edit summary
Line 1: Line 1:
<onlyinclude>
<onlyinclude>
{{#switch:{{{type|constructed}}}
{{#switch:{{{type|constructed}}}
|constructed={{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} <= {{SetsInfo|type=currentwave}} and {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} >= {{#expr:{{SetsInfo|type=currentwave}}-2}} | Legal  
|constructed={{#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}} | Not released yet  
| {{#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}} | Not legal | Indeterminate }} }} }}
|  {{#ifexpr: {{SetsInfo|type=mostrecentreprint|pagename={{{page|{{PAGENAME}}}}}}} < {{#expr:{{SetsInfo|type=currentwave}}-2}} | <span style="background:#FFC7CE;">Not legal</span> | Indeterminate }} }} }}
|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.

Revision as of 17:24, 18 August 2026

Not legal


This page: Not legal (0)

Mute Button: Not legal (1)

101 Textbook: Legal (4)

  • Current wave: 4
  • This page's most recent main set reprint is in Set 0.


Legal


Legal


TEST