Template:MachineInclusion: Difference between revisions
From CoMakingSpace Wiki
NitramLegov (talk | contribs) (Created page with "<!-- NOTE: The following block "imports" content from separate pages - please don't change the code! To edit the actual information, please go back and click "edit" next to the section headline you are interested in :-) --> {{#ask: [[MachineType::{{#if {{{lemma|}}}|{{{lemma}}}|{{PAGENAME}}]] |order=descending |format=embedded |embedonly=yes }} <noinclude> <templatedata> { "params": { "lemma": { "label": "Machine Type", "description": "The type of machines...") |
(added visible explanation) |
||
(3 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 |