Jump to content

Template:NOx/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Revert good faith edit. The italics were supplied by the <var> tag, not the template.
→‎Usage: Reminding the user that if the parameter is a variable name then the markup should indicate that. (I am the same user as 64.132.59.226.)
Line 24: Line 24:


<code><nowiki>{{NOx|x=2}}</nowiki></code> displays {{NOx|x=2}}
<code><nowiki>{{NOx|x=2}}</nowiki></code> displays {{NOx|x=2}}

<code><nowiki>{{NOx|x=<var>z</var>}}</nowiki></code> displays {{NOx|x=<var>z</var>}} with the subscript formatted as is appropriate for a variable.


== See also ==
== See also ==

Revision as of 16:18, 2 March 2018

TemplateData

Displays the chemical symbol for a Nitrous Oxide compound

Template parameters

ParameterDescriptionTypeStatus
xx

Selects how many oxygen atoms are in the molecule

Default
x
Example
x=2
Numberoptional

Usage

{{NOx}} displays NOx

{{NOx|x=2}} displays NO2

{{NOx|x=<var>z</var>}} displays NOz with the subscript formatted as is appropriate for a variable.

See also

This list: