Difference between revisions of "Template:Status infobox"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
#if:{{{jp name|}}}|{{#vardefine:status jp name|{{{jp name|}}}}}}}{{
#if:{{{jp name|}}}|{{#vardefine:status jp name|{{{jp name|}}}}}}}{{
#if:{{{jp-en name|}}}|{{#vardefine:status jp en name|{{{jp-en 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}}
#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>
}}{{#vardefine:status template options|}}|<!--Invalid invocation.-->}}</includeonly></onlyinclude>
== Description ==
== Description ==
Line 14: Line 15:
}}
}}
</pre>
</pre>
And effects should translate over as long as a Status subobject exists on the wiki.
And the status should properly link up.


[[Category:Infobox templates]] [[Category:Subobject templates]][[Category:Deprecated 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.