Template:EquipmentGallery: Difference between revisions
From CoMakingSpace Wiki
NitramLegov (talk | contribs) mNo edit summary |
NitramLegov (talk | contribs) m (debugging :)) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{machines|}}} | | {{#if: {{{machines|}}} | | ||
== Machines == | == Machines == | ||
{{#ask: [[Location::{{#if:{{{location|}}} | location | {{PAGENAME}}}}]] [[Category:Machines]] | {{#ask: [[Location::{{#if: {{{location|}}} |{{{location}}}| {{PAGENAME}} }} ]] [[Category:Machines]] | ||
| ?Has image | | ?Has image | ||
| ?Has caption | | ?Has caption | ||
| ?MachineType | |||
| format=gallery | | format=gallery | ||
| navigation=auto | | navigation=auto | ||
Line 9: | Line 10: | ||
| captionproperty=Has caption | | captionproperty=Has caption | ||
| sort=Has caption | | sort=Has caption | ||
| redirects= | | redirects=MachineType | ||
| widths = 200 | | widths = 200 | ||
| limit=500 | | limit=500 | ||
Line 18: | Line 19: | ||
{{#if: {{{tools|}}} | | {{#if: {{{tools|}}} | | ||
== Other Tools== | == Other Tools== | ||
{{#ask: [[Location::{{#if:{{{location|}}} | location | {{PAGENAME}}}}]] [[Category:Tools]] | {{#ask: [[Location::{{#if:{{{location|}}}|{{{location}}}|{{PAGENAME}}}}]] [[Category:Tools]] | ||
| ?Has image | | ?Has image | ||
| ?Has caption | | ?Has caption |
Latest revision as of 22:12, 24 October 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 |