Pages which use this infobox are listed at Category:Tutorials.
Template:Infobox tutorial: Difference between revisions
Robertbaxter (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
=== Subtemplates === | === Subtemplates === | ||
Two subtemplates support this display: | |||
* [[Template:Infobox tutorial/part]] displays a part with number and name. | * [[Template:Infobox tutorial/part]] displays a part with number and name. | ||
* [[Template:Infobox tutorial/error]] an associated error code with the error message as tooltip text. | * [[Template:Infobox tutorial/error]] an associated error code with the error message as tooltip text. | ||
</noinclude><!-- | </noinclude><!-- | ||
--><includeonly>{| align="right" class="infobox" | --><includeonly>{| align="right" class="infobox" style="max-width:350px" | ||
|- | |- | ||
! colspan="2" class="infobox-title" | {{{title}}} | ! colspan="2" class="infobox-title" | {{{title}}} | ||
Line 15: | Line 14: | ||
-->{{#if:{{{difficulty|}}}|<tr><th scope="row">Difficulty</th><td>{{{difficulty}}}</td></tr>|}}<!-- | -->{{#if:{{{difficulty|}}}|<tr><th scope="row">Difficulty</th><td>{{{difficulty}}}</td></tr>|}}<!-- | ||
-->{{#if:{{{time|}}}|<tr><th scope="row">Duration</th><td>{{{time}}}</td></tr>|}}<!-- | -->{{#if:{{{time|}}}|<tr><th scope="row">Duration</th><td>{{{time}}}</td></tr>|}}<!-- | ||
-->{{#if:{{{series|}}}|<tr><th scope="row">For series</th><td>{{{series}}}</td></tr>|}}<!-- | -->{{#if:{{{series|}}}|<tr><th scope="row">For series</th><td>{{#arraymap:{{{series}}}|,|@@@@|[[@@@@|{{#show:@@@@|?Is series}}]]|, }}</td></tr>|}}<!-- | ||
-->{{#if:{{{tools|}}}|<tr><th scope="row">Tools</th><td> | -->{{#if:{{{tools|}}}|<tr><th scope="row">Tools</th><td>{{#arraymap:{{{tools}}}|,|@@@@|<div>@@@@</div>|}}</td></tr>|}}<!-- | ||
-->{{#if:{{{parts|}}}|<tr><th scope="row">Parts</th><td>{{{parts}}}</td></tr>|}}<!-- | -->{{#if:{{{parts|}}}|<tr><th scope="row">Parts</th><td>{{{parts}}}</td></tr>|}}<!-- | ||
-->{{#if:{{{errors|}}}|<tr><th scope="row"> | -->{{#if:{{{errors|}}}|<tr><th scope="row">Error codes</th><td>{{{errors}}}</td></tr>|}} | ||
|}<!-- | |}<!-- | ||
--></includeonly> | --></includeonly> |
Latest revision as of 14:37, 4 February 2025
This infobox displays the key information about a Tutorial—a how-to article.
Subtemplates
Two subtemplates support this display:
- Template:Infobox tutorial/part displays a part with number and name.
- Template:Infobox tutorial/error an associated error code with the error message as tooltip text.