Template:MFU return name: Difference between revisions

Template page
imported>Alistair3149
mNo edit summary
 
stacitizen.tools>Alistair3149
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{{1|}}}|{{#ifeq:{{MFUNAME|{{{1}}}}}|Unknown manufacturer|{{{1}}}|{{MFUNAME|{{{1}}}}}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
<includeonly>{{#if:{{{1|}}}|{{#iferror:{{MFUNAME|{{{1}}}}}|{{{1}}}|{{MFUNAME|{{{1}}}}}}}}}</includeonly><noinclude>{{/doc}}</noinclude>

Revision as of 08:22, 5 July 2023

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:MFU return name/doc. Changes can be proposed in the talk page.

{{MFU return name}} returns the manufacturer name if there is a match, if not it will return the text itself. The difference between this and {{MFU name}} is that this template won't return unknown manufacturer, rather, it will return the text itself.

Usage

{{MFURN|manufacturer code}}

Examples

{{MFU return name|AEGS}} returns Aegis Dynamics {{MFU return name|Aegis Dynamics}} returns Aegis Dynamics {{MFURN|RSI}} returns Roberts Space Industries {{MFURN|Roberts Space Industries}} returns Roberts Space Industries

{{MFURN|Heavy Tapir Industries}} returns Heavy Tapir Industries

See also