Permanently protected template

Difference between revisions of "Template:Star properties"

From Yugipedia
Jump to: navigation, search
(tablesorter correctly sorts columns with mixed numeric/nonnumeric values, so this should no longer be necessary)
(top: Restoring revision 4493217 by User:Dinoguy1000 on 2020-05-09 02:12:00. sort-of rv: only add Property:[Level/Rank/Stars] when the card has a numeric value)
(Tag: New user edit)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{ #vardefine: $star-label | {{ #var: $level-rank | {{ #if: {{{label|}}} | {{{label}}} | Level }} }}
+
{{ #vardefine: $star-label | {{ #if: {{{label|}}} | {{{label}}} | {{ #var: $level-rank | Level }} }}
}}{{ #vardefine: $star-stars | {{ #var: $stars | {{ #if: {{{1|}}} | {{{1}}} | ??? }} }}
+
}}{{ #vardefine: $star-stars | {{ #if: {{{1|}}} | {{{1}}} | {{ #var: $stars | ??? }} }}
}}{{ #iferror: {{ #expr: {{ #var: $star-stars }} }}
+
}}{{ #iferror: {{ #expr: {{ #var: $star-stars }} }} || [[{{ #var: $star-label }}::{{ #var: $star-stars }}| ]][[Stars::{{ #var: $star-stars }}| ]]
| [[?{{ #var: $star-label }}::{{ #var: $star-stars }}| ]][[{{ #var: $star-label }} string::{{ #var: $star-stars }}| ]][[?Stars::{{ #var: $star-stars }}| ]][[Stars string::{{ #var: $star-stars }}| ]]
+
}}[[{{ #var: $star-label }} string::{{ #var: $star-stars }}| ]][[Stars string::{{ #var: $star-stars }}| ]]<noinclude>{{documentation}}</noinclude>
| [[{{ #var: $star-label }}::{{ #var: $star-stars }}| ]][[{{ #var: $star-label }} string::{{ #var: $star-stars }}| ]][[Stars::{{ #var: $star-stars }}| ]][[Stars string::{{ #var: $star-stars }}| ]]
 
}}<noinclude>{{documentation}}</noinclude>
 

Latest revision as of 22:46, 17 March 2023