Template:Manufacturer/EnumImage: Difference between revisions

From Phantasy Star Universe Clementine
(linebreak quirk for template syntax)
(remove excess linebreaks to fix auto-paragraph bug)
Line 1: Line 1:
<includeonly>
<includeonly>{{#switch: {{lc:{{{1|}}}}}
{{#switch: {{lc:{{{1|}}}}}
|00
|00
|general resource manufacturer
|general resource manufacturer
Line 31: Line 30:
|shell-caseal = {{EnumImage|image=File:GRM SHELL logo.gif|name=SHELL-CASEAL|options={{{options|}}}}}
|shell-caseal = {{EnumImage|image=File:GRM SHELL logo.gif|name=SHELL-CASEAL|options={{{options|}}}}}
|shell-cast = {{EnumImage|image=File:GRM SHELL logo.gif|name=SHELL-CAST|options={{{options|}}}}}
|shell-cast = {{EnumImage|image=File:GRM SHELL logo.gif|name=SHELL-CAST|options={{{options|}}}}}
|#default =  
|#default = }}</includeonly><noinclude>
}}</includeonly><noinclude>
==Purpose==
==Purpose==
Shortcut template for all equipment manufacturers. Contains mouseover for the manufacturer string that would appear ingame.
Shortcut template for all equipment manufacturers. Contains mouseover for the manufacturer string that would appear ingame.

Revision as of 14:56, 31 December 2023

Purpose

Shortcut template for all equipment manufacturers. Contains mouseover for the manufacturer string that would appear ingame.

Parameter List

{{Manufacturer
|         <!-- Anonymous parameter. The desired manufacturer name or weapon manufacturer's octet, 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 manufacturers, the valid list of strings, case insensitive, are:

GRM
  • 00
  • general resource manufacturer
  • g
  • g.r.m
  • g.r.m.
  • grm
Yohmei
  • 01
  • y
  • yohmei corporation
  • yohmei corp
  • yohmei
TENORA WORKS
  • 02
  • t
  • tenora works
  • tenora
Kubara
  • 03
  • k
  • kubara product
  • kubara
CUBIC STAR
  • cubic star
CUBIC MODE
  • cubic mode
CUBIC GIRL
  • cubic girl
MUTAN
  • mutan
MATOI
  • matoi
MINAMO
  • minamo
ASFA
  • asfa
Do-GAIM
  • do-gaim
monivan
  • monivan
SHELL-CASEAL
  • shell-caseal
SHELL-CAST
  • shell-cast

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 "GRM", Options="16px|link="

{{Manufacturer|GRM|options=16px{{!}}link=}}
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