More actions
No edit summary Tag: Manual revert |
(Add handling for missing device pages) |
||
(10 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>{| | </noinclude><includeonly>{| class="infobox" | ||
! | ! class="infobox-heading" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span> | ||
|- | |- | ||
! Type | ! Type | ||
| [[Explanatory Guide Type::{{{Type|}}}]] | | [[Explanatory Guide Type::{{{Type|}}}]] | ||
|- | |- | ||
! Device(s) | ! Device(s) | ||
| {{#arraymap:{{{Device|}}}|,|x|[[Device::x]]}} | | {{#arraymap:{{{Device|}}}|,|x|[[Device::x]]}} | ||
|- | |- | ||
! Difficulty | ! Difficulty | ||
| | | {{Repair Guide Difficulty|{{{Difficulty}}}}} | ||
|- | |- | ||
|} | |} | ||
[[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 | |||
}} | |||
</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.