Template:Rank/EnumImage: Difference between revisions

From Phantasy Star Universe Clementine
m (template move)
(linebreak removal)
 
Line 1: Line 1:
<includeonly>
<includeonly>{{#switch: {{lc:{{{1|}}}}}
{{#switch: {{lc:{{{1|}}}}}
|0
|0
|c = {{EnumImage|image=Icon C.gif|name=C Rank|options={{{options|}}}}}
|c = {{EnumImage|image=Icon C.gif|name=C Rank|options={{{options|}}}}}

Latest revision as of 12:27, 23 March 2024

Purpose

Shortcut template for all equipment ranks.

Parameter List

{{Rank/EnumImage
|         <!-- Anonymous parameter. The desired equipment rank, case insensitive. Invalid strings will render nothing. -->
|options  <!-- The desired image options. If options aren't provided, the link to the image is disabled. -->
}}

For ranks, the valid list of strings, case insensitive, are:

C
  • c
  • 0
B
  • b
  • 1
A
  • a
  • 2
S
  • s
  • 3

For image options, a guide on syntax can be found here: [1]

Examples

0

{{Rank/EnumImage|0}}

C Rank

S, options="26px"

{{Rank/EnumImage|S|options=26px}}

S Rank