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
Tag: Reverted
(Add handling for missing device pages)
 
(13 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>
{{#if:{{{Type|}}}
|-
|-
! Type
! Type
| [[Explanatory Guide Type::{{{Type|}}}]]
| [[Explanatory Guide Type::{{{Type|}}}]]
}}
{{#if:{{{Device|}}}
|-
|-
! Device(s)
! Device(s)
| {{#arraymap:{{{Device|}}}|,|x|[[Device::x]]}}
| {{#arraymap:{{{Device|}}}|,|x|[[Device::x]]}}
}}
{{#if:{{{Difficulty|}}}
|-
|-
! 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|}}}|,|x|[[Category:Explanatory guides for x]]}}
}}
</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.