Bureaucrats, Interface administrators, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
10,685
edits
Line 10: | Line 10: | ||
}}{{#if:{{#var:transient id|}}|| | }}{{#if:{{#var:transient id|}}|| | ||
{{#vardefine:transient id|{{#if:{{{jp title|}}}|{{#masterdata:Card|{{{jp title|}}}|id:name.title}}|0}}}} | {{#vardefine:transient id|{{#if:{{{jp title|}}}|{{#masterdata:Card|{{{jp title|}}}|id:name.title}}|0}}}} | ||
}}{{#ifeq:{{#var:transient id|}}|0|{{#vardefine:transient id|}}}}{{#if:{{#var:transient id|}}|{{ | |||
#if:{{{en title|}}}|{{#vardefine:transient en title|{{{en title|}}}}}}}{{ | #if:{{{en title|}}}|{{#vardefine:transient en title|{{{en title|}}}}}}}{{ | ||
#if:{{{en name|}}}|{{#vardefine:transient en name|{{{en name|}}}}}}}{{ | #if:{{{en name|}}}|{{#vardefine:transient en name|{{{en name|}}}}}}}{{ | ||
Line 22: | Line 22: | ||
#if:{{{en research file|}}}|{{#vardefine:transient jp en research file|{{{en research file||}}}}}}}{{ | #if:{{{en research file|}}}|{{#vardefine:transient jp en research file|{{{en research file||}}}}}}}{{ | ||
#masterdata:Card|{{#var:transient id}}|{{#var:transient template options|{{#if:{{{en research file|}}}||no-research=true}}}} | #masterdata:Card|{{#var:transient id}}|{{#var:transient template options|{{#if:{{{en research file|}}}||no-research=true}}}} | ||
}}{{#vardefine:transient template options|}}|Guru mediation: error mapping Transient title "{{{jp title|}}}" to an ID. To avoid this error in the future, please pass an ID to the infobox template.}}</includeonly><noinclude> | }}{{#vardefine:transient template options|}}|Guru mediation: error mapping Transient title "{{{jp title|}}}" to an ID. To avoid this error in the future, please pass an ID to the infobox template.<br>{{#var:transient tmp subobj|}}}}</includeonly><noinclude> | ||
== Description == | == Description == | ||
This templates is a proxy for the [[Template:Transient extended infobox]] extended template to avoid manually adding internal ID's to units by matching up titles to units. If you absolutely have to create an infobox for a unit that's not in game, please use: | This templates is a proxy for the [[Template:Transient extended infobox]] extended template to avoid manually adding internal ID's to units by matching up titles to units. If you absolutely have to create an infobox for a unit that's not in game, please use: |