Template:Area: Difference between revisions

From 10BitWorks Makerspace Wiki

No edit summary
Tag: Manual revert
mNo edit summary
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 zone page.",
    "params": {
"params": {
        "zone_title": {
"zone_title": {
            "label": "Zone name",
"label": "Zone name",
            "type": "string",
"type": "string",
            "required": true,
"required": true,
            "description": "Name of the zone (i.e. Metal, Wood)",
"description": "Name of the zone (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 zone",
            "description": "File name of a picture of the zone",
"autovalue": "none.jpeg",
            "autovalue": "none.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 zone",
        "lead": {
"aliases": [
            "label": "zone lead",
"1"
            "type": "string",
]
            "description": "Name of the zone lead",
},
            "aliases": ["1"]
"lead": {
        },
"label": "zone lead",
        "training": {
"type": "string",
            "label": "Training",
"description": "Name of the zone lead",
            "type": "string",
"aliases": [
            "description": "Link to additional clearance or training required",
"1"
            "autovalue": "[https://10bitworks.com/training]",
]
            "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"
],
"suggested": true
}
},
"format": "block"
}
}
</templatedata>
</templatedata>


</noinclude>
</noinclude>

Revision as of 00:26, 13 April 2024

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

Unknown

Hours {{{hours}}}


Zone Template

For showing off zones. To be included at top of every primary zone page.

Example

{{Zone
|zone_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

{{Zone
|zone_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 zone page.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Zone namezone_title

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

Stringrequired
Image file nameimage 1

File name of a picture of the zone

Auto value
none.jpeg
Filesuggested
Image captioncaption 1

Caption for the picture of the zone

Stringoptional
zone leadlead 1

Name of the zone 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
Auto value
Same as membership hours
Stringsuggested