Template:Shop: Difference between revisions
From Artisans Asylum Wiki
Acharlwood (talk | contribs) (Adding templatedata) |
Acharlwood (talk | contribs) m (Fixed syntax error) |
||
| Line 20: | Line 20: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": " | "description": "Adds an easily scannable information block to a shop page.", | ||
"params": { | "params": { | ||
"shop_title": { | "shop_title": { | ||
| Line 33: | Line 33: | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"description": "File name of a picture of the shop", | "description": "File name of a picture of the shop", | ||
"autovalue": "No_image.jpeg" | "autovalue": "No_image.jpeg", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
| Line 52: | Line 52: | ||
"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", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
}, | }, | ||
| Line 59: | Line 59: | ||
"type": "string", | "type": "string", | ||
"description": "Hours that the shop is open (i.e. 9am-5pm, Mon-Fri)", | "description": "Hours that the shop is open (i.e. 9am-5pm, Mon-Fri)", | ||
"autovalue": "Same as membership hours" | "autovalue": "Same as membership hours", | ||
"aliases": ["1"] | "aliases": ["1"] | ||
} | } | ||
Revision as of 11:31, 30 January 2024
| {{{shop_title}}} | |
|---|---|
| [[File:{{{image}}}|thumb|center|250px|{{{caption}}}]] | |
| {{{shop_title}}} | |
| Lead | Unknown |
| Tool Testers |
Unknown |
| Hours | {{{hours}}} |
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 |
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 ...