Template:Manufacturer/EnumImage

From Phantasy Star Universe Clementine
Revision as of 14:35, 21 December 2023 by Mika (talk | contribs) (Created page with "<includeonly>{{#switch: {{lc:{{{1|}}}}} |general resource manufacturer |g |g.r.m |g.r.m. |grm = File:GRM-logo.png{{!}}alt=G.R.M.{{!}}link=|{{#if:{{{options|}}}|{{{options}}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Purpose

Shortcut template for all equipment manufacturers. Contains mouseover for the manufacturer name and disables link functionality.

Parameter List

{{Manufacturer
|         <!-- Anonymous parameter. The desired manufacturer of the weapon, case insensitive. Invalid strings will render nothing. -->
|options  <!-- The desired image options. -->
|class    <!-- The desired CSS class of the image. -->
}}

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

  • GRM:
    • general resource manufacturer
    • g
    • g.r.m
    • g.r.m.
    • grm
  • Yohmei:
    • y
    • yohmei corporation
    • yohmei corp
    • yohmei
  • TENORA WORKS:
    • t
    • tenora works
    • tenora
  • Kubara:
    • k
    • kubara product
    • kubara

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

Examples

Icon for "yohmei"

{{Manufacturer|yohmei}}
Error 1054: Unknown column 'yohmei' in 'WHERE'

Function: CargoSQLQuery::run Query: SELECT `mwhd_cargo__Manufacturers`.`_pageID` AS `cargo_backlink_page_id_Manufacturers`,`name` AS `name` FROM `mwhd_cargo__Manufacturers` WHERE sort_order = yohmei ORDER BY `mwhd_cargo__Manufacturers`.`_pageID`,`name` LIMIT 100

Icon for "GRM"

{{Manufacturer|GRM}}
Error 1054: Unknown column 'GRM' in 'WHERE'

Function: CargoSQLQuery::run Query: SELECT `mwhd_cargo__Manufacturers`.`_pageID` AS `cargo_backlink_page_id_Manufacturers`,`name` AS `name` FROM `mwhd_cargo__Manufacturers` WHERE sort_order = GRM ORDER BY `mwhd_cargo__Manufacturers`.`_pageID`,`name` LIMIT 100

Icon for "GRM", Options="16px"

{{Manufacturer|GRM|options=16px}}
Error 1054: Unknown column 'GRM' in 'WHERE'

Function: CargoSQLQuery::run Query: SELECT `mwhd_cargo__Manufacturers`.`_pageID` AS `cargo_backlink_page_id_Manufacturers`,`name` AS `name` FROM `mwhd_cargo__Manufacturers` WHERE sort_order = GRM ORDER BY `mwhd_cargo__Manufacturers`.`_pageID`,`name` LIMIT 100

Icon for "asdasd"

{{Manufacturer|asdasd}}
Error 1054: Unknown column 'asdasd' in 'WHERE'

Function: CargoSQLQuery::run Query: SELECT `mwhd_cargo__Manufacturers`.`_pageID` AS `cargo_backlink_page_id_Manufacturers`,`name` AS `name` FROM `mwhd_cargo__Manufacturers` WHERE sort_order = asdasd ORDER BY `mwhd_cargo__Manufacturers`.`_pageID`,`name` LIMIT 100