Difference between revisions of "Template:Infobox device"

From Appropedia
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|title = {{{title|}}}
 
|title = {{{title|}}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
|image-size = {{{image-size|}}}
 
 
|caption = {{{caption|}}}
 
|caption = {{{caption|}}}
  
 
|label1 = Description
 
|label1 = Description
 
|data1 = {{{description|}}}
 
|data1 = {{{description|}}}
|label2 = Intended use
+
|label2 = Keywords
|data2 = {{#arraymap:{{{intended-use|}}}|,|@|{{Property|Has intended use|@}}}}
+
|data2 = {{#arraymap:{{{keywords|}}}|,|@|{{Property|Has keyword|@}}}}
|label3 = Keywords
+
|label3 = Uses
|data3 = {{#arraymap:{{{keywords|}}}|,|@|{{Property|Has keyword|@}}}}
+
|data3 = {{#arraymap:{{{uses|}}}|,|@|{{Property|Has use|@}}}}
 +
|label4 = Variant of
 +
|data4 = {{#if:{{{variant-of|}}}|[[{{{variant-of}}}]]}}
 
|label5 = Authors
 
|label5 = Authors
 
|data5 = {{#arraymap:{{{authors|}}}|,|@|{{#ifexist:@|[[@|{{#if:{{#show:@|?Has name}}|{{#show:@|?Has name}}|{{#if:{{REALNAME:@}}|{{REALNAME:@}}|{{PAGENAME:@}}}}}}]]|@}}|<br>}}
 
|data5 = {{#arraymap:{{{authors|}}}|,|@|{{#ifexist:@|[[@|{{#if:{{#show:@|?Has name}}|{{#show:@|?Has name}}|{{#if:{{REALNAME:@}}|{{REALNAME:@}}|{{PAGENAME:@}}}}}}]]|@}}|<br>}}
|label6 = Project status
+
|label6 = Status
|data6 = {{#if:{{{development-stage|}}}|{{Property|Has development stage|{{{development-stage}}}}}}}
+
|data6 = {{#if:{{{status|}}}|{{Property|Has status|{{{status}}}}}}}
|label7 = Project was made?
+
|label7 = Made?
|data7 = {{#if:{{{made|}}}|{{Property|Is made|{{{made}}}}}}}
+
|data7 = {{#if:{{{made|}}}|{{Property|Was made|{{{made}}}}}}}
|label8 = Project was made independently?
+
|label8 = Replicated? {{#info:Was this project made independently by someone other than the authors and without their guidance?}}
|data8 = {{#if:{{{made-independently|}}}|{{Property|Is made independently|{{{made-independently}}}}}}}
+
|data8 = {{#if:{{{replicated|}}}|{{Property|Was replicated|{{{replicated}}}}}}}
|label9 = Date of publication
+
|label9 = Published
 
|data9 = {{{date-published|}}}
 
|data9 = {{{date-published|}}}
|label10 = Countries of design
+
|label10 = Completed
|data10 = {{#arraymap:{{{countries-of-design|}}}|,|@|{{Property|Has country of origin|@}}|<br>}}
+
|data10 = {{{date-completed|}}}
|label11 = Countries of replication
+
|label11 = Updated
|data11 = {{#arraymap:{{{countries-of-replication|}}}|,|@|{{Property|Has country of replication|@}}|<br>}}
+
|data11 = {{{date-updated|}}}
|label12 = Project affiliation
+
|label12 = Countries of design
|data12 = {{#arraymap:{{{project-affiliation|}}}|,|@|[[:@|@]]|<br>}}
+
|data12 = {{#arraymap:{{{countries-of-design|}}}|,|@|{{Property|Has country of origin|@}}|<br>}}
|label13 = Main materials
+
|label13 = Countries of replication
|data13 = {{#arraymap:{{{main-materials|}}}|,|@|{{Property|Uses material|@}}|<br>}}
+
|data13 = {{#arraymap:{{{countries-of-replication|}}}|,|@|{{Property|Has country of replication|@}}|<br>}}
|label14 = Estimated cost
+
|label14 = Affiliations
|data14 = {{{estimated-cost-currency|}}} {{#if:{{{estimated-cost-amount|}}}|$ {{{estimated-cost-amount}}}}}
+
|data14 = {{#arraymap:{{{affiliations|}}}|,|@|[[:@|@]]|<br>}}
|label15 = Sustainable Development Goals
+
|label15 = Materials
|data15 = {{#arraymap:{{{sustainable-development-goal|}}}|,|@|{{Property|Contributes to SDG|@}}|<br>}}
+
|data15 = {{#arraymap:{{{materials|}}}|,|@|{{Property|Has material|@}}|<br>}}
 +
|label16 = Estimated cost
 +
|data16 = {{{estimated-cost-currency|}}} {{#if:{{{estimated-cost-amount|}}}|$ {{{estimated-cost-amount}}}}}
 +
|label17 = Sustainable Development Goals
 +
|data17 = {{#arraymap:{{{sdg|}}}|,|@|{{Property|Contributes to SDG|@}}|<br>}}
  
 
|header70 = {{#if:{{{documentation-home|}}}{{{documentation-language|}}}{{{documentation-is-translation-title|}}}{{{documentation-is-translation-manifest|}}}{{{documentation-is-translation-web|}}}{{{documentation-is-translation-language|}}}|Documentation data}}
 
|header70 = {{#if:{{{documentation-home|}}}{{{documentation-language|}}}{{{documentation-is-translation-title|}}}{{{documentation-is-translation-manifest|}}}{{{documentation-is-translation-web|}}}{{{documentation-is-translation-language|}}}|Documentation data}}
Line 64: Line 69:
 
}}{{#set:
 
}}{{#set:
 
|Has description = {{{description|}}}
 
|Has description = {{{description|}}}
|Has intended use = {{{intended-use|}}}|+sep
 
 
|Has keyword = {{{keywords|}}}|+sep
 
|Has keyword = {{{keywords|}}}|+sep
 +
|Has use = {{{uses|}}}|+sep
 +
|Is variant of = {{{variant-of|}}}
 
|Has author = {{{authors|}}}|+sep
 
|Has author = {{{authors|}}}|+sep
|Has development stage = {{{development-stage|}}}
+
|Has status = {{ucfirst:{{{status|}}}}}
|Is made = {{{made|}}}
+
|Was made = {{{made|}}}
|Is made independently = {{{made-independently|}}}
+
|Was replicated = {{{replicated|}}}
 
|Has date of publication = {{{date-published|}}}
 
|Has date of publication = {{{date-published|}}}
 
|Has country of origin = {{{countries-of-design|}}}|+sep
 
|Has country of origin = {{{countries-of-design|}}}|+sep
 
|Has country of replication = {{{countries-of-replication|}}}|+sep
 
|Has country of replication = {{{countries-of-replication|}}}|+sep
|Has project affiliation with = {{{project-affiliation|}}}|+sep
+
|Has affiliation = {{{affiliations|}}}|+sep
|Uses material = {{{main-materials|}}}|+sep
+
|Has material = {{{materials|}}}|+sep
 
|Has cost currency = {{{estimated-cost-currency|}}}
 
|Has cost currency = {{{estimated-cost-currency|}}}
 
|Has estimated cost = {{{estimated-cost-amount|}}}
 
|Has estimated cost = {{{estimated-cost-amount|}}}
|Contributes to SDG = {{{sustainable-development-goal|}}}|+sep
+
|Contributes to SDG = {{{sdg|}}}|+sep
 
|Type = Device
 
|Type = Device
 
}}<noinclude>{{Documentation}}</noinclude>
 
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 13:19, 28 October 2020

Edit the infobox
Infobox device

Template documentation[edit]

This template is used on devices.

Usage[edit source]

Basic usage is by clicking on the pencil icon on the infobox.

See also[edit source]