Difference between revisions of "Template:ShopInfoBox"

From TinkerMill Wiki
Jump to navigation Jump to search
m (Improved the labels for each parameter.)
m (Added Shop Usage Fees)
Line 2: Line 2:
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
 
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
 
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>{{#if:{{{location|}}}|<tr>
+
<table>
 +
{{#if:{{{location|}}}|<tr>
 
     <th>Location:</th>
 
     <th>Location:</th>
 
     <td>{{{location}}}</td>
 
     <td>{{{location}}}</td>
</tr>}}{{#if:{{{colors|}}}|<tr>
+
</tr>}}
 +
{{#if:{{{colors|}}}|<tr>
 
     <th>Shop Colors:</th>
 
     <th>Shop Colors:</th>
 
     <td>{{{colors}}}</td>
 
     <td>{{{colors}}}</td>
</tr>}}{{#if:{{{captain|}}}|<tr>
+
</tr>}}
 +
{{#if:{{{captain|}}}|<tr>
 
     <th>Shop Captain(s):</th>
 
     <th>Shop Captain(s):</th>
 
     <td>{{{captain}}}</td>
 
     <td>{{{captain}}}</td>
</tr>}}{{#if:{{{slackchannel|}}}|<tr>
+
</tr>}}
 +
{{#if:{{{slackchannel|}}}|<tr>
 
     <th>Slack Channel(s):</th>
 
     <th>Slack Channel(s):</th>
 
     <td>{{{slackchannel}}}</td>
 
     <td>{{{slackchannel}}}</td>
</tr>}}</table>
+
</tr>}}
 +
{{#if:{{{fees|}}}|<tr>
 +
    <th>Shop Usage Fees:</th>
 +
    <td>{{{fees}}}</td>
 +
</tr>}}
 +
</table>
 
</div>
 
</div>

Revision as of 22:58, 10 February 2022

ShopInfoBox