Template:EquipmentGallery: Difference between revisions
From CoMakingSpace Wiki
NitramLegov (talk | contribs) (Created page with "{{#if: {{{machines|}}} | == Machines == {{#ask: [[Location::{{PAGENAME}}]] Category:Machines | ?Has image | ?Has caption | format=gallery | navigation=auto | imageproperty=Has image | captionproperty=Has caption | sort=Has caption | redirects=- | widths = 200 | limit=500 }} }} {{#if: {{{tools|}}} | == Other Tools== {{#ask: [[Location::{{PAGENAME}}]] Category:Tools | ?Has image | ?Has caption | format=gallery | navigation=auto | imageproperty=Has image | caption...") |
NitramLegov (talk | contribs) mNo edit summary |
||
Line 32: | Line 32: | ||
}} | }} | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"machines": { | |||
"label": "Machines", | |||
"description": "Show machine gallery?", | |||
"type": "boolean" | |||
}, | |||
"tools": { | |||
"label": "Tools", | |||
"description": "Show Tool gallery?", | |||
"type": "boolean" | |||
} | |||
}, | |||
"description": "This template adds a gallery of tools at the location which equals to {{PAGENAME}}.\n\nYou can control whether it should show a gallery of machines and/or tools by setting the respective parameters:" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 21:44, 29 August 2022
This template adds a gallery of tools at the location which equals to {{PAGENAME}}. You can control whether it should show a gallery of machines and/or tools by setting the respective parameters:
Parameter | Description | Type | Status | |
---|---|---|---|---|
Machines | machines | Show machine gallery? | Boolean | optional |
Tools | tools | Show Tool gallery? | Boolean | optional |