Template:MachineInclusion: Difference between revisions
From CoMakingSpace Wiki
NitramLegov (talk | contribs) mNo edit summary |
NitramLegov (talk | contribs) m Bugfix |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{#ask: | {{#ask: | ||
[[MachineType::{{{lemma|{{PAGENAME}}}}}]] | [[MachineType::{{{lemma|{{PAGENAME}}}}}]]{{#if:{{{excludeoffice|}}}| | ||
|order=descending | [[Location::!Office]]| }} | ||
|order={{{order|descending}}} | |||
|format=embedded | |format=embedded | ||
|embedonly=yes | |embedonly=yes | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
== Documentation == | |||
To use this template, simply copy this code into your page's source code, ideally including the explanation: | |||
<pre> | |||
<!-- NOTE: The following line "imports" content from separate pages - please do not change the code on this page! To edit the actual information, please go back and click "edit" next to the section headline you are interested in :-) --> | |||
{{MachineInclusion}} | |||
</pre> | |||
== Template Data== | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 14: | Line 23: | ||
"description": "The type of machines you wish to include", | "description": "The type of machines you wish to include", | ||
"example": "Bandsaw" | "example": "Bandsaw" | ||
}, | |||
"order": { | |||
"label": "Sort Order", | |||
"example": "ascending", | |||
"type": "string", | |||
"default": "descending" | |||
} | } | ||
}, | }, |
Latest revision as of 18:58, 16 January 2025
Documentation
To use this template, simply copy this code into your page's source code, ideally including the explanation:
<!-- NOTE: The following line "imports" content from separate pages - please do not change the code on this page! To edit the actual information, please go back and click "edit" next to the section headline you are interested in :-) --> {{MachineInclusion}}
Template Data
This template includes the machines of a given type to the page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Machine Type | lemma | The type of machines you wish to include
| Unknown | optional |
Sort Order | order | no description
| String | optional |