Difference between revisions of "Template:Rarity"

From A3! Wiki
Line 1: Line 1:
 
<includeonly>{{#switch: {{{rarity|}}}
 
<includeonly>{{#switch: {{{rarity|}}}
|ssr|SSR=[[File:SSR_icon.png|x20px|link=|SSR]]
+
|ssr|SSR=[[File:SSR_icon.png|x20px|middle|link=|SSR]]
|sr|SR=[[File:SR_icon.png|x20px|link=|SR]]
+
|sr|SR=[[File:SR_icon.png|x20px|middle|link=|SR]]
|r|R=[[File:R_icon.png|x20px|link=|SR]]
+
|r|R=[[File:R_icon.png|x20px|middle|link=|SR]]
|n|N=[[File:N_icon.png|x20px|link=|N]]
+
|n|N=[[File:N_icon.png|x20px|middle|link=|N]]
 
|}}</includeonly>
 
|}}</includeonly>
  

Revision as of 23:53, 16 October 2017


Produces a rarity icon with a set height intended to fit on a line, no link. Accepts SSR, SR, R and N (upper or lower case) as attribute for rarity.

Example

{{Rarity|rarity=SSR}}

SSR


{{Rarity|rarity=SR}}

SR


{{Rarity|rarity=R}}

SR


{{Rarity|rarity=N}}

N