Template:Rank: Difference between revisions

From RetroMC
Jump to navigation Jump to search
(Converted span to div)
Tag: Reverted
(Revision 5820 undone – this was a horrible idea)
Tag: Undo
 
Line 8: Line 8:
{{#switch: {{{1}}}
{{#switch: {{{1}}}
<!-- Playtime ranks -->
<!-- Playtime ranks -->
| wanderer = [[Ranks#Wanderer|<div style="color: {{MCColor-raw|&8}};">[</div><div style="color: {{MCColor-raw|&7}};">Wanderer</div><div style="color: {{MCColor-raw|&8}};">]</div>]]
| wanderer = [[Ranks#Wanderer|<span style="color: {{MCColor-raw|&8}};">[</span><span style="color: {{MCColor-raw|&7}};">Wanderer</span><span style="color: {{MCColor-raw|&8}};">]</span>]]
| citizen = [[Ranks#Citizen|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&a}};">Citizen</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| citizen = [[Ranks#Citizen|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&a}};">Citizen</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
| goldcitizen  
| goldcitizen  
| goldencitizen  
| goldencitizen  
| gold_citizen
| gold_citizen
| golden_citizen  
| golden_citizen  
| trusted = [[Ranks#Gold_Citizen|<div style="color: {{MCColor-raw|&6}};">[</div><div style="color: {{MCColor-raw|&a}};">Citizen</div><div style="color: {{MCColor-raw|&6}};">]</div>]]
| trusted = [[Ranks#Gold_Citizen|<span style="color: {{MCColor-raw|&6}};">[</span><span style="color: {{MCColor-raw|&a}};">Citizen</span><span style="color: {{MCColor-raw|&6}};">]</span>]]
| diamondcitizen
| diamondcitizen
| diamond_citizen = [[Ranks#Diamond_Citizen|<div style="color: {{MCColor-raw|&b}};">[</div><div style="color: {{MCColor-raw|&a}};">Citizen</div><div style="color: {{MCColor-raw|&b}};">]</div>]]
| diamond_citizen = [[Ranks#Diamond_Citizen|<span style="color: {{MCColor-raw|&b}};">[</span><span style="color: {{MCColor-raw|&a}};">Citizen</span><span style="color: {{MCColor-raw|&b}};">]</span>]]
<!-- Donator ranks -->
<!-- Donator ranks -->
| hero = [[Ranks#Hero|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&2}};">Hero</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| hero = [[Ranks#Hero|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&2}};">Hero</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
| legend = [[Ranks#Legend|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&9}};">Legend</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| legend = [[Ranks#Legend|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&9}};">Legend</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
| mystic = [[Ranks#Mystic|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&b}};">Mystic</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| mystic = [[Ranks#Mystic|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&b}};">Mystic</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
| donator = [[Ranks#Donator(+,_++)|<div style="color: {{MCColor-raw|&8}};">[</div><div style="color: {{MCColor-raw|&c}};">Donator</div><div style="color: {{MCColor-raw|&8}};">]</div>]]
| donator = [[Ranks#Donator(+,_++)|<span style="color: {{MCColor-raw|&8}};">[</span><span style="color: {{MCColor-raw|&c}};">Donator</span><span style="color: {{MCColor-raw|&8}};">]</span>]]
| donator+  
| donator+  
| donatorplus = [[Ranks#Donator(+,_++)|<div style="color: {{MCColor-raw|&8}};">[</div><div style="color: {{MCColor-raw|&c}};">Donator</div><div style="color: {{MCColor-raw|&4}};">+</div><div style="color: {{MCColor-raw|&8}};">]</div>]]
| donatorplus = [[Ranks#Donator(+,_++)|<span style="color: {{MCColor-raw|&8}};">[</span><span style="color: {{MCColor-raw|&c}};">Donator</span><span style="color: {{MCColor-raw|&4}};">+</span><span style="color: {{MCColor-raw|&8}};">]</span>]]
| donator++
| donator++
| donatorplus+
| donatorplus+
| donator+plus
| donator+plus
| donatorplusplus = [[Ranks#Donator(+,_++)|<div style="color: {{MCColor-raw|&8}};">[</div><div style="color: {{MCColor-raw|&c}};">Donator</div><div style="color: {{MCColor-raw|&4}};">++</div><div style="color: {{MCColor-raw|&8}};">]</div>]]
| donatorplusplus = [[Ranks#Donator(+,_++)|<span style="color: {{MCColor-raw|&8}};">[</span><span style="color: {{MCColor-raw|&c}};">Donator</span><span style="color: {{MCColor-raw|&4}};">++</span><span style="color: {{MCColor-raw|&8}};">]</span>]]
<!-- Staff ranks -->
<!-- Staff ranks -->
| trial
| trial
| trialhelper
| trialhelper
| trial_helper = [[Ranks#Trial_Helper|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&a}};">Trial Helper</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| trial_helper = [[Ranks#Trial_Helper|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&a}};">Trial Helper</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
| helper = [[Ranks#Helper|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&3}};">Helper</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| helper = [[Ranks#Helper|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&3}};">Helper</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
| mod
| mod
| moderator = [[Ranks#Moderator|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&6}};">Moderator</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| moderator = [[Ranks#Moderator|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&6}};">Moderator</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
| administrator
| administrator
| admin = [[Ranks#Admin|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&4}};">Admin</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| admin = [[Ranks#Admin|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&4}};">Admin</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
| dev
| dev
| developer = [[Ranks#Developer|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&c}};">Developer</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| developer = [[Ranks#Developer|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&c}};">Developer</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
| infrastructure = [[Ranks#Infrastructure|<div style="color: {{MCColor-raw|&f}};">[</div><div style="color: {{MCColor-raw|&6}};">Infrastructure</div><div style="color: {{MCColor-raw|&f}};">]</div>]]
| infrastructure = [[Ranks#Infrastructure|<span style="color: {{MCColor-raw|&f}};">[</span><span style="color: {{MCColor-raw|&6}};">Infrastructure</span><span style="color: {{MCColor-raw|&f}};">]</span>]]
}}
}}

Latest revision as of 21:33, 21 August 2024

This provides the rank format as seen in-game, with a link to the corresponding one on the Ranks page – invoke this via:

{{rank|<rankname>}}

where <rankname> is self explanatory.
{{rank|wanderer}} outputs [Wanderer].

⚠️ Warning: Only lowercase rank names are accepted as 16.png Noggisoggi didn't, doesn't and will not want to spend over 9000 hours adding every permuation of rank names in terms of capitalisation.