Template:Manufacturer code/doc

From IxWiki
Revision as of 10:52, 17 May 2023 by sc>Alistair3149
(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