Template:Venue Infobox: Difference between revisions

From Glasgow Venue Wiki
Jump to navigation Jump to search
Created page with "<div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}} <table class="infobox-table">{{#if:{{{name|}}}|<tr> <th>Name</th> <td>{{{name}}}</td> </tr>}}{{#if:{{{param2|}}}|<tr> <th>Capacity</th> <td>{{{capacity}}}</td> </tr>}}{{#if:{{{param3|}}}|<tr> <th>Function</th> <td>{{{function}}}</td> </tr>}}{{#if:{{{param4|}}}|<tr> <th>Add..."
 
added logo parameter
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
{{#if:{{{image|}}}|
<div class="infobox-image">{{{image}}}</div>}}
{{#if:{{{logo|}}}|
<div class="infobox-logo">{{{logo}}}</div>}}
<table class="infobox-table">{{#if:{{{name|}}}|<tr>
<table class="infobox-table">{{#if:{{{name|}}}|<tr>
     <th>Name</th>
     <th>Name</th>
     <td>{{{name}}}</td>
     <td>{{{name}}}</td>
</tr>}}{{#if:{{{param2|}}}|<tr>
</tr>}}{{#if:{{{parent_organisation|}}}|<tr>
    <th>Parent Organisation</th>
    <td>{{{parent_organisation}}}</td>
</tr>}}{{#if:{{{capacity|}}}|<tr>
     <th>Capacity</th>
     <th>Capacity</th>
     <td>{{{capacity}}}</td>
     <td>{{{capacity}}}</td>
</tr>}}{{#if:{{{param3|}}}|<tr>
</tr>}}{{#if:{{{function|}}}|<tr>
     <th>Function</th>
     <th>Function</th>
     <td>{{{function}}}</td>
     <td>{{{function}}}</td>
</tr>}}{{#if:{{{param4|}}}|<tr>
</tr>}}{{#if:{{{address|}}}|<tr>
     <th>Address</th>
     <th>Address</th>
     <td>{{{address}}}</td>
     <td>{{{address}}}</td>
</tr>}}{{#if:{{{param5|}}}|<tr>
</tr>}}{{#if:{{{website|}}}|<tr>
     <th>Website</th>
     <th>Website</th>
     <td>{{{website}}}</td>
     <td>{{{website}}}</td>
</tr>}}</table>
</tr>}}</table>
</div>
</div>

Latest revision as of 14:56, 10 September 2025

Venue Infobox