Difference between revisions of "Template:ShopInfoBox"

From TinkerMill Wiki
Jump to navigation Jump to search
m (Fixed a typo.)
m (Added the shop e-mail address code)
 
(2 intermediate revisions by the same user not shown)
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>
     <th>Location</th>
+
{{#if:{{{location|}}}|<tr>
 +
     <th>Location:</th>
 
     <td>{{{location}}}</td>
 
     <td>{{{location}}}</td>
</tr>}}{{#if:{{{colors|}}}|<tr>
+
</tr>}}
     <th>Colors</th>
+
{{#if:{{{colors|}}}|<tr>
 +
     <th>Shop Colors:</th>
 
     <td>{{{colors}}}</td>
 
     <td>{{{colors}}}</td>
</tr>}}{{#if:{{{captain|}}}|<tr>
+
</tr>}}
     <th>Captain(s)</th>
+
{{#if:{{{captain|}}}|<tr>
 +
     <th>Shop Captain(s):</th>
 
     <td>{{{captain}}}</td>
 
     <td>{{{captain}}}</td>
</tr>}}{{#if:{{{slackchannel|}}}|<tr>
+
</tr>}}
     <th>Slack Channel(s)</th>
+
{{#if:{{{email|}}}|<tr>
 +
    <th>Shop Email:</th>
 +
    <td>{{{email}}}</td>
 +
</tr>}}
 +
{{#if:{{{slackchannel|}}}|<tr>
 +
     <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>

Latest revision as of 17:17, 30 May 2023

ShopInfoBox