Difference between revisions of "Template:Infobox device"

From Appropedia
Jump to navigation Jump to search
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="open-know-how-infobox">
+
{{Infobox
<div class="open-know-how-infobox-title">[[Has title::{{{title|{{PAGENAME}}}}}]]</div>
+
|headerstyle = background: #cef2ce;
<div class="open-know-how-infobox-image">{{#if:{{{image|}}}|[[Has image::File:{{{image}}}| ]][[File:{{{image}}}|175x175px|center|frameless|{{{image}}}]]}}</div>
+
|above = {{{above|[[Device]]}}}
<table class="open-know-how-infobox-data"><tr>
+
|title = {{{title|}}}
<th>Description</th>
+
|image = {{{image|}}}
<td>[[Has description::{{{description|}}}]]</td>
+
|caption = {{{caption|}}}
</tr><tr>
+
|label1 = Description
<th>Intended use</th>
+
|data1 = {{{description|}}}
<td>{{#arraymap:{{{intended-use|}}}|,|@|[[Has intended use::{{ucfirst:@}}]]}}</td>
+
|label2 = Intended use
</tr><tr>
+
|data2 = {{{intended-use|}}}
<th>Keywords</th>
+
|label3 = Keywords
<td>{{#arraymap:{{{keywords|}}}|,|@|[[Has keywords::@]]}}</td>
+
|data3 = {{{keywords|}}}
</tr><tr>
+
|label5 = Appropedia user
<th>Documentation language</th>
+
|data5 = {{#if:{{{contact-appropedia-user|}}}|[[{{{contact-appropedia-user}}}]]}}
<td>{{#arraymap:{{{documentation-language|}}}|,|@|[[Has documentation written in::{{ucfirst:@}}]][[Has language::{{ucfirst:@}}| ]]}}</td>
+
|label6 = Project status
</tr><tr>
+
|data6 = {{#if:{{{development-stage|}}}|[[{{{development-stage}}}]]}}
<th>Appropedia user</th>
+
|label7 = Project was made?
<td>{{#arraymap:{{{contact-appropedia-user|}}}|,|@|[[Has Appropedia username::@]]}}</td>
+
|data7 = {{{made|}}}
</tr><tr>
+
|label8 = Project was made indpendently?
<th>Project status</th>
+
|data8 = {{{made-indpendently|}}}
<td>[[Has development stage::{{{development-stage|}}}]]</td>
+
|label9 = Date of publication
</tr><tr>
+
|data9 = {{{date-published|}}}
<th>Project was made</th>
+
|label10 = Countries of design
<td>[[Is made::{{{made by the creator|}}}]]</td>
+
|data10 = {{#arraymap:{{{countries-of-design|}}}|,|@|[[@]]|<br>}}
</tr><tr>
+
|label11 = Countries of replication
<th>Date of publication</th>
+
|data11 = {{#arraymap:{{{countries-of-replication|}}}|,|@|[[@]]|<br>}}
<td>[[Has date of publication::{{{date-published|}}}]]</td>
+
|label12 = Project affiliation
</tr><tr>
+
|data12 = {{#if:{{{project-affiliation|}}}|[[{{{project-affiliation}}}]]}}
<th>Countries of design</th>
+
|label13 = Main materials
<td>{{#arraymap:{{{countries-of-design|}}}|,|@|[[Has country of origin::@]]}}</td>
+
|data13 = {{#arraymap:{{{main-materials|}}}|,|@|[[@]]}}
</tr><tr>
+
|label14 = Estimated cost
<th>Project affiliation</th>
+
|data14 = {{{estimated-cost-currency|}}} {{{estimated-cost-amount|}}}
<td>{{#arraymap:{{{project-afiliation|}}}|,|@|[[Has project affiliation with::@]]}}</td>
+
|label15 = SDG
</tr><tr>
+
|data15 = {{#arraymap:{{{sustainable-development-goal|}}}|,|@|[[@]]}}
<th>Main materials</th>
+
|label16 = {{{label14|}}}
<td>{{#arraymap:{{{main-materials|}}}|,|@|[[Uses material::@]]}}</td>
+
|data16 = {{{data14|}}}
</tr><tr>
+
|label17 = {{{label15|}}}
<th>Estimated cost</th>
+
|data17 = {{{data15|}}}
<td>[[Has cost currency::{{{estimated-cost-currency|}}}]] [[Has estimated cost::{{{estimated-cost-amount|}}}]]</td>
+
|label18 = {{{label16|}}}
</tr><tr>
+
|data18 = {{{data16|}}}
<th>SDG</th>
+
|label19 = {{{label17|}}}
<td>{{#arraymap:{{{sustainable-development-goal|}}}|,|@|[[Contributes to SDG::@]]}}</td>
+
|data19 = {{{data17|}}}
</tr></table></div>[[Category:OKHManifest]]</includeonly><noinclude>{{Documentation}}</noinclude>
+
|label20 = {{{label18|}}}
 +
|data20 = {{{data18|}}}
 +
|label21 = {{{label19|}}}
 +
|data21 = {{{data19|}}}
 +
 
 +
|header70 = {{#if:{{{documentation-home|}}}{{{documentation-language|}}}{{{documentation-is-translation-title|}}}{{{documentation-is-translation-manifest|}}}{{{documentation-is-translation-web|}}}{{{documentation-is-translation-language|}}}|Documentation data}}
 +
|label71 = Home
 +
|data71 = {{{documentation-home|}}}
 +
|label72 = Language
 +
|data72 = {{{documentation-language|}}}
 +
|label73 = Is translation title?
 +
|data73 = {{{documentation-is-translation-title|}}}
 +
|label74 = Is translation manifest?
 +
|data74 = {{{documentation-is-translation-manifest|}}}
 +
|label75 = Is translation web?
 +
|data75 = {{{documentation-is-translation-web|}}}
 +
|label76 = Is translation language?
 +
|data76 = {{{documentation-is-translation-language|}}}
 +
 
 +
|header80 = {{#if:{{{manifest-language|}}}{{{manifest-date-updated|}}}{{{manifest-author-name|}}}{{{manifest-author-affiliation|}}}{{{manifest-author-email|}}}|Manifest data}}
 +
|label81 = Language
 +
|data81 = {{{manifest-language|}}}
 +
|label82 = Updated
 +
|data82 = {{{manifest-date-updated|}}}
 +
|label83 = Author
 +
|data83 = {{{manifest-author-name|}}}
 +
|label84 = Author affiliation
 +
|data84 = {{{manifest-author-affiliation|}}}
 +
|label85 = Author email
 +
|data85 = {{{manifest-author-email|}}}
 +
}}<includeonly>{{#set:
 +
|Has description = {{{description|}}}
 +
|Has intended use = {{{intended-use|}}}|+sep
 +
|Has keywords = {{{keywords|}}}|+sep
 +
|Has language = {{{documentation-language|}}}|+sep
 +
|Has documentation written in = {{{documentation-language|}}}|+sep
 +
|Has Appropedia username = {{{contact-appropedia-user|}}}|+sep
 +
|Has development stage = {{{development-stage|}}}
 +
|Is made = {{{made|}}}
 +
|Has date of publication = {{{date-published|}}}
 +
|Has country of origin = {{{countries-of-design|}}}|+sep
 +
|Has country of replication = {{{countries-of-replication|}}}|+sep
 +
|Has project affiliation with = {{{project-affiliation|}}}|+sep
 +
|Uses material = {{{main-materials|}}}|+sep
 +
|Has cost currency = {{{estimated-cost-currency|}}}
 +
|Has estimated cost = {{{estimated-cost-amount|}}}
 +
|Contributes to SDG = {{{sustainable-development-goal|}}}|+sep
 +
|Has category = Devices
 +
}}{{#if:{{NAMESPACE}}||[[Category:Devices]]}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 13:54, 25 September 2020

Device
Infobox device
[view] [edit] [history] [purge] Documentation icon Template documentation

This template inserts the infobox for devices.

Usage[edit]

{{Infobox device
|title=
|description=
|intended-use=
|keywords=
|project-link=
|health-safety-notice=
|contact-name=
|contact-affiliation=
|contact-email=
|contact-appropedia-user=
|contributor-name=
|image=
|version=
|development-stage=
|made=
|made-independently=
|standards-used=
|derivative-of=
|license-hardware=
|license-documentation=
|license-software=
|licensor=
|documentation-home=
|archive-download=
|design-files=
|schematics=
|bom=
|tool-list=
|making-instructions=
|manufacturing-files=
|risk-assessment=
|tool-settings=
|quality-instructions=
|operating-instructions=
|maintenance-instructions=
|disposal-instructions=
|software=
|manifest-language=
|documentation-language=
|manifest-date-created=
|manifest-date-updated=
|manifest-author-name=
|manifest-author-affiliation=
|manifest-author-email=
|manifest-is-translation-title=
|manifest-is-translation-manifest=
|manifest-is-translation-web=
|manifest-is-translation-language=
|documentation-is-translation-title=
|documentation-is-translation-manifest=
|documentation-is-translation-web=
|documentation-is-translation-language=
|date-published=
|countries-of-design=
|project-affiliation=
|main-materials=
|estimated-cost-amount=
|estimated-cost-currency=
|countries-of-replication=
|sustainable-development-goal=
}}

See also[edit]