Difference between revisions of "Template:Status icon"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(testing time)
 
(31 intermediate revisions by 2 users not shown)
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}}}]]
   {{#if:{{{1|}}}|[[Has Japanese name::{{{1|}}}]]}}
  {{#if:{{{en name|}}}|[[Has English name::{{{en name|}}}]]}}
   |link=none
   |link=none
   |limit=1
   |limit=1
   |headers=hide
   |headers=hide
   |searchlabel=
   |searchlabel=
}}|?Has image}}}}{{#if:{{#var:status filename|}}|[[Category:Skill that uses {{#show:{{#ask:
}}}}}}}{{#if:{{#var:status subobject|}}|{{#vardefine:status filename|{{#show:{{#var:status subobject}}|?Has image}}}}}}{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_status/icon_status_{{lc:{{#var:status filename|none}}}}.png|width={{{size|15}}}px|height={{{size|15}}}px|loading=lazy}}<!--[[File:icon_status_{{lc:{{#var:status filename|none}}}}.png|{{{size|15}}}px]]-->{{#vardefine:status filename|}}</includeonly></onlyinclude>
  [[Has game context::Status]]
  [[Has Japanese name::{{{1}}}]]
  |link=none
  |limit=1
  |headers=hide
  |searchlabel=
}}|?Has English name}}]]{{#if:{{#var:in transient list|}}||<!--{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_status/icon_status_{{#var:status filename}}.png|width=15px|height=15px}}|}}}}--></includeonly></onlyinclude>
 
== Example ==
== Example ==
 
<pre>{{Status icon|金剛}}</pre>
{{Status icon|金剛}}
{{Status icon|金剛}}
<pre>{{Status icon|en name=DEF Up}}</pre>
{{Status icon|en name=DEF Up}}

Latest revision as of 06:22, 25 July 2020

Example

{{Status icon|金剛}}

{{Status icon|en name=DEF Up}}