Difference between revisions of "Template:ShopInfoBox"
Jump to navigation
Jump to search
(This is a InfoBox template that can be embedded in individual shop pages.) |
m (Added the shop e-mail address code) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <div class="infobox"> | + | <div class="infobox shop-infobox"> |
<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> |
− | <td>{{{ | + | <th>Shop Email:</th> |
− | </tr>}}</table> | + | <td>{{{email}}}</td> |
+ | </tr>}} | ||
+ | {{#if:{{{slackchannel|}}}|<tr> | ||
+ | <th>Slack Channel(s):</th> | ||
+ | <td>{{{slackchannel}}}</td> | ||
+ | </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