Difference between revisions of "Template:Infobox device"

From Appropedia
Jump to navigation Jump to search
Line 20: Line 20:
 
|data8 = {{{date-published|}}}
 
|data8 = {{{date-published|}}}
 
|label9 = Countries of design
 
|label9 = Countries of design
|data9 = {{#arraymap:{{{countries-of-design|}}}|,|x|[[x]]}}
+
|data9 = {{#arraymap:{{{countries-of-design|}}}|,|@|[[@]]}}
 
|label10 = Project affiliation
 
|label10 = Project affiliation
 
|data10 = {{#if:{{{project-affiliation|}}}|[[{{{project-affiliation}}}]]}}
 
|data10 = {{#if:{{{project-affiliation|}}}|[[{{{project-affiliation}}}]]}}
 
|label11 = Main materials
 
|label11 = Main materials
|data11 = {{#arraymap:{{{main-materials|}}}|,|x|[[x]]}}
+
|data11 = {{#arraymap:{{{main-materials|}}}|,|@|[[@]]}}
 
|label12 = Estimated cost
 
|label12 = Estimated cost
 
|data12 = {{{estimated-cost-currency|}}} {{{estimated-cost-amount|}}}
 
|data12 = {{{estimated-cost-currency|}}} {{{estimated-cost-amount|}}}
 
|label13 = SDG
 
|label13 = SDG
|data13 = {{#arraymap:{{{sustainable-development-goal|}}}|,|x|[[x]]}}
+
|data13 = {{#arraymap:{{{sustainable-development-goal|}}}|,|@|[[@]]}}
}}<includeonly>{{#subobject:
+
}}<includeonly>{{#set:
 
|Has title = {{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
 
|Has title = {{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}
 
|Has image = {{#ifexist:Media:{{{image|}}}|File:{{{image}}}}}
 
|Has image = {{#ifexist:Media:{{{image|}}}|File:{{{image}}}}}

Revision as of 16:26, 22 September 2020

Infobox device

Template documentation[edit]

This template is used on devices.

Usage

Basic usage is by clicking on the 'Edit with form' tab on devices.

See also