Template:Area: Difference between revisions

From 10BitWorks Makerspace Wiki

(template creation)
 
m (Protected "Template:Area" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 100%; line-height: 1.5em;"
{| class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 100%; line-height: 1.5em;"
! colspan="2" class="infobox-title" | {{{zone_title}}}
! colspan="2" class="infobox-title" | {{{area_title}}}
|-
|-
|  
|  
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" | {{{zone_title}}}
| colspan="2" class="infobox-subtitle" | {{{area_title}}}
|-
|-
| class="infobox-rowheader" | Lead || {{{lead|Unknown}}}
| class="infobox-rowheader" | Lead || {{{lead|Unknown}}}
|-  
|-  
| class="infobox-rowheader" | Tool Testers || style="margin: 0; list-style-type: none;"|
| class="infobox-rowheader" | Training || style="margin: 0; list-style-type: none;"|
{{{tool_testers|Unknown}}}
{{{training|Unknown}}}
|-  
|-  
| class="infobox-rowheader" | Hours || {{{hours}}}
| class="infobox-rowheader" | Hours || {{{hours}}}
|}
|}
<includeonly>[[Category:zone]]</includeonly>
<includeonly>[[Category:Area]]</includeonly>
<noinclude>
<noinclude>


==zone Template==
==Area Template==
For showing off zones.
For showing off areas. To be included at top of every primary area page.


==Example==
==Example==
<pre><nowiki>
<pre><nowiki>
{{zone
{{Area
|zone_title     = Electronics and Robotics
|area_title     = Electronics and Robotics
|image          = Electronics_area_overview_01.jpg
|image          = Electronics_area_overview_01.jpg
|caption        = Solder stations and work benches
|caption        = Solder stations and work benches
|lead            = Unknown
|lead            = Unknown
|tool_testers    = Unknown
|training        = Unknown
|hours          = Same as membership hours
|hours          = Same as membership hours
}}
}}
</nowiki></pre>
</nowiki></pre>


== Copy/pasteable blank version ==
== Copy/paste blank version ==


<pre>
<pre>
{{zone
{{Area
|zone_title     =  
|area_title     =  
|image          =  
|image          =  
|caption        =  
|caption        =  
|lead            =  
|lead            =  
|tool_testers    =  
|training        =  
|hours          =  
|hours          =  
}}
}}
</pre>
</pre>


== Tool Tester List ==
== Training Needed ==
If you'd like to add a list of Tool Testers, instead of just one Tester, use this format:
If you have additional training or limits to public usage of general membership , use this format:


<pre>
<pre>
...
...
|tool_testers   = Tester1
|training   = Requirement1


Tester2
Requirement2


Tester3
Requirement3


Tester4
Requirement4
...
...
</pre>
</pre>
Line 63: Line 63:
<templatedata>
<templatedata>
{
{
    "description": "Adds an easily scannable information block to a zone page.",
"description": "Adds an easily scannable information block to a area page.",
    "params": {
"params": {
        "zone_title": {
"area_title": {
            "label": "zone name",
"label": "Area name",
            "type": "string",
"type": "string",
            "required": true,
"required": true,
            "description": "Name of the zone (i.e. Metal, Wood)",
"description": "Name of the area (i.e. Metal, Wood)"
            "aliases": ["1"]
},
        },
"image": {
        "image": {
"label": "Image file name",
            "label": "Image file name",
"type": "wiki-file-name",
            "type": "wiki-file-name",
"description": "File name of a picture of the area",
            "description": "File name of a picture of the zone",
"autovalue": "none.jpeg",
            "autovalue": "No_image.jpeg",
"aliases": [
            "aliases": ["1"]
"1"
        },
],
        "caption": {
"suggested": true
            "label": "Image caption",
},
            "type": "string",
"caption": {
            "description": "Caption for the picture of the zone",
"label": "Image caption",
            "aliases": ["1"]
"type": "string",
        },
"description": "Caption for the picture of the area",
        "lead": {
"aliases": [
            "label": "zone lead",
"1"
            "type": "string",
]
            "description": "Name of the zone lead",
},
            "aliases": ["1"]
"lead": {
        },
"label": "area lead",
        "tool_testers": {
"type": "string",
            "label": "Tool testers",
"description": "Name of the area lead",
            "type": "string",
"aliases": [
            "description": "Link to the tool testing request form, or a list of tool testers",
"1"
            "autovalue": "[https://www.artisansasylum.com/tool-testing Sign up here]",
]
            "aliases": ["1"]
},
        },
"training": {
        "hours": {
"label": "Training",
            "label": "Open hours",
"type": "unbalanced-wikitext",
            "type": "string",
"description": "Link to additional clearance or training required",
            "description": "Hours that the zone is open (i.e. 9am-5pm, Mon-Fri)",
"autovalue": "[https://10bitworks.com/training]",
            "autovalue": "Same as membership hours",
"aliases": [
            "aliases": ["1"]
"1"
        }
]
    }
},
"hours": {
"label": "Open hours",
"type": "string",
"description": "Hours that the zone is open (i.e. 9am-5pm, Mon-Fri)",
"autovalue": "Same as membership hours",
"aliases": [
"1"
],
"suggestedvalues": [
"24/7",
"Same as membership hours"
],
"suggested": true
}
},
"format": "block"
}
}
</templatedata>
</templatedata>


</noinclude>
</noinclude>

Latest revision as of 19:36, 1 August 2024

{{{area_title}}}
[[File:{{{image}}}|thumb|center|250px|{{{caption}}}]]
{{{area_title}}}
Lead Unknown
Training

Unknown

Hours {{{hours}}}


Area Template

For showing off areas. To be included at top of every primary area page.

Example

{{Area
|area_title      = Electronics and Robotics
|image           = Electronics_area_overview_01.jpg
|caption         = Solder stations and work benches
|lead            = Unknown
|training        = Unknown
|hours           = Same as membership hours
}}

Copy/paste blank version

{{Area
|area_title      = 
|image           = 
|caption         = 
|lead            = 
|training        = 
|hours           = 
}}

Training Needed

If you have additional training or limits to public usage of general membership , use this format:

...
|training    = Requirement1

Requirement2

Requirement3

Requirement4
...

Adds an easily scannable information block to a area page.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Area namearea_title

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

Stringrequired
Image file nameimage 1

File name of a picture of the area

Auto value
none.jpeg
Filesuggested
Image captioncaption 1

Caption for the picture of the area

Stringoptional
area leadlead 1

Name of the area lead

Stringoptional
Trainingtraining 1

Link to additional clearance or training required

Auto value
[https://10bitworks.com/training]
Unbalanced wikitextoptional
Open hourshours 1

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

Suggested values
24/7 Same as membership hours
Auto value
Same as membership hours
Stringsuggested