Template:Tutorial: Difference between revisions

From stencil.wiki
(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>")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
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
},
"tutorial_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."
},
"parts": {
"label": "Parts needed",
"description": "Replacement parts needed."
},
"errors": {
"label": "Error codes",
"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).",
"paramOrder": [
"tutorial_type",
"difficulty",
"time",
"series",
"tools",
"parts",
"errors"
]
}
</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|}}}
| type = {{{type|}}}
| series = {{{series|}}}
| tools = {{{tools|}}}
| tools = {{{tools|}}}
| parts = {{{parts|}}}
| parts = {{{parts|}}}

Latest revision as of 21:04, 29 January 2025

Warning: Class template
This is the main template for the Tutorial class—it should primarily be used with Form:Tutorial to create or edit associated pages, and not invoked in other circumstances. Most of the content can be edited with the VisualEditor, but for best functionality please use the specified form.

Pages which use this template are listed at Category:Tutorials.

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).

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Tutorial typetutorial_type

What type of tutorial this is.

Suggested values
Maintenance Hack Prepress Printing Finishing
Stringrequired
Difficultydifficulty

How complex/advanced this tutorial is to follow.

Suggested values
Beginner Intermediate Expert
Stringsuggested
Time estimatetime

Estimate of how long this tutorial will take.

Stringsuggested
For seriesseries

The list of duplicator series this tutorial applies to.

Page namesuggested
Tools neededtools

What tools to have on hand.

Unknownoptional
Parts neededparts

Replacement parts needed.

Unknownoptional
Error codeserrors

Error codes associated with this tutorial.

Unknownoptional