साचा:Chem/doc
वापराच्या सूचना
संपादनहा साचा {{chem}}, रसायनशास्त्राचे सूत्र सोप्या रितीने लिहीण्यास आपली सेवा देतो. उदाहरणार्थ,
{{chem|H|2|O}} असा लिहील्यास,
ते असे दिसेल:
- H2O
बीजगणितीय अवतरणे अधोलेखनासह
संपादनAlgebraic expressions are rendered as subscripts (but must not contain upper case letters).
{{chem|C|''n''|H|2''n'' + 2}}
ते असे दिसेल,
- CnH2n + 2
धन अथवा ऋण चिन्ह
संपादनIon charge superscripts (for: +/-) are also supported:
{{chem|H|3|O|+}}
yields a "+" as superscript:
- H3O+
Simultaneous subscripts/superscripts are automatically handled (use a hyphen for the minus sign):
{{chem|SO|4|2-}}
ते असे दिसेल, "2-" as superscript:
- SO2−4
- Note
- The hyphen is converted to a true minus sign.
अणुक्रमांक व वस्तुमान क्रमांक
संपादनThe first parameter can be used for mass number.
{{chem|4|He}}
ते असे दिसेल,:
- 4He
The first two parameters can be used for mass number and atomic number.
{{chem|4|2|He}}
ते असे दिसेल,:
- 42He
- Note
- Only the first two parameters can handle two consecutive plain numbers (i.e. without a plus sign or a hyphen (
+
or-
) following). Otherwise the template will loop.
जोडणे
संपादनThe optional parameter link changes the formula into a link. For example:
{{chem|link=water|H|2|O}}
will yield:
For linking individual elements can be linked in the following manner.
{{chem|[[Hydrogen|H]]|2|[[Oxygen|O]]}}
ते असे दिसेल,
टिप्पण्या
संपादन- To include "=" in the formula, use
=
For example,{{chem|CH|2|=CH|2}}
yields CH2=CH2.- Or,
{{chem|CH|2}}={{chem|CH|2}}
, which yields CH2=CH2. - Or, don't use this template. For example,
CH<sub>2</sub>=CH<sub>2</sub>
yields CH2=CH2.
- Or,
- To include "≡" in the formula, use "≡" For example, "{{chem|HC≡CH}}" yields HC≡CH.
- The template accepts up to twenty-four parameters in addition to
link
. - This template uses {{su}}.
साच्याचा डाटा
संपादनChem साठी टेम्प्लेटडाटा
Encodes a chemical formula. This template make use of overloading so it cannot be easily documented for VisualEditor. Each parameter can be a chemical element symbol like 'Si'; a number or algebraic expressions (2''n'' + 2) – rendered as subscripts; charges '+', '-', '2+' etc. – rendered as superscripts. Additionally the first parameters can be mass number and atomic weight.
प्राचल | वर्णन | प्रकार | स्थिती | |
---|---|---|---|---|
1 | 1 | Either a chemical symbol 'H' rendered normally, or a mass number rendered as a superscript. | तंतू | हवे |
2 | 2 | Either a chemical symbol 'H' rendered normally, or a numeric atomic weight rendered as a subscript. | तंतू | ऐच्छिक |
3 | 3 | Either a chemical symbol 'H' rendered normally, a number or formula rendered as a subscript, or a charge renderer as a superscript. | तंतू | ऐच्छिक |
4 | 4 | तंतू | ऐच्छिक | |
5 | 5 | तंतू | ऐच्छिक | |
6 | 6 | तंतू | ऐच्छिक | |
7 | 7 | तंतू | ऐच्छिक | |
8 | 8 | तंतू | ऐच्छिक | |
9 | 9 | तंतू | ऐच्छिक | |
10 | 10 | तंतू | ऐच्छिक | |
11 | 11 | तंतू | ऐच्छिक | |
12 | 12 | तंतू | ऐच्छिक | |
13 | 13 | तंतू | ऐच्छिक | |
14 | 14 | तंतू | ऐच्छिक | |
15 | 15 | तंतू | ऐच्छिक | |
16 | 16 | तंतू | ऐच्छिक | |
17 | 17 | तंतू | ऐच्छिक | |
18 | 18 | तंतू | ऐच्छिक | |
19 | 19 | तंतू | ऐच्छिक | |
20 | 20 | तंतू | ऐच्छिक | |
21 | 21 | तंतू | ऐच्छिक | |
22 | 22 | तंतू | ऐच्छिक | |
23 | 23 | तंतू | ऐच्छिक | |
24 | 24 | तंतू | ऐच्छिक | |
link | link | A page to link to eg 'Water'. | तंतू | ऐच्छिक |