Difference between revisions of "Template:EventDeviceElem"

From Herocopia
Jump to: navigation, search
m
(set type and subtype in device templates (one two float))
 
(One intermediate revision 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 17: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.