Difference between revisions of "Template:Status"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(Attempt at reducing amount of SMW queries)
Line 1: Line 1:
<includeonly><onlyinclude>{{#vardefine:status subobj|{{#ask:
<includeonly><onlyinclude>{{#varexists:status subobj{{{id|0}}}|{{#vardefine:status subobj{{{id|}}}|{{#if:{{{subobject|}}}|{{{subobject}}}|{{#ask:
   [[Has game context::Status]]
   [[Has game context::Status]]
   {{#if:{{{1|}}}|[[Has Japanese name::{{{1|}}}]]}}
   {{#if:{{{1|}}}|[[Has Japanese name::{{{1|}}}]]}}
Line 8: Line 8:
   |headers=hide
   |headers=hide
   |searchlabel=
   |searchlabel=
}}}}{{#ifeq:{{#var:hide icons|}}|true||{{Status icon|subobject={{#var:status subobj}}}}&#32;}}{{Tooltip|[[{{#var:status subobj}}|{{Status name|subobject={{#var:status subobj}}}}]]|{{Status description|subobject={{#var:status subobj}}}} ({{Status type|subobject={{#var:status subobj}}}})}}<!--{{#if:{{#var:skill page}}|[[Category:Skill that uses {{Status name|subobject={{#var:status subobj}}}}]]}}--></onlyinclude></includeonly>
}}}}}}}}{{#ifeq:{{#var:hide icons|}}|true||{{Status icon|subobject={{#var:status subobj{{{id|}}}}}}}&#32;}}{{Tooltip|[[{{#var:status subobj{{{id|}}}}}|{{Status name|subobject={{#var:status subobj{{{id|}}}}}}}]]|{{Status description|subobject={{#var:status subobj{{{id|}}}}}}} ({{Status type|subobject={{#var:status subobj{{{id|}}}}}}})}}<!--{{#if:{{#var:skill page}}|[[Category:Skill that uses {{Status name|subobject={{#var:status subobj}}}}]]}}--></onlyinclude></includeonly>
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 07:52, 6 September 2020

Template documentation[view] [edit] [history] [purge]

Description

This template is used to properly display statuses. It takes the English or the Japanese name of the status as its argument. ID search also works.

Examples

{{Status|金剛}}

[[|No name provided .]]No description provided. (Unknown)

{{Status|en name=Burn}}

[[|No name provided .]]No description provided. (Unknown)

{{Status|id=69}}

[[|No name provided .]]No description provided. (Unknown)