Difference between revisions of "Template:Rarity"

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

Revision as of 23:51, 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