Template:Magia Record Rarity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
{{#if:{{{1|}}}|1| | {{#if:{{{1|}}}|1| | ||
}}}}}}}}}} | }}}}}}}}}} | ||
|eq={{#ifeq:{{ | |eq={{#ifeq:{{#if:{{{1|}}}|1| | ||
{{#if:{{{2|}}}|2| | |||
{{#if:{{{3|}}}|3| | |||
{{#if:{{{4|}}}|4| | |||
{{#if:{{{5|}}}|5| | |||
}}}}}}}}}}|{{#if:{{{5|}}}|5| | |||
{{#if:{{{4|}}}|4| | |||
{{#if:{{{3|}}}|3| | |||
{{#if:{{{2|}}}|2| | |||
{{#if:{{{1|}}}|1| | |||
}}}}}}}}}}|1|{{{false|}}}}} | |||
|fwd={{#if:{{{1|}}}|1| | |fwd={{#if:{{{1|}}}|1| | ||
{{#if:{{{2|}}}|2| | {{#if:{{{2|}}}|2| |
Revision as of 01:31, 15 August 2023
Calculates a rarity from 1 to 5 stars based on how many non-empty parameters are passed to it. Not intended for general use but rather for building other templates.