Template:MachineInclusion: Difference between revisions
From CoMakingSpace Wiki
NitramLegov (talk | contribs) mNo edit summary |
(added visible explanation) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#ask: | {{#ask: | ||
[[MachineType:: | [[MachineType::{{{lemma|{{PAGENAME}}}}}]] | ||
|order=descending | |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 22: | ||
"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:54, 1 March 2024
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 |