Template:Device page and Template:Explanatory Guide: Difference between pages

Template page
(Difference between pages)
No edit summary
 
No edit summary
 
Line 1: Line 1:
<noinclude>
<noinclude>
{{#template_params:Has code name (property=Has code name)|Manufacturer (property=Manufacturer)|Device release date (property=Inception)|Device type (property=Device type)}}
{{#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>{| class="infobox" 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>{| 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;"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">[[Device::{{PAGENAME}}]]</span>
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|-
|-
! Manufacturer
{{#if:{{{Type|}}}
| [[Manufacturer::{{{Manufacturer|}}}]]
! Type
| [[Explanatory Guide Type::{{{Type|}}}]]
}}
|-
|-
! Code name
{{#if:{{{Device|}}}
| [[Has code name::{{{Has code name|}}}]]
! Device(s)
| {{#arraymap:{{{Device|}}}|,|x|[[Device::x]]}}
}}
|-
|-
! Device release date
{{#if:{{{Difficulty|}}}
| [[Inception::{{{Device release date|}}}]]
! Difficulty
|-
| [[Repair Guide difficulty::{{{Difficulty|}}}]]
! Device type
| [[Device type::{{{Device type|}}}]]
|-
|-
}}
!  
!  
|{{#ask:[[Manufacturer::{{SUBJECTPAGENAME}}]]|format=list}}
|{{#ask:[[Device::{{SUBJECTPAGENAME}}]]|format=list}}
|}
|}


[[Category:Device]]
[[Category:Explanatory guide]]
{{#if:{{{Manufacturer|}}}
|[[Category:{{{Manufacturer|}}}]]
{{#if:{{{Device type|}}}
|[[Category:{{{Manufacturer|}}} {{{Device type|}}}s]]
}}
}}


{{#if:{{{Device type|}}}
{{#if:{{{Device|}}}
|[[Category:{{{Device type|}}}s]]
{{#arraymap:{{{Device|}}}|,|x|[[Category:Explanatory guides for x]]}}
}}
}}
</includeonly>
</includeonly>
<noinclude>
<templatedata>
{
"params": {
"Manufacturer": {},
"Device release date": {},
"Device type": {},
"Has code name": {}
}
}
</templatedata>
</noinclude>

Revision as of 15:49, 16 October 2023

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.