Template:Shop/doc: Difference between revisions

From Artisans Asylum Wiki
m (Blanked the page)
Tags: Blanking Reverted
No edit summary
Tags: Manual revert Reverted
Line 1: Line 1:
 
<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>

Revision as of 16:18, 30 January 2024

Adds an easily scannable information block to a shop page.

Template parameters

ParameterDescriptionTypeStatus
Shop nameshop_title 1

Name of the shop (i.e. Metal, Wood)

Stringrequired
Image file nameimage 1

File name of a picture of the shop

Auto value
No_image.jpeg
Fileoptional
Image captioncaption 1

Caption for the picture of the shop

Stringoptional
Shop leadlead 1

Name of the shop lead

Stringoptional
Tool testerstool_testers 1

Link to the tool testing request form, or a list of tool testers

Auto value
[https://www.artisansasylum.com/tool-testing Sign up here]
Stringoptional
Open hourshours 1

Hours that the shop is open (i.e. 9am-5pm, Mon-Fri)

Auto value
Same as membership hours
Stringoptional