Difference between revisions of "Template:Historic status chart TCG row"

From Yugipedia
Jump to: navigation, search
(update per the OCG template)
(change Forbidden color per {{Status color}})
 
Line 60: Line 60:
 
{{ #vardefine: $var-status | {{{October 2019|{{ #var: $var-status | {{ #ifexpr: {{ #var: $release }} < 1571011200<!-- {{ #time: U | October 14, 2019 }} --> | {{ #vardefineecho: $var-status | Unlimited }} }} }}}}} }}{{ #var: $var-status | Did not exist }}
 
{{ #vardefine: $var-status | {{{October 2019|{{ #var: $var-status | {{ #ifexpr: {{ #var: $release }} < 1571011200<!-- {{ #time: U | October 14, 2019 }} --> | {{ #vardefineecho: $var-status | Unlimited }} }} }}}}} }}{{ #var: $var-status | Did not exist }}
 
| /\n/ }}! scope="row" | "[[{{ #replace: {{{1}}} | # }}|{{{2|{{{1}}}}}}]]"{{ #arrayprint: @statuses || $status | <nowiki/>
 
| /\n/ }}! scope="row" | "[[{{ #replace: {{{1}}} | # }}|{{{2|{{{1}}}}}}]]"{{ #arrayprint: @statuses || $status | <nowiki/>
{{!}} style="background-color: #{{ #switch: $status | Did not exist = ddd | Unlimited = 9f9 | Semi-Limited = ff9 | Limited = fc6 | Forbidden = f66 | Illegal = c0c0c0 }}" title="$status" {{!}} <noinclude>&nbsp;</noinclude>
+
{{!}} style="background-color: #{{ #switch: $status | Did not exist = ddd | Unlimited = 9f9 | Semi-Limited = ff9 | Limited = fc6 | Forbidden = f88 | Illegal = c0c0c0 }}" title="$status" {{!}} <noinclude>&nbsp;</noinclude>
 
}}
 
}}
 
|-<noinclude>
 
|-<noinclude>
 
|}{{Documentation}}</noinclude>
 
|}{{Documentation}}</noinclude>

Latest revision as of 07:49, 4 January 2020