Difference between revisions of "Infobox (Body-worn Wearables)"

From HCE Wiki - The Human Cognitive Enhancement Wiki
Jump to navigation Jump to search
(added links to the new template)
(a correction)
 
(9 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table style="border: 1px solid #AAA; border-spacing: 3px; background-color: #F9F9F9; color: #000; margin: 0.5em 0px 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width:22em">
+
{{BodyWornWearables|
 +
name_of_device=Foo|
 +
image_file_name=|
 +
category=|
 +
developer=Google, Inc.|
 +
developer_commentary=|
 +
announced=|
 +
announced_commentary=|
 +
developer_release=|
 +
developer_release_commentary=|
 +
consumers_release=|
 +
consumers_release_commentary=|
 +
price=0|
 +
price_commentary=|
 +
operating_system=|
 +
operating_system_commentary=|
 +
sensors1=no|
 +
sensors_commentary=|
 +
weight=0|
 +
weight_commentary=(test)|
 +
controls1=touchpad|
 +
controls2=buttons|
 +
controls10=remote|
 +
controls_commentary=|
 +
data_available=|
 +
risk_factor=|
 +
standalone_not_standalone=Standalone-Not Standalone|
 +
link_to_website=|
 +
}}
 +
This page describes the infobox template used to annotate all entries listed under the [[:Category:Wearables|Wearables]] category. You can see an example of this type of infobox to the right.
  
<!--<caption></caption>-->
+
This page is intended for copying and pasting the [[:Category:Body-worn_Wearables]] template of an Infobox. For general help about Infoboxes and for other than the Wearables category templates, head to the [[Entry_template#Infobox_template|Infobox template section]] in the [[Entry template]] article.
  
<tr>
+
The underlying template is located at [[Template:BodyWornWearables]].
<th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">Name of the technology/device</th>
 
</tr>
 
 
 
<tr>
 
<td colspan="2" style="text-align:center">[[File:Infobox_image_template.png|250px]]
 
</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Category</th>
 
<td>wearables</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Developer</th>
 
<td>###</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Announced</th>
 
<td>###</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Released</th>
 
<td>Developers: ###
 
<br/>Consumers: ###</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Price</th>
 
<td>###</td>
 
</tr>
 
 
 
<tr>
 
<td colspan="2" style="text-align:center">
 
<div style="padding-bottom:0.25em;border-bottom:1px dashed #ccc;"></div>
 
</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Operating system</th>
 
<td>###</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Sensors</th>
 
<td>###</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Weight</th>
 
<td>### g</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Controls</th>
 
<td>###</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Data available</th>
 
<td>###</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Risk factor</th>
 
<td>###</td>
 
</tr>
 
 
 
<tr>
 
<td colspan="2" style="text-align:center">Standalone/Not standalone<ref>Shows if the device is a standalone wearable computer or if it needs to be connected to a processing unit to function.</ref></td>
 
</tr>
 
 
 
<tr>
 
<td colspan="2" style="text-align:center">Link to website if any exist</td>
 
</tr>
 
 
 
</table>
 
 
 
This page describes the infobox template used to annotate all entries listed under the [[:Category:Wearables|Wearables]] category. You can see an example to the right.
 
 
 
This page is intended for copying and pasting the [[Wearables]] template of an Infobox. For general help about Infoboxes, and the other than the Wearables category templates, head to the [[Entry_template#Infobox_template|Infobox template section]] in the [[Entry template]] article.
 
  
 
== Usage ==
 
== Usage ==
Line 99: Line 45:
 
white-space: -o-pre-wrap;  
 
white-space: -o-pre-wrap;  
 
word-wrap: break-word;
 
word-wrap: break-word;
width:70%;
+
width:70%;">
font-size:90%;">
+
{{BodyWornWearables|
 
+
name_of_device=###|
<table style="border: 1px solid #AAA; border-spacing: 3px; background-color: #F9F9F9; color: #000; margin: 0.5em 0px 0.5em 1em; padding: 0.2em; float: right; clear: right; font-size: 88%; line-height: 1.5em; width:22em">
+
image_file_name=###|
 
+
category=###|
<tr>
+
developer=###|
<th colspan="2" style="text-align:center;font-size:125%;font-weight:bold">NAME OF THE TECHNOLOGY/DEVICE</th>
+
developer_commentary=###|
</tr>
+
announced=###|
 
+
announced_commentary=###|
<tr>
+
developer_release=###|
<td colspan="2" style="text-align:center">[[File:Infobox_image_template.png|250px]]
+
developer_release_commentary=###|
</td>
+
consumers_release=###|
</tr>
+
consumers_release_commentary=###|
 
+
price=###|
<tr>
+
price_commentary=###|
<th scope="row">Category</th>
+
operating_system=###|
<td>[[Is categorized as::wearables]]</td>
+
operating_system_commentary=###|
</tr>
+
sensors1=###|
 
+
sensors_commentary=###|
<tr>
+
weight=###|
<th scope="row">Developer</th>
+
weight_commentary=###|
<td>[[Developed by::###]]</td>
+
controls1=###|
</tr>
+
controls_commentary=###|
 
+
data_available=###|
<tr>
+
risk_factor=###|
<th scope="row">Announced</th>
+
standalone_not_standalone=Standalone-Not Standalone|
<td>[[Announced in::###]]</td>
+
link_to_website=###|
</tr>
+
}}
 
+
</pre>
<tr>
 
<th scope="row">Released</th>
 
<td>Developers: [[Released for developers in::###]]
 
<br/>Consumers: [[Released for consumers::###]]</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Price</th>
 
<td>[[Costs::###]] USD</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Operating system</th>
 
<td>[[Operating system is::###]]</td>
 
</tr>
 
  
<tr>
+
You may have noticed that some of the fields are numbered (i.e., <code>controls1=</code> and <code>sensors1=</code>). This is  to fit more than one value for the same field, if the device in question has more than one control option for example. If you wish to display more control options take the already existing value <code>controls1=</code> and simply increase the number so it looks like this <code>controls2=</code>, <code>controls3=</code>, and so on. Try not to skip any numbers. The maximum number is 10.
<th scope="row">Sensors</th>
 
<td>[[Has sensors::###]]</td>
 
</tr>
 
  
<tr>
+
Some fields allow you to assign references to them. Write the full reference text inside the relevant <code>..._commentary=</code> field, including the <code><nowiki><ref></ref></nowiki></code> tags. Here is an example taken from [[Google Cardboard]] infobox: <code><nowiki>announced_commentary=<ref name="time14">LUCKERSON, Victor. Google Just Released Its Most Low-Tech Product Ever. TIME [online]. 2014, 25 June. Available online at: http://time.com/2923531/google-cardboard-app/ (Retrieved 21 October 2015))</ref>|</nowiki></code>
<th scope="row">Weight</th>
 
<td>[[Weights::###]] g</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Controls</th>
 
<td>[[Controls are::###]]</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Data available</th>
 
<td>[[Data available are::###]]</td>
 
</tr>
 
 
 
<tr>
 
<th scope="row">Risk factor</th>
 
<td>[[Possible hazard is::###]]</td>
 
</tr>
 
 
 
<tr>
 
<td colspan="2" style="text-align:center">Standalone/Not standalone<ref>Shows if the device is a standalone wearable computer or if it needs to be connected to a processing unit to function.</ref></td>
 
</tr>
 
 
 
<tr>
 
<td colspan="2" style="text-align:center">LINK TO WEBSITE IF IT EXISTS</td>
 
</tr>
 
 
 
</table>
 
 
 
</pre>
 
  
== New work-in-progress template ==
+
The <code>standalone_not_standalone</code> field already contains both possible values. To indicate one or the other, simply remove the value that is not correct. Here is an example if the device is indeed standalone: <code>standalone_not_standalone=Standalone|</code>
  
For now, you can find the upcoming template in [[Template:Testovaci]]. You can see it in action in [[Google Cardboard]].
+
You can see the whole template in action in [[Google Cardboard]]. Display the source code of the page to see it's infobox template filled in.
  
 
[[Category:Guides]]
 
[[Category:Guides]]
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 14:35, 13 June 2017

Foo
[[File:|250px]]
Category
Developer Google, Inc.
Announced
Released Developers:
Consumers:
Price 0 USD
Operating system
Sensors

no

Weight 0 g (test)
Controls

touchpad, buttons, remote

Data available
Risk factor
Standalone-Not Standalone

This page describes the infobox template used to annotate all entries listed under the Wearables category. You can see an example of this type of infobox to the right.

This page is intended for copying and pasting the Category:Body-worn_Wearables template of an Infobox. For general help about Infoboxes and for other than the Wearables category templates, head to the Infobox template section in the Entry template article.

The underlying template is located at Template:BodyWornWearables.

Usage

To start using the infobox template, copy and paste the code below to the top of the page you are creating or editing.

Then you need to replace the ### with relevant information. If the data are not available, remove the ### and leave the space blank.

{{BodyWornWearables|
name_of_device=###|
image_file_name=###|
category=###|
developer=###|
developer_commentary=###|
announced=###|
announced_commentary=###|
developer_release=###|
developer_release_commentary=###|
consumers_release=###|
consumers_release_commentary=###|
price=###|
price_commentary=###|
operating_system=###|
operating_system_commentary=###|
sensors1=###|
sensors_commentary=###|
weight=###|
weight_commentary=###|
controls1=###|
controls_commentary=###|
data_available=###|
risk_factor=###|
standalone_not_standalone=Standalone-Not Standalone|
link_to_website=###|
}}

You may have noticed that some of the fields are numbered (i.e., controls1= and sensors1=). This is to fit more than one value for the same field, if the device in question has more than one control option for example. If you wish to display more control options take the already existing value controls1= and simply increase the number so it looks like this controls2=, controls3=, and so on. Try not to skip any numbers. The maximum number is 10.

Some fields allow you to assign references to them. Write the full reference text inside the relevant ..._commentary= field, including the <ref></ref> tags. Here is an example taken from Google Cardboard infobox: announced_commentary=<ref name="time14">LUCKERSON, Victor. Google Just Released Its Most Low-Tech Product Ever. TIME [online]. 2014, 25 June. Available online at: http://time.com/2923531/google-cardboard-app/ (Retrieved 21 October 2015))</ref>|

The standalone_not_standalone field already contains both possible values. To indicate one or the other, simply remove the value that is not correct. Here is an example if the device is indeed standalone: standalone_not_standalone=Standalone|

You can see the whole template in action in Google Cardboard. Display the source code of the page to see it's infobox template filled in.