Template:Explanatory Guide: Difference between revisions

Template page
No edit summary
(Add handling for missing device pages)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Type (label=What are you trying to explain?;property=Explanatory Guide Type)|Device (label=Device(s);list;property=Device)|Difficulty (property=Repair Guide difficulty)}}
{{#template_params:Type (label=What are you trying to explain?;property=Explanatory Guide Type)|Device (label=Device(s);list;property=Device)|Difficulty (property=Repair Guide difficulty)}}
</noinclude><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
</noinclude><includeonly>{| class="infobox"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
! class="infobox-heading" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|-
|-
! Type
! Type
Line 11: Line 11:
|-
|-
! Difficulty
! Difficulty
| [[Repair Guide difficulty::{{{Difficulty|}}}]]
| {{Repair Guide Difficulty|{{{Difficulty}}}}}
|-
|-
!
|{{#ask:[[Device::{{SUBJECTPAGENAME}}]]|format=list}}
|}
|}
[[Repair Guide difficulty::{{{Difficulty|}}}|]]


[[Category:Explanatory guide]]
[[Category:Explanatory guide]]


{{#if:{{{Device|}}}
{{#if: {{{Device|}}} | {{#arraymap: {{{Device}}} |, |@@@@ |[[Category:Explanatory guides for @@@@]] {{#ifexist: @@@@||[[Category:Missing device page]]}} | }} }}
{{#arraymap: {{{Device}}} |, |@@@@ |[[Category:Explanatory guides for @@@@]] | }}
}}
</includeonly>
</includeonly>

Latest revision as of 18:11, 9 January 2024

This is the "Explanatory Guide" template.

It should be called in the following format:

{{Explanatory Guide
|Type=
|Device=
|Difficulty=
}}

Edit the page to see the template text.