Difference between revisions of "Template:Status"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(What could possibly go wrong)
 
(18 intermediate revisions by the same user not shown)
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|}}}]]}}
   {{#if:{{{en name|}}}|[[Has English name::{{{en name|}}}]]}}
   {{#if:{{{en name|}}}|[[Has English name::{{{en name|}}}]]}}
  {{#if:{{{id|}}}|[[Has ID::{{{id|}}}]]}}
   |link=none
   |link=none
   |limit=1
   |limit=1
   |headers=hide
   |headers=hide
   |searchlabel=
   |searchlabel=
}}}}{{Status icon|subobject={{#var:status subobj}}}} [[{{#var:status subobj}}|<abbr title="{{Status description|subobject={{#var:status subobj}}}}">{{Status name|subobject={{#var:status subobj}}}}</abbr>]]{{#if:{{NAMESPACE}}||{{#if:{{#var:counter|}}|[[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|}}}}}|id={{{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>
== Example ==
<noinclude>{{Documentation}}</noinclude>
<pre>{{Status|金剛}}</pre>
{{Status|金剛}}
<pre>{{Status|en name=DEF Up}}</pre>
{{Status|en name=DEF Up}}

Latest revision as of 07:31, 20 October 2023

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|金剛}}

AdamantineDEF Up by 0.9x ~ 0.45x for 4 turns (Buff)

{{Status|en name=Burn}}

Burn-300~-600HP/turn for 5 turns (Debuff)

{{Status|id=69}}

SpiritDeal extra 400~800 damage to enemies for 2 turns (Buff)