Difference between revisions of "Template:Infobox device"

From Appropedia
Jump to navigation Jump to search
(2 intermediate revisions by the same user not shown)
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 image = {{#ifexist:Media:{{{image|}}}|File:{{{image}}}}}
 
|Has category = Device
 
 
|Has description = {{{description|}}}
 
|Has description = {{{description|}}}
 
|Has intended use = {{{intended-use|}}}|+sep
 
|Has intended use = {{{intended-use|}}}|+sep
Line 48: Line 45:
 
|Has estimated cost = {{{estimated-cost-amount|}}}
 
|Has estimated cost = {{{estimated-cost-amount|}}}
 
|Contributes to SDG = {{{sustainable-development-goal|}}}|+sep
 
|Contributes to SDG = {{{sustainable-development-goal|}}}|+sep
 +
|Has category = Devices
 
}}[[Category:Devices]]{{#default_form:Device}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
}}[[Category:Devices]]{{#default_form:Device}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 17:46, 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