Template:CardSetLegality: Difference between revisions

From Little Troubles
Chesto (talk | contribs)
No edit summary
Chesto (talk | contribs)
No edit summary
 
(5 intermediate revisions by the same user not shown)
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}}}}}}} = 0 | Indeterminate | {{#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.
Line 9: Line 8:
And all PGAs to not legal in online -->
And all PGAs to not legal in online -->
<noinclude>
<noinclude>
* Current wave: {{SetsInfo|type=currentwave}}
Arguments are:
*<code>type=constructed</code> (default if empty): Constructed status (by set, most recent main set reprint, between {{SetsInfo|type=currentwave}} and {{#expr:{{SetsInfo|type=currentwave}}-2}} is legal. Earlier is not. Later isn't out yet. Storyteller-exclusive also caught.
*<code>type=storyteller</code>: In progress.
*<code>page</code>: Name of page (default is current page)


*This page: {{CardSetLegality}} ({{SetsInfo|type=mostrecentreprint|pagename={{PAGENAME}}}})
*[[Mute Button]]: {{CardSetLegality|page=Mute Button}} ({{SetsInfo|type=mostrecentreprint|pagename=Mute Button}})
*[[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}})


This page: {{CardSetLegality}} ({{SetsInfo|type=mostrecentreprint|pagename={{PAGENAME}}}})
[[Mute Button]]: {{CardSetLegality|page=Mute Button}} ({{SetsInfo|type=mostrecentreprint|pagename=Mute Button}})
[[101 Textbook]]: {{CardSetLegality|page=101 Textbook}} ({{SetsInfo|type=mostrecentreprint|pagename=101 Textbook}})
* Current wave: {{SetsInfo|type=currentwave}}
* This page's most recent main set reprint is in Set {{SetsInfo|type=mostrecentreprint}}.</noinclude>
* This page's most recent main set reprint is in Set {{SetsInfo|type=mostrecentreprint}}.</noinclude>


{{CardSetLegality|page=101 Textbook}}
*{{CardSetLegality|page=101 Textbook}}
 
*{{CardSetLegality|page=101 Textbook|type=constructed}}
{{CardSetLegality|page=101 Textbook|type=constructed}}
*{{CardSetLegality|page=101 Textbook|type=storyteller}}
 
{{CardSetLegality|page=101 Textbook|type=storyteller}}

Latest revision as of 17:47, 18 August 2026

Indeterminate

  • Current wave: 4

Arguments are:

  • type=constructed (default if empty): Constructed status (by set, most recent main set reprint, between 4 and 2 is legal. Earlier is not. Later isn't out yet. Storyteller-exclusive also caught.
  • type=storyteller: In progress.
  • page: Name of page (default is current page)
  • This page's most recent main set reprint is in Set 0.
  • Legal
  • Legal
  • TEST