Template:Venue Infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:
|-
|-
! colspan="2"|<p class="image_wrapper">{{#if:{{{image|}}}
! colspan="2"|<p class="image_wrapper">{{#if:{{{image|}}}
  | {{#ifeq:{{{image}}}|no|{{clear}}<!-- Not visible or necessary-->| [[Has journal icon::File:{{{image}}}|200x260px]] }}
   | {{#vardefine:default|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.jpg}} {{#ifexist:{{#var:default}} <!-- Default file name to display -->
   | {{#vardefine:default|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.jpg}} {{#ifexist:{{#var:default}} <!-- Default file name to display -->
         | [[Has appearance::{{#var:default}}|250x250px]]
         | [[Has appearance::{{#var:default}}|250x250px]]
         | [[{{#var:default}}|Upload an image of this venue]]<!-- Red link to file upload page -->
         | [[{{#var:default}}|Upload an image of this venue.]]<!-- Red link to file upload page -->
     }}
     }}
}}</p>
}}</p>  
|-
|-
! colspan="2" style="background-color: #DB8200; color: #FFFFFF; padding:0em;" | Information
! colspan="2" style="background-color: #DB8200; color: #FFFFFF; padding:0em;" | Information