Difference between revisions of "Template:Transient infobox"

no edit summary
Line 613: Line 613:
   <tr>
   <tr>
     {{#if:{{#var:transient cdn icon|}}||{{#vardefine:transient cdn icon|{{{cdn icon|}}}}}}}
     {{#if:{{#var:transient cdn icon|}}||{{#vardefine:transient cdn icon|{{{cdn icon|}}}}}}}
     <td class="icon">{{#if:{{#var:transient no cdn|}}|[[File:{{{icon}}}.png|60px]]|{{#if:{{#var:transient cdn icon|}}|{{#tag:mediator|{{#var:transient cdn icon|}}|width=60|height=60}}|{{#ifexist:File:{{{icon|}}}.png|[[File:{{{icon}}}.png|60px]]|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|[[File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|60px]]|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|[[File:{{{en name}}}_{{{rarity}}}star_icon.png|60px]]|[[File:Unknown icon.png|60px]]}}}}}}}}}}</td>{{#vardefine:transient cdn icon|}}}
     <td class="icon">{{#if:{{#var:transient no cdn|}}|[[File:{{{icon}}}.png|60px]]|{{#if:{{#var:transient cdn icon|}}|{{#tag:mediator|{{#var:transient cdn icon|}}|width=60|height=60}}|{{#ifexist:File:{{{icon|}}}.png|[[File:{{{icon}}}.png|60px]]|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|[[File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_icon.png|60px]]|{{#ifexist:File:{{{en name}}}_{{{rarity}}}star_icon.png|[[File:{{{en name}}}_{{{rarity}}}star_icon.png|60px]]|[[File:Unknown icon.png|60px]]}}}}}}}}}}</td>{{#vardefine:transient cdn icon|}}
     <td class="caption">
     <td class="caption">
     <div class="name">[{{#if:{{{en title|}}}|{{#if:{{{jp-en title|}}}|<u><span title="{{{jp-en title|}}}">{{{en title}}}</span></u>|{{{en title}}}}}|?}}]&nbsp; {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id}}}/ {{{en name|?}}}]|{{{en name|?}}}}}</div>
     <div class="name">[{{#if:{{{en title|}}}|{{#if:{{{jp-en title|}}}|<u><span title="{{{jp-en title|}}}">{{{en title}}}</span></u>|{{{en title}}}}}|?}}]&nbsp; {{#if:{{{id|}}}|[https://app.housamo.xyz/cards/{{{id}}}/ {{{en name|?}}}]|{{{en name|?}}}}}</div>
Line 625: Line 625:
   <tr>
   <tr>
   {{#if:{{#var:transient cdn artwork|}}||{{#vardefine:transient cdn artwork|{{{cdn artwork|}}}}}}}
   {{#if:{{#var:transient cdn artwork|}}||{{#vardefine:transient cdn artwork|{{{cdn artwork|}}}}}}}
   <td><div class="artwork">{{#if:{{#var:transient no cdn|}}|[[File:{{{artwork}}}.png]]|{{#if:{{#var:transient cdn artwork|}}|{{#tag:mediator|{{#var:transient cdn artwork|}}}}|{{#ifexist:File:{{{artwork|}}}.png|[[File:{{{artwork}}}.png]]|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|[[File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png]]|No artwork uploaded.}}|}}|}}}}</div>{{#vardefine:transient cdn artwork|}}}
   <td><div class="artwork">{{#if:{{#var:transient no cdn|}}|[[File:{{{artwork}}}.png]]|{{#if:{{#var:transient cdn artwork|}}|{{#tag:mediator|{{#var:transient cdn artwork|}}}}|{{#ifexist:File:{{{artwork|}}}.png|[[File:{{{artwork}}}.png]]|{{#ifexist:File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png|[[File:{{{en name}}}{{#if:{{{variant|}}}|_{{{variant}}}|}}_{{{rarity}}}star_full.png]]|No artwork uploaded.}}|}}|}}}}</div>{{#vardefine:transient cdn artwork|}}
   </td>
   </td>
   {{#ifeq: {{{acquisition|}}}|Skin||
   {{#ifeq: {{{acquisition|}}}|Skin||