Template:Rank/EnumImage: Difference between revisions

From Phantasy Star Universe Clementine
(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...")
 
m (one day i'll use find and replace like i build the meta template to support)
Line 15: Line 15:
<pre>
<pre>
{{Rank
{{Rank
|        <!-- Anonymous parameter. The desired _THING_, case insensitive. Invalid strings will render nothing. -->
|        <!-- 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. -->
|options  <!-- The desired image options. If options aren't provided, the link to the image is disabled. -->
}}
}}

Revision as of 18:33, 21 December 2023

Purpose

Shortcut template for all equipment ranks.

Parameter List

{{Rank
|         <!-- 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|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