Difference between revisions of "Template:Star properties"
Dinoguy1000 (talk | contribs) (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 | + | {{ #vardefine: $star-label | {{ #if: {{{label|}}} | {{{label}}} | {{ #var: $level-rank | Level }} }} |
− | }}{{ #vardefine: $star- | + | }}{{ #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 }} string::{{ #var: $star-stars }}| ]][[Stars string::{{ #var: $star-stars }}| ]]<noinclude>{{documentation}}</noinclude> |
− | |||
− |