Template:MachineInclusion: Difference between revisions

From CoMakingSpace Wiki

m add sort order parameter
m Bugfix
 
(2 intermediate revisions by 2 users 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}}}}}]]{{#if:{{{excludeoffice|}}}|
[[Location::!Office]]| }}
  |order={{{order|descending}}}
  |order={{{order|descending}}}
  |format=embedded
  |format=embedded
Line 7: Line 7:
}}
}}
<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>
{
{

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

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Machine Typelemma

The type of machines you wish to include

Example
Bandsaw
Unknownoptional
Sort Orderorder

no description

Default
descending
Example
ascending
Stringoptional