Template:Manufacturer code/doc: Difference between revisions

From IxWiki
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

Template parameters

ParameterDescriptionTypeStatus
Manufacturer name1

The name of the manufacturer

Example
Aegis Dynamics
Stringrequired

See also