Difference between revisions of "Infobox (Brain Stimulation)"

From HCE Wiki - The Human Cognitive Enhancement Wiki
Jump to navigation Jump to search
(added copy-paste ready code)
(added todo; changed example page link from google glass to hero sport)
Line 87: Line 87:
 
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. 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>
 
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. 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>
  
The <code>standalone_not_standalone</code> already contains both possible values. To indicate one or the other, simply remove the value that is not correct. Example if the device is indeed standalone: <code>standalone_not_standalone=Standalone|</code>
+
TODO: Prescprition is boolean.
  
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.
+
You can see the whole template in action in [[Hero Sport]]. Display the source code of the page to see it's infobox template filled in.
  
 
[[Category:Guides]]
 
[[Category:Guides]]
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 13:59, 26 August 2016

Foo
[[File:|250px]]
Category
Developer Google, Inc.
Announced 0Unable to interpret the "0" input value as valid date or time component with "There is no year 0 in Gregorian and Julian calendars." being reported.
Released Developers: 0Unable to interpret the "0" input value as valid date or time component with "There is no year 0 in Gregorian and Julian calendars." being reported.
Consumers: 0Unable to interpret the "0" input value as valid date or time component with "There is no year 0 in Gregorian and Julian calendars." being reported.
Price 0 USD
Max output
Session duration
Scalp location
Weight 0 g (test)
Controls

touchpad, buttons, remote

Data available
Risk factor
Medical prescription

This page describes the infobox template used to annotate all entries listed under the Brain Stimulation category. You can see an example of how it will look to the right.

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

The underlying template is located at Template:BrainStimulation.

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.

{{BrainStimulation|
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=###|
max_output=###|
max_output_commentary=###|
max_session_duration=###|
max_session_duration_commentary=###|
scalp_location=###|
scalp_location_commentary=###|
weight=###|
weight_commentary=###|
controls1=###|
controls2=###|
controls10=###|
controls_commentary=###|
data_available=###|
risk_factor=###|
medical_prescription=###|
link_to_website=###|
}}

TODO: Field for max output and session time use exact units that need to be mentioned.

You may have noticed that some of the fields are numbered (i.e. controls1= and sensors1=). This is in order 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. 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>|

TODO: Prescprition is boolean.

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