Template:MachineInclusion: Difference between revisions

From CoMakingSpace Wiki

mNo edit summary
(added visible explanation)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<!--  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:
{{#ask:
  [[MachineType::{{{lemma|{{PAGENAME}}}}}]]
  [[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

Template parameters

ParameterDescriptionTypeStatus
Machine Typelemma

The type of machines you wish to include

Example
Bandsaw
Unknownoptional
Sort Orderorder

no description

Default
descending
Example
ascending
Stringoptional