Template:Shop-Base: Difference between revisions
From Artisans Asylum Wiki
Acharlwood (talk | contribs) (Hacking together a base template for the main shop template) |
Acharlwood (talk | contribs) mNo edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | |||
{{Imbox |text=This template should only be used by other templates.}} | |||
</noinclude> | |||
{| class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 100%; line-height: 1.5em;" | |||
! colspan="2" class="infobox-title" | {{{shop_title}}} | |||
|- | |||
| | |||
|- | |||
| colspan="2" class="infobox-image" | [[File:{{{image}}}|thumb|250px|{{{caption}}}]] | |||
|- | |||
| colspan="2" class="infobox-subtitle" | {{{shop_subtitle}}} | |||
|- | |||
| class="infobox-rowheader" | Lead || {{{lead}}} | |||
|- | |||
| class="infobox-rowheader" | Hours || {{{hours}}} | |||
|} | |||
<noinclude> | |||
===Usage=== | |||
This template should not be used on its own -- it's designed to be used by the [[Template:Shop-Template|Shop Template]]. | |||
<pre> | <pre> | ||
{{Shop-Base | {{Shop-Base | ||
| Line 25: | Line 34: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | |||
Latest revision as of 02:40, 13 November 2023
| This template should only be used by other templates. | |
|---|---|
| {{{shop_title}}} | |
|---|---|
| [[File:{{{image}}}|thumb|250px|{{{caption}}}]] | |
| {{{shop_subtitle}}} | |
| Lead | {{{lead}}} |
| Hours | {{{hours}}} |
Usage
This template should not be used on its own -- it's designed to be used by the Shop Template.
{{Shop-Base
|shopbasetitle = Shops
|shop_title = {{{shop_title}}}
|shop_subtitle = {{{shop_subtitle}}}
|image = {{{image|No_image.jpeg}}}
|caption = {{{caption|Real image coming soon}}}
|manager = {{{manager|Unknown}}}
|interest_groups = {{{interest_groups|''None''}}}
|hours = {{{hours|Same as membership hours}}}
}}