Template:Shop: Difference between revisions
From Artisans Asylum Wiki
Acharlwood (talk | contribs) No edit summary |
Acharlwood (talk | contribs) m (→Shop Template) |
||
(21 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{ | {| 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|center|250px|{{{caption}}}]] | ||
| | |- | ||
| | | colspan="2" class="infobox-subtitle" | {{{shop_title}}} | ||
| | |- | ||
| class="infobox-rowheader" | Lead || {{{lead|Unknown}}} | |||
|- | |||
| class="infobox-rowheader" | Tool Testers || style="margin: 0; list-style-type: none;"| | |||
{{{tool_testers|Unknown}}} | |||
|- | |||
| class="infobox-rowheader" | Hours || {{{hours}}} | |||
|} | |||
<includeonly>[[Category:Shop]]</includeonly> | |||
<noinclude> | |||
==Shop Template== | |||
For showing off shops. | |||
==Example== | |||
<pre><nowiki> | |||
{{Shop | |||
|shop_title = Electronics and Robotics | |||
|image = Electronics_area_overview_01.jpg | |||
|caption = Solder stations and work benches | |||
|lead = Unknown | |||
|tool_testers = Unknown | |||
|hours = Same as membership hours | |||
}} | }} | ||
</nowiki></pre> | |||
< | |||
== Copy/pasteable blank version == | == Copy/pasteable blank version == | ||
Line 17: | Line 38: | ||
{{Shop | {{Shop | ||
|shop_title = | |shop_title = | ||
|image = | |image = | ||
|caption = | |caption = | ||
| | |lead = | ||
|tool_testers = | |||
|hours = | |hours = | ||
}} | }} | ||
</pre> | </pre> | ||
== Tool Tester List == | |||
If you'd like to add a list of Tool Testers, instead of just one Tester, use this format: | |||
<pre> | |||
... | |||
|tool_testers = Tester1 | |||
Tester2 | |||
Tester3 | |||
Tester4 | |||
... | |||
</pre> | |||
<templatedata> | |||
{ | |||
"description": "Adds an easily scannable information block to a shop page.", | |||
"params": { | |||
"shop_title": { | |||
"label": "Shop name", | |||
"type": "string", | |||
"required": true, | |||
"description": "Name of the shop (i.e. Metal, Wood)", | |||
"aliases": ["1"] | |||
}, | |||
"image": { | |||
"label": "Image file name", | |||
"type": "wiki-file-name", | |||
"description": "File name of a picture of the shop", | |||
"autovalue": "No_image.jpeg", | |||
"aliases": ["1"] | |||
}, | |||
"caption": { | |||
"label": "Image caption", | |||
"type": "string", | |||
"description": "Caption for the picture of the shop", | |||
"aliases": ["1"] | |||
}, | |||
"lead": { | |||
"label": "Shop lead", | |||
"type": "string", | |||
"description": "Name of the shop lead", | |||
"aliases": ["1"] | |||
}, | |||
"tool_testers": { | |||
"label": "Tool testers", | |||
"type": "string", | |||
"description": "Link to the tool testing request form, or a list of tool testers", | |||
"autovalue": "[https://www.artisansasylum.com/tool-testing Sign up here]", | |||
"aliases": ["1"] | |||
}, | |||
"hours": { | |||
"label": "Open hours", | |||
"type": "string", | |||
"description": "Hours that the shop is open (i.e. 9am-5pm, Mon-Fri)", | |||
"autovalue": "Same as membership hours", | |||
"aliases": ["1"] | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | </noinclude> |
Latest revision as of 18:53, 9 February 2024
{{{shop_title}}} | |
---|---|
[[File:{{{image}}}|thumb|center|250px|{{{caption}}}]] | |
{{{shop_title}}} | |
Lead | Unknown |
Tool Testers |
Unknown |
Hours | {{{hours}}} |
Shop Template
For showing off shops.
Example
{{Shop |shop_title = Electronics and Robotics |image = Electronics_area_overview_01.jpg |caption = Solder stations and work benches |lead = Unknown |tool_testers = Unknown |hours = Same as membership hours }}
Copy/pasteable blank version
{{Shop |shop_title = |image = |caption = |lead = |tool_testers = |hours = }}
Tool Tester List
If you'd like to add a list of Tool Testers, instead of just one Tester, use this format:
... |tool_testers = Tester1 Tester2 Tester3 Tester4 ...
Adds an easily scannable information block to a shop page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Shop name | shop_title 1 | Name of the shop (i.e. Metal, Wood) | String | required |
Image file name | image 1 | File name of a picture of the shop
| File | optional |
Image caption | caption 1 | Caption for the picture of the shop | String | optional |
Shop lead | lead 1 | Name of the shop lead | String | optional |
Tool testers | tool_testers 1 | Link to the tool testing request form, or a list of tool testers
| String | optional |
Open hours | hours 1 | Hours that the shop is open (i.e. 9am-5pm, Mon-Fri)
| String | optional |