Template:Color rank

From Tales of Maj'Eyal
Revision as of 13:48, 26 October 2021 by Myncknm (Talk | contribs) (automatically fill in rank name if no text is provided)

Jump to: navigation, search



Usage: {{color rank|<rank>|<text>}}

Examples (and test cases):

Wiki code Output
{{color rank|critter|I am a critter.}} I am a critter.
{{color rank|normal|I am normal.}} I am normal.
{{color rank|elite|I am elite.}} I am elite.
{{color rank|rare|I am rare.}} I am rare.
{{color rank|unique|I am unique.}} I am unique.
{{color rank|boss|I am a boss.}} I am a boss.
{{color rank|elite boss|I am an elite boss.}} I am an elite boss.
{{color rank|god|I am a god.}} I am a god.
{{color rank|godslayer|I am a godslayer.}} I am a godslayer.
Wiki code Output
{{color rank|1|I am a critter.}} I am a critter.
{{color rank|2|I am normal.}} I am normal.
{{color rank|3|I am elite.}} I am elite.
{{color rank|3.2|I am rare.}} I am rare.
{{color rank|3.5|I am unique.}} I am unique.
{{color rank|4|I am a boss.}} I am a boss.
{{color rank|5|I am an elite boss.}} I am an elite boss.
{{color rank|10|I am a god.}} I am a god.
{{color rank|11|I am a godslayer.}} I am a godslayer.
Wiki code Output
{{color rank|1}} critter
{{color rank|2}} normal
{{color rank|3}} elite
{{color rank|3.2}} rare
{{color rank|3.5}} unique
{{color rank|4}} boss
{{color rank|5}} elite boss
{{color rank|10}} god
{{color rank|11}} godslayer
Wiki code Output
{{color rank|critter}} critter
{{color rank|normal}} normal
{{color rank|elite}} elite
{{color rank|rare}} rare
{{color rank|unique}} unique
{{color rank|boss}} boss
{{color rank|elite boss}} elite boss
{{color rank|god}} god
{{color rank|godslayer}} godslayer