Template:Shop: Difference between revisions
From Artisans Asylum Wiki
Acharlwood (talk | contribs) m (Fixed syntax error) |
Acharlwood (talk | contribs) m (typo) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
| colspan="2" class="infobox-subtitle" | {{{shop_title}}} | | colspan="2" class="infobox-subtitle" | {{{shop_title}}} | ||
|- | |- | ||
| class="infobox-rowheader" | Lead || {{{lead|Unknown}}} | | class="infobox-rowheader" | Building || {{{building}}} | ||
|- | |||
| class="infobox-rowheader" | Lead || [mailto:{{{lead_email}}} {{{lead|Unknown}}}] | |||
|- | |||
| class="infobox-rowheader" | User email list || [mailto:{{{user_email_list|members@artisansasylum.com}}} {{{user_email_list|members@artisansasylum.com}}}] | |||
|- | |- | ||
| class="infobox-rowheader" | Tool Testers || style="margin: 0; list-style-type: none;"| | | class="infobox-rowheader" | Tool Testers || style="margin: 0; list-style-type: none;"| | ||
Line 17: | Line 21: | ||
<includeonly>[[Category:Shop]]</includeonly> | <includeonly>[[Category:Shop]]</includeonly> | ||
<noinclude> | <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 | |||
|building = Holton | |||
|lead = Unknown | |||
|lead_email = ershop@artisansasylum.com | |||
|user_email_list = ershop-users@artisansasylum.com | |||
|tool_testers = Unknown | |||
|hours = Same as membership hours | |||
}} | |||
</nowiki></pre> | |||
== Copy/pasteable blank version == | |||
<pre> | |||
{{Shop | |||
|shop_title = | |||
|image = | |||
|caption = | |||
|building = | |||
|lead = | |||
|lead_email = | |||
|user_email_list = | |||
|tool_testers = | |||
|hours = | |||
}} | |||
</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> | <templatedata> | ||
Line 40: | Line 93: | ||
"type": "string", | "type": "string", | ||
"description": "Caption for the picture of the shop", | "description": "Caption for the picture of the shop", | ||
"aliases": ["1"] | |||
}, | |||
"building": { | |||
"label": "Building", | |||
"type": "string", | |||
"description": "Which building (Holton or Antwerp) this shop is in", | |||
"autovalue": "Unknown", | |||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 46: | Line 106: | ||
"type": "string", | "type": "string", | ||
"description": "Name of the shop lead", | "description": "Name of the shop lead", | ||
"aliases": ["1"] | |||
}, | |||
"lead_email": { | |||
"label": "Shop lead email address", | |||
"type": "string", | |||
"description": "Typically @artisansasylum.com", | |||
"aliases": ["1"] | |||
}, | |||
"user_email_list": { | |||
"label": "Shop user email list address", | |||
"type": "string", | |||
"description": "Google group mailing list for shop users", | |||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 52: | Line 124: | ||
"type": "string", | "type": "string", | ||
"description": "Link to the tool testing request form, or a list of tool testers", | "description": "Link to the tool testing request form, or a list of tool testers", | ||
"autovalue": "https://www.artisansasylum.com/tool-testing", | "autovalue": "[https://www.artisansasylum.com/tool-testing Sign up here]", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
Line 65: | Line 137: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 15:23, 17 May 2024
{{{shop_title}}} | |
---|---|
[[File:{{{image}}}|thumb|center|250px|{{{caption}}}]] | |
{{{shop_title}}} | |
Building | {{{building}}} |
Lead | Unknown |
User email list | members@artisansasylum.com |
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 |building = Holton |lead = Unknown |lead_email = ershop@artisansasylum.com |user_email_list = ershop-users@artisansasylum.com |tool_testers = Unknown |hours = Same as membership hours }}
Copy/pasteable blank version
{{Shop |shop_title = |image = |caption = |building = |lead = |lead_email = |user_email_list = |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 |
Building | building 1 | Which building (Holton or Antwerp) this shop is in
| String | optional |
Shop lead | lead 1 | Name of the shop lead | String | optional |
Shop lead email address | lead_email 1 | Typically @artisansasylum.com | String | optional |
Shop user email list address | user_email_list 1 | Google group mailing list for shop users | 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 |