Difference between revisions of "Template:Chembox Supplement/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Documentation subpage}}{{intricate}}
+
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
 
 
 
== Usage ==
 
== Usage ==
This box is used as a module in the {{tl|Chembox}}.  This template does not have any parameters, it only shows output if page "<code>&lt;pagename&gt; (data page)</code>" exists.
+
This box is used as a module in the {{tl|Chembox}}.  This template does not have any parameters, it only shows output if page "<code><nowiki>{{pagename}}</nowiki> (data page)</code>" exists.
 
See the example below for [[Ammonia]], where [[Ammonia (data page)]] exists.
 
See the example below for [[Ammonia]], where [[Ammonia (data page)]] exists.
  
Line 9: Line 7:
 
* Page [[Ammonia]], with existing page [[ammonia (data page)]].
 
* Page [[Ammonia]], with existing page [[ammonia (data page)]].
 
{{Chembox
 
{{Chembox
|-
+
| data page pagename=Ammonia (data page)<!-- set for documentation purpose -->
 
|Section1={{Chembox Supplement
 
|Section1={{Chembox Supplement
| data page pagename=Ammonia (data page)<!-- set for documentation purpose -->
+
}}
}}
 
 
}}
 
}}
 
{{clear}}
 
{{clear}}
 +
 
==Subtemplates used==
 
==Subtemplates used==
 
* None
 
* None
By default, the name for the data page is <code>[[&lt;pagename> (data page)]]</code>. So for ammonia, that is [[Ammonia (data page)]]. In some situations one can overwrite that default name: {{para|data page pagename|Som other page}}. This option is used on this documentation (otherwise this page would look for [[{{PAGENAME}} (data page)]] by default).
+
By default, the name for the data page is <code>[[&lt;pagename> (data page)]]</code>. So for ammonia, that is [[Ammonia (data page)]].  
 +
 
 +
In some situations it may be needed to overwrite that default name:
 +
::{{para|data page pagename|Some other page}}. (This option is used on this documentation. Otherwise this page would look for the default pagename [[{{PAGENAME}} (data page)]]).
 +
 
 
== See also ==
 
== See also ==
* [[:Category:Chemical data pages]]
+
{{Navbox Chembox}}
* [[:Category:Chembox templates]]
+
<includeonly>{{Sandbox other||
 
+
[[Category:Chembox templates|{{#ifeq:{{PAGENAME}}|Chembox Supplement|*12 }}{{PAGENAME}}]]
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
 
[[Category:Chembox templates|{{#ifeq:{{PAGENAME}}|Chembox Supplement|* }}{{PAGENAME}}]]
 
  
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 04:15, 24 April 2020

Usage

This box is used as a module in the {{Chembox}}. This template does not have any parameters, it only shows output if page "{{pagename}} (data page)" exists. See the example below for Ammonia, where Ammonia (data page) exists.

Example

Chembox Supplement/doc
[[|Supplementary data page]]
Refractive index (n),
Dielectric constantr), etc.
Thermodynamic
data
Phase behaviour
solid–liquid–gas
UV, IR, NMR, MS
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa).
Infobox references

Subtemplates used

  • None

By default, the name for the data page is [[<pagename> (data page)]]. So for ammonia, that is Ammonia (data page).

In some situations it may be needed to overwrite that default name:

|data page pagename=Some other page. (This option is used on this documentation. Otherwise this page would look for the default pagename Chembox Supplement/doc (data page)).

See also

Template:Navbox Chembox