Pages which use this template are listed at Category:Tutorials.
Template:Tutorial: Difference between revisions
| Robertbaxter (talk | contribs)  (Created page with "<noinclude>{{Class template|class=Tutorial|category=Tutorials}} </noinclude><includeonly>{{Infobox tutorial | title = {{PAGENAME}} | difficulty = {{{difficulty|}}} | time = {{{time|}}} | type = {{{type|}}} | tools = {{{tools|}}} | parts = {{{parts|}}} | errors = {{{errors|}}} }}<!-- -->Category:Tutorials</includeonly>") | Robertbaxter (talk | contribs)  No edit summary | ||
| Line 1: | Line 1: | ||
| <noinclude>{{Class template|class=Tutorial|category=Tutorials}} | <noinclude>{{Class template|class=Tutorial|category=Tutorials}} | ||
| == TemplateData == | |||
| <templatedata> | |||
| { | |||
| 	"params": { | |||
| 		"difficulty": { | |||
| 			"label": "Difficulty", | |||
| 			"description": "How complex/advanced this tutorial is to follow.", | |||
| 			"type": "string", | |||
| 			"suggestedvalues": [ | |||
| 				"Beginner", | |||
| 				"Intermediate", | |||
| 				"Expert" | |||
| 			], | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"time": { | |||
| 			"label": "Time estimate", | |||
| 			"description": "Estimate of how long this tutorial will take.", | |||
| 			"type": "string", | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"type": { | |||
| 			"label": "Tutorial type", | |||
| 			"description": "What type of tutorial this is.", | |||
| 			"type": "string", | |||
| 			"suggestedvalues": [ | |||
| 				"Maintenance", | |||
| 				"Hack", | |||
| 				"Prepress", | |||
| 				"Printing", | |||
| 				"Finishing" | |||
| 			], | |||
| 			"required": true | |||
| 		}, | |||
| 		"tools": { | |||
| 			"label": "Tools needed", | |||
| 			"description": "What tools to have on hand.", | |||
| 			"example": "Metric feeler gauge", | |||
| 			"type": "string", | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"parts": { | |||
| 			"label": "Parts needed", | |||
| 			"description": "Replacement parts needed.", | |||
| 			"type": "string", | |||
| 			"suggested": true | |||
| 		}, | |||
| 		"errors": { | |||
| 			"label": "Error codes", | |||
| 			"description": "Error codes associated with this tutorial.", | |||
| 			"type": "string", | |||
| 			"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)." | |||
| } | |||
| </templatedata> | |||
| </noinclude><includeonly>{{Infobox tutorial | </noinclude><includeonly>{{Infobox tutorial | ||
| | title = {{PAGENAME}} | | title = {{PAGENAME}} | ||
Revision as of 20:27, 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 | |
|---|---|---|---|---|
| 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 | 
| Tutorial type | type | What type of tutorial this is. 
 | String | required | 
| Tools needed | tools | What tools to have on hand. 
 | String | suggested | 
| Parts needed | parts | Replacement parts needed. | String | suggested | 
| Error codes | errors | Error codes associated with this tutorial. | String | suggested |