Template:Manufacturer code/doc: Difference between revisions
Jump to navigation
Jump to search
No edit summary Ā |
m 1 revision imported Ā |
(No difference)
|
Latest revision as of 00:43, 2 August 2024
{{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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Manufacturer name | 1 | The name of the manufacturer
| String | required |
See also