Difference between revisions of "Template:Status icon"
Jump to navigation
Jump to search
SurtrFan8511 (talk | contribs) (testing time) |
|||
(61 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:status | <includeonly><onlyinclude>{{#vardefine:status subobject|{{{subobject|{{#ask: | ||
[[Has game context::Status]] | [[Has game context::Status]] | ||
[[Has Japanese 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: | }}}}}}}{{#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> | ||
== 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}}