Difference between revisions of "Template:Status infobox"
Jump to navigation
Jump to search
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|}}}}}}}{{ | |||
| | #masterdata:Status|{{#var:status id}}|{{#var:status template options|format=wiki;args=format-table:float-true:list-false:columns=1}} | ||
}}{{#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 effects should translate over as long as a Status subobject exists on the wiki. | |||
[[Category:Infobox templates]][[Category:Subobject templates]] | [[Category:Infobox templates]] [[Category:Subobject templates]][[Category:Deprecated templates]] | ||
Revision as of 22:48, 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 effects should translate over as long as a Status subobject exists on the wiki.