Difference between revisions of "Template:Status icon"

From Tokyo Afterschool Summoners
Jump to navigation Jump to search
(testing time)
 
(59 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<--{{#vardefine:status subobj|{{#ask:
<includeonly><onlyinclude>{{#vardefine:status subobject|{{{subobject|{{#ask:
   [[Has game context::Status]]
   [[Has game context::Status]]
   [[Has Japanese name::{{#var:effect jp-name|}}]]
   {{#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=
}}}}{{#if: {{#var:skillnumber|}} |
}}}}}}}{{#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>
  {{#if:{{#show:{{#var:status subobj}}|?Has image}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon_status/icon_status_{{#show:{{#var:status subobj}}|?Has image}}.png|width=15px|height=15px<!--|href={{#var:status subobj|}}-->}}
== Example ==
  }}
<pre>{{Status icon|金剛}}</pre>
|}}-->
{{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}}