Difference between revisions of "Template:Status infobox"
Jump to navigation
Jump to search
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><onlyinclude>{{#vardefine:status id|{{{id|{{#if:{{{jp name|}}}|{{#masterdata:Status|{{{jp name|}}}|id:name}}|0}}}}}}}{{#ifexpr:{{#var:status id|}}<1|{{#vardefine:status id|}}}}{{#if:{{#var:status id|}}|{{ | ||
{{# | #if:{{{en name|}}}|{{#vardefine:status en name|{{{en name|}}}}}}}{{ | ||
#if:{{{jp name|}}}|{{#vardefine:status jp name|{{{jp name|}}}}}}}{{ | |||
#if:{{{jp-en name|}}}|{{#vardefine:status jp en name|{{{jp-en name|}}}}}}}{{ | |||
| | #if:{{{en note|}}}|{{#vardefine:status en note|{{{en note|}}}}}}}{{ | ||
| | #masterdata:Status|{{#var:status id}}|{{#var:status template options|}} | ||
}}{{#vardefine:status template options|}}|<!--Invalid invocation.-->}}</includeonly></onlyinclude> | |||
| | |||
< | |||
} | |||
} | |||
}} | |||
} | |||
}} | |||
}} | |||
--> | |||
</ | |||
== Description == | == Description == | ||
This templates | This templates serves as a proxy between the housamo.xyz API's master data parser and the old wiki template invocations. It is not recommended to manually invoke this template, but if you absolutely must, invoke this template via: <pre> | ||
{{Status infobox | |||
| jp name = In-Game Japanese name | |||
<pre>{{Status infobox | | en name = Translated name (if not localized in-game) | ||
| en note = English note | |||
| jp name = | |||
| | |||
| en | |||
}} | }} | ||
</pre> | </pre> | ||
And the status should properly link up. | |||
[[Category:Infobox templates]][[Category:Subobject templates]] | [[Category:Infobox templates]] [[Category:Subobject templates]][[Category:Deprecated templates]] | ||
Latest revision as of 22:50, 28 December 2018
Description
This templates serves as a proxy between the housamo.xyz API's master data parser and the old wiki template invocations. It is not recommended to manually invoke this template, but if you absolutely must, invoke this template via:
{{Status infobox | jp name = In-Game Japanese name | en name = Translated name (if not localized in-game) | en note = English note }}
And the status should properly link up.