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 subobj|{{#show:{{#ask:
   [[Has game context::Status]]
   [[Has game context::Status]]
   [[Has Japanese name::{{{1}}}]]
   [[Has Japanese name::{{{1}}}]]
Line 6: Line 6:
   |headers=hide
   |headers=hide
   |searchlabel=
   |searchlabel=
}}|?Has image}}}}{{#vardefine:status name|{{#show:{{#ask:
}}}}{{#vardefine:status filename|{{#var:status subobj}}|?Has image}}}}{{#vardefine:status name|{{#show:{{#var:status subobj}}|?Has English name}}}}{{#if:{{#var:status name|}}|[[Category:Skill that uses {{#var:status name}}]]{{#ifexist:File:icon_status_{{#var:status filename|none}}.png|[[File:icon_status_{{#var:status filename|none}}.png|15px|link={{#var:status subobj}}]]<!--{{spaces|1}}-->}}}}</includeonly></onlyinclude>
  [[Has game context::Status]]
  [[Has Japanese name::{{{1}}}]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
}}|?Has English name}}}}{{#if:{{#var:status name|}}|[[Category:Skill that uses {{#var:status name}}]]{{#ifexist:File:icon_status_{{#var:status filename|none}}.png|[[File:icon_status_{{#var:status filename|none}}.png|15px]]<!--{{spaces|1}}-->}}}}</includeonly></onlyinclude>


== Example ==
== Example ==


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

Revision as of 00:31, 15 November 2018


Example