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 | ||
| (3 intermediate revisions 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 37: | Line 37: | ||
| 		"tools": { | 		"tools": { | ||
| 			"label": "Tools needed", | 			"label": "Tools needed", | ||
| 			"description": "What tools to have on hand." | 			"description": "What tools to have on hand." | ||
| 		}, | 		}, | ||
| 		"parts": { | 		"parts": { | ||
| 			"label": "Parts needed", | 			"label": "Parts needed", | ||
| 			"description": "Replacement parts needed." | 			"description": "Replacement parts needed." | ||
| 		}, | 		}, | ||
| 		"errors": { | 		"errors": { | ||
| 			"label": "Error codes", | 			"label": "Error codes", | ||
| 			"description": "Error codes associated with this tutorial.", | 			"description": "Error codes associated with this tutorial." | ||
| 			"type": " | 		}, | ||
| 		"series": { | |||
| 			"label": "For series", | |||
| 			"description": "The list of duplicator series this tutorial applies to.", | |||
| 			"type": "wiki-page-name", | |||
| 			"suggested": true | 			"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|}}} | ||
| Line 68: | Line 76: | ||
| | errors = {{{errors|}}} | | errors = {{{errors|}}} | ||
| }}<!-- | }}<!-- | ||
| -->[[Category:Tutorials]]</includeonly> | -->[[Category:Tutorials]][[Category:Resources]]</includeonly> | ||
Latest revision as of 09:09, 8 September 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 |