Template:Manufacturer code/doc

From IxWiki
Revision as of 00:43, 2 August 2024 by Heku (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{Manufacturer code}} returns the manufacturer code from the name of the manufacturer. This is used in many templates that takes manufacturer as a parameter. The manufacturer data can be founded in Module:Manufacturer/data.json.

Syntax

{{Manufacturer code|manfacturer name}}

Examples

{{Manufacturer code|Aegis Dynamics}} returns AEGS

{{Manufacturer code|Anvil Aerospace}} returns ANVL

{{Manufacturer code|Roberts Space Industries}} returns RSI

{{Manufacturer code|AopoA}} returns XNAA

TemplateData

Convert manufacturer name into code

Template parameters

ParameterDescriptionTypeStatus
Manufacturer name1

The name of the manufacturer

Example
Aegis Dynamics
Stringrequired

See also