Difference between revisions of "Template:EventDeviceElem"

From Herocopia
Jump to navigation Jump to search
(supress subtype if not present)
(set type and subtype in device templates (one two float))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{EventElement
 
{{EventElement
 
|element ={{{element}}}
 
|element ={{{element}}}
−
|type    = device
+
|type    = {{#show: {{{element}}}| ?type }}
−
|subtype = {{if: {{{devicetype|}}}|{{{devicetype}}}| }}
+
|subtype = {{#show: {{{element}}}| ?subtype }}
−
|link  = {{#if: {{{link|}}}|no|}}
+
<!-- |link  = {{#if: {{{link|}}}|no|}} -->
 
}}
 
}}
−
 
−
{{#set:name={{{element}}} | elementType=Device | subtype={{{devicetype}}} }}
 

Latest revision as of 16:03, 25 September 2015

[[{{{element}}}]] Property "Name" (as page type) with input value "{{{element}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.