Difference between revisions of "Template:Status icon"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly><onlyinclude>{{#vardefine:status filename|{{#show:{{#ask:
<includeonly><onlyinclude>{{#vardefine:status subobject|{{{subobject|{{#ask:
   [[Has game context::Status]]
   [[Has game context::Status]]
   [[Has Japanese name::{{{1}}}]]
   [[Has Japanese name::{{{1|}}}]]
   |link=none
   |link=none
   |limit=1
   |limit=1
   |headers=hide
   |headers=hide
   |searchlabel=
   |searchlabel=
}}|?Has image}}}}{{#vardefine:status name|{{#show:{{#ask:
}}}}}}}{{#if:{{#var:status subobject|}}|{{#vardefine:status filename|{{#show:{{#var:status subobject}}|?Has filename}}}}}}[[File:icon_status_{{#var:status filename|none}}.png|15px]]{{#vardefine:status filename|}}</includeonly></onlyinclude>
  [[Has game context::Status]]
== Example ==
  [[Has Japanese name::{{{1}}}]]
<pre>{{Status name|金剛}}</pre>
  |link=none
{{Status name|金剛}}
  |limit=1
<pre>{{Status name|弱体解除}}</pre>
  |headers=hide
{{Status name|弱体解除}}
  |searchlabel=
 
}}|?Has English name}}}}{{#if:{{#var:status name|}}|{{#if:{{#var:skillnumber|{{#var:transientnumber|}}}}|[[Category:Skill that uses {{#var:status name}}]]}}{{#ifeq:{{#var:status filename|none}}|none||{{#ifexist:File:icon_status_{{#var:status filename|none}}.png|[[File:icon_status_{{#var:status filename|none}}.png|15px|link={{#ask:
  [[Has game context::Status]]
  [[Has Japanese name::{{{1}}}]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
}}]]<!--{{spaces|1}}-->}}}}}}</includeonly></onlyinclude>
== Example ==
== Example ==


{{Status icon|金剛}}
{{Status icon|金剛}}

Revision as of 19:41, 27 December 2018

Example

{{Status name|金剛}}

Adamantine

{{Status name|弱体解除}}

Remove Debuff

Example

Icon status none.png