Difference between revisions of "Template:Infobox device"

From Appropedia
Jump to navigation Jump to search
 
(52 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|above = {{{above|[[Device]]}}}
+
|form = Infobox device
 +
|category = Devices
 +
|above = [[Device]]
 
|title = {{{title|}}}
 
|title = {{{title|}}}
 
|image = {{{image|}}}
 
|image = {{{image|}}}
 +
|caption = {{{caption|}}}
 +
 
|label1 = Description
 
|label1 = Description
 
|data1 = {{{description|}}}
 
|data1 = {{{description|}}}
|label2 = Intended use
+
|label2 = Keywords
|data2 = {{{intended-use|}}}
+
|data2 = {{#arraymap:{{{keywords|}}}|,|@|{{Property|Has keyword|@}}}}
|label3 = Keywords
+
|label3 = Uses
|data3 = {{{keywords|}}}
+
|data3 = {{#arraymap:{{{uses|}}}|,|@|{{Property|Has use|@}}}}
|label4 = Documentation language
+
|label4 = Variant of
|data4 = {{{documentation-language|}}}
+
|data4 = {{#if:{{{variant-of|}}}|[[{{{variant-of}}}]]}}
|label5 = Appropedia user
+
|label5 = Authors
|data5 = {{#if:{{{contact-appropedia-user|}}}|[[{{{contact-appropedia-user}}}]]}}
+
|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|}}}|[[{{{development-stage}}}]]}}
+
|data6 = {{#if:{{{status|}}}|{{Property|Has status|{{{status}}}}}}}
|label7 = Project was made
+
|label7 = Made?
|data7 = {{{made|}}}
+
|data7 = {{#if:{{{made|}}}|{{Property|Was made|{{{made}}}}}}}
|label7 = Project was made indpendently
+
|label8 = Replicated? {{#info:Was this project made independently by someone other than the authors and without their guidance?}}
|data7 = {{{made-indpendently|}}}
+
|data8 = {{#if:{{{replicated|}}}|{{Property|Was replicated|{{{replicated}}}}}}}
|label8 = Date of publication
+
|label9 = Published
|data8 = {{{date-published|}}}
+
|data9 = {{{date-published|}}}
|label9 = Countries of design
+
|label10 = Completed
|data9 = {{#arraymap:{{{countries-of-design|}}}|,|@|[[@]]}}
+
|data10 = {{{date-completed|}}}
|label9 = Countries of replication
+
|label11 = Updated
|data9 = {{#arraymap:{{{countries-of-replication|}}}|,|@|[[@]]}}
+
|data11 = {{{date-updated|}}}
|label10 = Project affiliation
+
|label12 = Countries of design
|data10 = {{#if:{{{project-affiliation|}}}|[[{{{project-affiliation}}}]]}}
+
|data12 = {{#arraymap:{{{countries-of-design|}}}|,|@|{{Property|Has country of origin|@}}|<br>}}
|label11 = Main materials
+
|label13 = Countries of replication
|data11 = {{#arraymap:{{{main-materials|}}}|,|@|[[@]]}}
+
|data13 = {{#arraymap:{{{countries-of-replication|}}}|,|@|{{Property|Has country of replication|@}}|<br>}}
|label12 = Estimated cost
+
|label14 = Affiliations
|data12 = {{{estimated-cost-currency|}}} {{{estimated-cost-amount|}}}
+
|data14 = {{#arraymap:{{{affiliations|}}}|,|@|[[:@|@]]|<br>}}
|label13 = SDG
+
|label15 = Materials
|data13 = {{#arraymap:{{{sustainable-development-goal|}}}|,|@|[[@]]}}
+
|data15 = {{#arraymap:{{{materials|}}}|,|@|{{Property|Has material|@}}|<br>}}
|label14 = {{{label14|}}}
+
|label16 = Estimated cost
|data14 = {{{data14|}}}
+
|data16 = {{{estimated-cost-currency|}}} {{#if:{{{estimated-cost-amount|}}}|$ {{{estimated-cost-amount}}}}}
|label15 = {{{label15|}}}
+
|label17 = Sustainable Development Goals
|data15 = {{{data15|}}}
+
|data17 = {{#arraymap:{{{sdg|}}}|,|@|{{Property|Contributes to SDG|@}}|<br>}}
|label16 = {{{label16|}}}
+
 
|data16 = {{{data16|}}}
+
|header70 = {{#if:{{{documentation-home|}}}{{{documentation-language|}}}{{{documentation-is-translation-title|}}}{{{documentation-is-translation-manifest|}}}{{{documentation-is-translation-web|}}}{{{documentation-is-translation-language|}}}|Documentation data}}
|label17 = {{{label17|}}}
+
|label71 = Home
|data17 = {{{data17|}}}
+
|data71 = {{{documentation-home|}}}
|label18 = {{{label18|}}}
+
|label72 = Language
|data18 = {{{data18|}}}
+
|data72 = {{{documentation-language|}}}
|label19 = {{{label19|}}}
+
|label73 = Is translation title?
|data19 = {{{data19|}}}
+
|data73 = {{{documentation-is-translation-title|}}}
|header90 = Manifest data
+
|label74 = Is translation manifest?
|label91 = Manifest language
+
|data74 = {{{documentation-is-translation-manifest|}}}
|data91 = {{{manifest-language|}}}
+
|label75 = Is translation web?
|label92 = Manifest date updated
+
|data75 = {{{documentation-is-translation-web|}}}
|data92 = {{{manifest-date-updated|}}}
+
|label76 = Is translation language?
|label93 = Manifest author name
+
|data76 = {{{documentation-is-translation-language|}}}
|data93 = {{{manifest-author-name|}}}
+
 
|label94 = Manifest author affiliation
+
|header80 = {{#if:{{{manifest-language|}}}{{{manifest-date-updated|}}}{{{manifest-author-name|}}}{{{manifest-author-affiliation|}}}{{{manifest-author-email|}}}|Manifest data}}
|data94 = {{{manifest-author-affiliation|}}}
+
|label81 = Language
|label95 = Manifest author email
+
|data81 = {{{manifest-language|}}}
|data95 = {{{manifest-autho-email|}}}
+
|label82 = Updated
}}<includeonly>{{#set:
+
|data82 = {{{manifest-date-updated|}}}
 +
|label83 = Author
 +
|data83 = {{{manifest-author-name|}}}
 +
|label84 = Author affiliation
 +
|data84 = {{{manifest-author-affiliation|}}}
 +
|label85 = Author email
 +
|data85 = {{{manifest-author-email|}}}
 +
}}{{#set:
 
|Has description = {{{description|}}}
 
|Has description = {{{description|}}}
|Has intended use = {{{intended-use|}}}|+sep
+
|Has keyword = {{{keywords|}}}|+sep
|Has keywords = {{{keywords|}}}|+sep
+
|Has use = {{{uses|}}}|+sep
|Has language = {{{documentation-language|}}}|+sep
+
|Is variant of = {{{variant-of|}}}
|Has documentation written in = {{{documentation-language|}}}|+sep
+
|Has author = {{{authors|}}}|+sep
|Has Appropedia username = {{{contact-appropedia-user|}}}|+sep
+
|Has status = {{ucfirst:{{{status|}}}}}
|Has development stage = {{{development-stage|}}}
+
|Was made = {{{made|}}}
|Is made = {{{made|}}}
+
|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
|Has category = Devices
+
|Type = Device
}}[[Category:Devices]]{{#default_form:Device}}</includeonly><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 'Edit with form' tab on devices.

See also[edit source]