Difference between revisions of "Template:Transient icon jp"

no edit summary
 
Line 81: Line 81:
|link=none
|link=none
|named args=yes
|named args=yes
|default={{#switch:{{{size|}}}
|default={{#ifeq:{{{important|}}}|false||{{#switch:{{{size|}}}
| medium = {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id|}}}/ {{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{lc:{{{filename}}}}}.png|width="50"|height="50"}}{{spaces|1}}{{{name|}}}|{{#masterdata:CardIcon|{{{id}}}|show=name;type=medium}}}}]|[[File:Unknown icon.png|50x50px|link={{{link|}}}]]}}
| medium = {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id|}}}/ {{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{lc:{{{filename}}}}}.png|width="50"|height="50"}}{{spaces|1}}{{{name|}}}|{{#masterdata:CardIcon|{{{id}}}|show=name;type=medium}}}}]|[[File:Unknown icon.png|50x50px|link={{{link|}}}]]}}
| large = {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id|}}}/ {{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{lc:{{{filename}}}}}.png|width="116"|height="116"}}{{spaces|1}}{{{name|}}}|{{#masterdata:CardIcon|{{{id}}}|show=name;type=large}}}}]|[[File:Unknown icon.png|link={{{link|}}}]]}}
| large = {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id|}}}/ {{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{lc:{{{filename}}}}}.png|width="116"|height="116"}}{{spaces|1}}{{{name|}}}|{{#masterdata:CardIcon|{{{id}}}|show=name;type=large}}}}]|[[File:Unknown icon.png|link={{{link|}}}]]}}
| small
| small
|#default= {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id|}}}/ {{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{lc:{{{filename}}}}}.png|width="20"|height="20"}}{{spaces|1}}{{{name|}}}|{{#masterdata:CardIcon|{{{id}}}|show=name;type=small}}}}]|[[File:Unknown icon.png|20x20px|link={{{link|}}}]]}}
|#default= {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id|}}}/ {{#if:{{{filename|}}}|{{#tag:mediator|https://cdn.housamo.xyz/housamo/unity/Android/icon/icon_{{lc:{{{filename}}}}}.png|width="20"|height="20"}}{{spaces|1}}{{{name|}}}|{{#masterdata:CardIcon|{{{id}}}|show=name;type=small}}}}]|[[File:Unknown icon.png|20x20px|link={{{link|}}}]]}}
}}
}}<!-- end switch -->
}}<!-- end switch -->
}}<!-- end ask (no frame) -->
}}<!-- end ask (no frame) -->