Difference between revisions of "Template:Star properties"
Dinoguy1000 (talk | contribs) m (Dinoguy1000 moved page Template:Level Rank properties to Template:Star properties: shorter) |
(→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) |
||
(8 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{ # | + | {{ #vardefine: $star-label | {{ #if: {{{label|}}} | {{{label}}} | {{ #var: $level-rank | Level }} }} |
− | | | + | }}{{ #vardefine: $star-stars | {{ #if: {{{1|}}} | {{{1}}} | {{ #var: $stars | ??? }} }} |
− | | [[{{ #var: $ | + | }}{{ #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> |