Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Explanatory Guide: Difference between revisions

Template page
No edit summary
(Add handling for missing device pages)
 
(3 intermediate revisions by the same user 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|}}} | {{#arraymap: {{{Device}}} |, |@@@@ |[[Category:Explanatory guides for @@@@]] | }} }}
{{#if: {{{Device|}}} | {{#arraymap: {{{Device}}} |, |@@@@ |[[Category:Explanatory guides for @@@@]] {{#ifexist: @@@@||[[Category:Missing device page]]}} | }} }}
</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.