Template:Rank/EnumImage

From Phantasy Star Universe Clementine
Revision as of 18:32, 21 December 2023 by Mika (talk | contribs) (Created page with "<includeonly>{{#switch: {{lc:{{{1|}}}}} |0 |c = {{EnumImage|image=Icon C.gif|name=C Rank|options={{{options|}}}}} |1 |b = {{EnumImage|image=Icon B.gif|name=B Rank|options={{{o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Purpose

Shortcut template for all equipment ranks.

Parameter List

{{Rank
|         <!-- Anonymous parameter. The desired _THING_, 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|0}}

No results

S, options="26px"

{{Rank|S|options=26px}}
Error 1054: Unknown column 'S' in 'WHERE'

Function: CargoSQLQuery::run Query: SELECT `mwhd_cargo__Ranks`.`_pageID` AS `cargo_backlink_page_id_Ranks`,`name` AS `name` FROM `mwhd_cargo__Ranks` WHERE sort_order = S ORDER BY `mwhd_cargo__Ranks`.`_pageID`,`name` LIMIT 100