Pages which use this template are listed at Category:Tutorials.
Template:Tutorial: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 22: | Line 22: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "tutorial_type": { | ||
"label": "Tutorial type", | "label": "Tutorial type", | ||
"description": "What type of tutorial this is.", | "description": "What type of tutorial this is.", | ||
Line 46: | Line 46: | ||
"label": "Error codes", | "label": "Error codes", | ||
"description": "Error codes associated with this tutorial." | "description": "Error codes associated with this tutorial." | ||
}, | |||
"series": { | |||
"label": "For series", | |||
"description": "The list of duplicator series this tutorial applies to.", | |||
"type": "wiki-page-name", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
"description": "The main template for the \"Tutorial\" class used on how-to type articles. This template handles semantic annotation and transcludes display templates for the data (mainly Template:Infobox tutorial)." | "description": "The main template for the \"Tutorial\" class used on how-to type articles. This template handles semantic annotation and transcludes display templates for the data (mainly Template:Infobox tutorial).", | ||
"paramOrder": [ | |||
"tutorial_type", | |||
"difficulty", | |||
"time", | |||
"series", | |||
"tools", | |||
"parts", | |||
"errors" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude><includeonly>{{Infobox tutorial | </noinclude><includeonly>{{Infobox tutorial | ||
| title = {{PAGENAME}} | | title = {{PAGENAME}} | ||
| | | tutorial_type = {{{tutorial_type|}}} | ||
| difficulty = {{{difficulty|}}} | | difficulty = {{{difficulty|}}} | ||
| time = {{{time|}}} | | time = {{{time|}}} |
Latest revision as of 21:04, 29 January 2025
TemplateData
The main template for the "Tutorial" class used on how-to type articles. This template handles semantic annotation and transcludes display templates for the data (mainly Template:Infobox tutorial).
Parameter | Description | Type | Status | |
---|---|---|---|---|
Tutorial type | tutorial_type | What type of tutorial this is.
| String | required |
Difficulty | difficulty | How complex/advanced this tutorial is to follow.
| String | suggested |
Time estimate | time | Estimate of how long this tutorial will take. | String | suggested |
For series | series | The list of duplicator series this tutorial applies to. | Page name | suggested |
Tools needed | tools | What tools to have on hand. | Unknown | optional |
Parts needed | parts | Replacement parts needed. | Unknown | optional |
Error codes | errors | Error codes associated with this tutorial. | Unknown | optional |