Template:Shop: Difference between revisions

From Artisans Asylum Wiki
(Added tool testers category)
m (typo)
 
(20 intermediate revisions by 2 users not shown)
Line 6: Line 6:
| colspan="2" class="infobox-image" | [[File:{{{image}}}|thumb|center|250px|{{{caption}}}]]
| colspan="2" class="infobox-image" | [[File:{{{image}}}|thumb|center|250px|{{{caption}}}]]
|-
|-
| colspan="2" class="infobox-subtitle" | {{{shop_subtitle}}}
| colspan="2" class="infobox-subtitle" | {{{shop_title}}}
|-
|-
| class="infobox-rowheader" | Lead || {{{lead|Unknown}}}
| class="infobox-rowheader" | Building || {{{building}}}
|-
|-
| class="infobox-rowheader" | Tool Testers || {{{tool_testers|Unknown}}}
| 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;"|
{{{tool_testers|Unknown}}}
|-
| class="infobox-rowheader" | Hours || {{{hours}}}
| class="infobox-rowheader" | Hours || {{{hours}}}
|}
|}
<includeonly>[[Category:Shop]]</includeonly>
<includeonly>[[Category:Shop]]</includeonly>
<noinclude>
<noinclude>
==Shop Template==
==Shop Template==
For showing off Shops.
For showing off shops.


==Example==
==Example==
Line 23: Line 29:
{{Shop
{{Shop
|shop_title      = Electronics and Robotics
|shop_title      = Electronics and Robotics
|shop_subtitle  =
|image          = Electronics_area_overview_01.jpg
|image          = Electronics_area_overview_01.jpg
|caption        = Solder stations and work benches
|caption        = Solder stations and work benches
|building        = Holton
|lead            = Unknown
|lead            = Unknown
|lead_email      = ershop@artisansasylum.com
|user_email_list = ershop-users@artisansasylum.com
|tool_testers    = Unknown
|tool_testers    = Unknown
|hours          = Same as membership hours
|hours          = Same as membership hours
Line 37: Line 45:
{{Shop
{{Shop
|shop_title      =  
|shop_title      =  
|shop_subtitle  =
|image          =  
|image          =  
|caption        =  
|caption        =  
|building        =
|lead            =  
|lead            =  
|lead_email      =
|user_email_list =
|tool_testers    =  
|tool_testers    =  
|hours          =  
|hours          =  
Line 51: Line 61:
<pre>
<pre>
...
...
|tool_testers    = Tester1


|tool_testers    = * Tester 1
Tester2
* Tester 2
* Tester 3


Tester3
Tester4
...
...
</pre>
</pre>


[[Category:Shop Templates]]
<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"]
        },
        "building": {
            "label": "Building",
            "type": "string",
            "description": "Which building (Holton or Antwerp) this shop is in",
            "autovalue": "Unknown",
            "aliases": ["1"]
        },
        "lead": {
            "label": "Shop lead",
            "type": "string",
            "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"]
        },
        "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 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.

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
Buildingbuilding 1

Which building (Holton or Antwerp) this shop is in

Auto value
Unknown
Stringoptional
Shop leadlead 1

Name of the shop lead

Stringoptional
Shop lead email addresslead_email 1

Typically @artisansasylum.com

Stringoptional
Shop user email list addressuser_email_list 1

Google group mailing list for shop users

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