Template:Costume: Difference between revisions

Want an adless experience? Log in or Create an account.
m
trying to add no image pic if files do not exist
mNo edit summary
m (trying to add no image pic if files do not exist)
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
! colspan="{{#if: {{{location2|}}}|3|2}}" style="width: 310px"| {{{name}}}
! colspan="{{#if: {{{location2|}}}|3|2}}" style="width: 310px"| {{{name}}}
|-
|-
! colspan="{{#if: {{{location2|}}}|3|2}}" style="width: 310px"| {{#if: {{{tabs|}}}|{{{image}}}|[[File:{{{image}}}{{!}}300px]]}}
! colspan="{{#if: {{{location2|}}}|3|2}}" style="width: 310px"| {{#if: {{{image|}}}|{{#ifexist: File:{{{image}}}|[[File:{{{image}}}{{!}}300px]]|[[File:No Image.png{{!}}300px]]}}|{{#if: {{{model|}}}|{{#if: {{{art|}}}|<center>{{Costume/Tabs|{{{model}}}|{{{art}}}}}</center>|{{#ifexist: File:{{{model}}}|[[File:{{{model}}}{{!}}300px]]|[[File:No Image.png{{!}}300px]]}}}}|{{#ifexist: File:{{{art}}}|[[File:{{{art}}}{{!}}300px]]|[[File:No Image.png{{!}}300px]]}}}}}}
|-
|-
!{{#if: {{{location2|}}}|rowspan="2" {{!}}}} Location
!{{#if: {{{location2|}}}|rowspan="2" {{!}}}} Location
Line 9: Line 9:
{{!-}}
{{!-}}
! style="width: 50px" {{!}} 3DS & Switch
! style="width: 50px" {{!}} 3DS & Switch
{{!}} {{{location2}}}|{{!}}{{{location}}}}}
{{!}} {{{location2}}}|{{!}} {{{location}}}}}
|-
|-
! {{#if: {{{location2|}}}|colspan="2" {{!}}}} DLC Pack
! {{#if: {{{location2|}}}|colspan="2" {{!}}}} DLC Pack