{{chem2}} قالب يستعمل لضبط شكل الصيغ أو المعادلات الكيميائية.

الاستعمال

عدل

Formula punctuation

عدل
الرمز ينتج مثال النتيجة
\s {{Chem2|CH3\sCH3}} CH3−CH3
\d = {{Chem2|CH2\dCH2}} CH2=CH2
\t {{Chem2|HC\tCH}} HC≡CH
\q {{Chem2|[Cl4Re\qReCl4](2−)|}} [Cl4Re≣ReCl4]2−
\- -
\\ \
\h η
\h{1} η1-
\m{1} μ1-
-> {{Chem2|2H2 + O2 -> 2H2O}} 2H2 + O2 → 2H2O
<->
* · {{Chem2|CoCl2*6H2O}} CoCl2·6H2O
\* * {{Chem2|Cp\*2Fe}} Cp*2Fe
_{} subscript {{Chem2|CH4_{(g)}|}} * CH4(g)
^{} superscript {{Chem2|^{13}CH4}} 13CH4
&nabla; {{Chem2|&nabla;}}
( ) ( ) {{Chem2|R\sCH(OH)CN}} R−CH(OH)CN

^ If the last character of the template input is }, MediaWiki will confuse it with the end-of-template tag }}. Adding a space between the two resolves this ambiguity. Other options include instead inserting {{فارغ}} or <nowiki/>.

صيغ - شحنات - معادلات

عدل

صيغ (بلا شحنات) تكتب :

  • {{Chem2|CH3(CH2)5CH3}}CH3(CH2)5CH3
  • {{Chem2|Fe3S2(CO)9}}Fe3S2(CO)9
  • {{Chem2|C_{''n''}H_{2''n''+2}|}}CnH2n+2

شحنات تكتب ما بين قوسين:

  • {{Chem2|SO4(2-)}}SO2−4
  • {{Chem2|S19(2+)}}S2+19

شحنات +1 and −1 can be written plain:

  • {{Chem2|Na+}}Na+
  • {{Chem2|O2-}}O2
equals {{Chem2|O2(-)}}

صيغ كيميائية:

  • {{Chem2|2 S + 3 O2 + 2 H2O -> 2 H2SO4}}2 S + 3 O2 + 2 H2O → 2 H2SO4
  • {{Chem2|2S + 3O2 + 2H2O -> 2H2SO4}}2S + 3O2 + 2H2O → 2H2SO4

The arrows can be written as -> or just . All characters (and unicode markup) are valid input except \, = (Mediawiki use it), _ and - (endash etc.)

  • {{Chem2|2 H2_{(g)} + O2_{(g)} -> 2H2O_{(g)}|}}2 H2(g) + O2(g) → 2H2O(g)
  • {{Chem2|NH2RCHCO2H <-> NH3+RCHCO2-}}NH2RCHCO2H ⇌ NH+3RCHCO2

تلامس و mu:

  • {{Chem2|W(CO)3(PiPr3)2(\h{2}H2)}}W(CO)3(PiPr3)22-H2)
  • {{Chem2|auto=yes|W(CO)3(PiPr3)2(\h{2}H2)}}W(CO)3(PiPr3)2(η2-H2)
عدل
عدل

Link the whole formula with |link=<wiki pagename>:

  • {{chem2|FeCl3|link=Iron(III) chloride}}FeCl3

Or use wikilink brackets in input like [[أمونيا|NH3]]:

  • {{chem2|3[[هيدروجين|H2]] + 2[[نيتروجين|N2]] <-> 2[[أمونيا|NH3]]}}3H2 + 2N2 ⇌ 2NH3
عدل
Use |auto=yes to link each element symbol once, as well as some others such as Ph
  • {{chem2|CH3CH2CH3CBrFCIClCH3|auto=yes}}CH3CH2CH3CBrFCIClCH3
عدل

Some common groups are recognized and linked if you wikilink them using [[ ]]

You can link to any article even if chem2 is unaware of it:!-- same as |link=... then -->

To change the default link:

  • {{chem2|[[ماء|H2O]]}}H2O

All recognised symbols and codes

عدل
All link targets recognised by {{chem2}} (elements, general codes, functional groups)

Elements and element-style symbols

These may be automatically linked or used as if they were redirects.

Symbol Link target
Ac Actinium
Ag Silver
Al Aluminium
Am Americium
Ar Argon
As Arsenic
At Astatine
Au Gold
B Boron
Ba Barium
Be Beryllium
Bh Bohrium
Bi Bismuth
Bk Berkelium
Bn Benzyl group
Br Bromine
Bz Benzoyl group
C كربون
Ca Calcium
Cd Cadmium
Ce Cerium
Cf Californium
Cl Chlorine
Cm Curium
Co Cobalt
Cp Copernicium
Cr Chromium
Cs Caesium
Cu Copper
D Deuterium
Db Dubnium
Ds Darmstadtium
Dy Dysprosium
Er Erbium
Es Einsteinium
Et Ethyl group
Eu Europium
F Fluorine
Fe Iron
Fl Flerovium
Fm Fermium
Fr Francium
Ga Gallium
Gd Gadolinium
Ge Germanium
H هيدروجين
He Helium
Hf Hafnium
Hg Mercury (element)
Ho Holmium
Hs Hassium
I Iodine
In Indium
Ir Iridium
K Potassium
Kr Krypton
La Lanthanum
Li Lithium
Ln Lanthanide
Lr Lawrencium
Lu Lutetium
Lv Livermorium
Mc Moscovium
Md Mendelevium
Mg Magnesium
Mn Manganese
Mo Molybdenum
Mt Meitnerium
N نيتروجين
Na Sodium
Nb Niobium
Nd Neodymium
Ne Neon
Nh Nihonium
Ni Nickel
No Nobelium
Np Neptunium
Nu Nucleophile
O أكسجين
Og Oganesson
Os Osmium
P Phosphorus
Pa Protactinium
Pb Lead
Pd Palladium
Ph Phenyl group
Pm Promethium
Po Polonium
Pr Praseodymium
Pt Platinum
Pu Plutonium
R Substituent
Ra Radium
Rb Rubidium
Re Rhenium
Rf Rutherfordium
Rg Roentgenium
Rh Rhodium
Rn Radon
Ru Ruthenium
S Sulfur
Sb Antimony
Sc Scandium
Se Selenium
Sg Seaborgium
Si Silicon
Sm Samarium
Sn Tin
Sr Strontium
T Tritium
Ta Tantalum
Tb Terbium
Tc Technetium
Te Tellurium
Tf Trifluoromethylsulfonyl group
Th Thorium
Ti Titanium
Tl Thallium
Tm Thulium
Ts Tennessine
U Uranium
V Vanadium
W Tungsten
X Halogen
Xe Xenon
Y Yttrium
Yb Ytterbium
Zn Zinc
Zr Zirconium

Groups

These must be linked manually; they work as if they were redirects.

Symbol Link target
CH3 Methyl group
CO3 Carbonate
COOH Carboxyl group
ClO Hypochlorite
ClO2 Chlorite
ClO3 Chlorate
ClO4 Perchlorate
H2O Water of crystallization
H3O Hydronium
NH2 Amine group
NH4 Ammonium
NO3 Nitrate
PO3 Phosphite
PO4 Phosphate
SH Thiol group
SO3 Sulfite
SO4 Sulfate
SeH Selenol group

أمثلة

عدل
  • {{Chem2|[Cl4Re\qReCl4](2−)|}} gives [Cl4Re≣ReCl4]2−
  • {{Chem2|[Cl4Re\qReCl4](2-)|}} gives [Cl4Re≣ReCl4]2−
  • {{Chem2|NH2RCHCO2H <-> NH3+RCHCO2−}} gives NH2RCHCO2H ⇌ NH+3RCHCO2

  • {{Chem2|\\hallo}} gives \hallo
  • {{Chem2|H3CC\tCH <-> H2C\dC\dCH2}} gives H3CC≡CH ⇌ H2C=C=CH2
  • {{Chem2|4 NH3 + 5 O2 -> 4 NO + 6 H2O}} gives 4 NH3 + 5 O2 → 4 NO + 6 H2O

  • "H2O &#8594; H2O" is H2O → H2O
  • "H2O_{(l)} -> H2O_{(g)}" is H2O(l) → H2O(g)

  • "4 NH3 + 5 O2 → 4 NO + 6 H2O" is 4 NH3 + 5 O2 → 4 NO + 6 H2O
  • " 4 NH3 + 5 O2 → 4 NO + 6 H2O" is 4 NH3 + 5 O2 → 4 NO + 6 H2O
  • " 4NH3 + 5O2 → 4NO + 6H2O" is 4NH3 + 5O2 → 4NO + 6H2O
  • " 2Mn2(+)" is 2Mn+2
  • " 2Mn2(+) + 3H2O" is 2Mn+2 + 3H2O
  • Mn– is Mn

  • Mn2(2-) is Mn2−2
  • Mn2☃+ is Mn2+, Mn2(2–) is Mn2−2, Mn2(2☃–) is Mn2(2)
  • Mn2(+) is Mn+2
  • Mn2+ is Mn+2
  • Mn2(-) is Mn2
  • Mn2- is Mn2

  • {{Chem2|C_{''n''}H_{2''n'' + 2}|}} gives CnH2n + 2
  • {{Chem2|C_{abc}|}} gives Cabc
  • (chem gives CnH2n + 2)
  • {{Chem2|CoCl2*1.5H2O}} gives CoCl2·1.5H2O
  • Mn22– is Mn22
  • Cu2C2*H2O is Cu2C2·H2O

Special
  • {{Chem2|[Me2Al(\m{2}Me)]2}} gives [Me2Al(μ2-Me)]2
  • {{Chem2|^{13}CO2}} gives 13CO2
  • {{Chem2|auto=yes|^{13}CO2}} gives 13CO2
  • {{Chem2|\h{5}(C5H5)2TiCl2}} gives η5-(C5H5)2TiCl2
  • {{Chem2|\h{5}\s(C5H5)}} gives η5-−(C5H5)
  • {{Chem2|CH2\dCH2\sCH2\sC\tCH\qMn}} is CH2=CH2−CH2−C≡CH≣Mn

  • {{Chem2|RC(OR’)3}} gives RC(OR’)3
  • {{Chem2|C\\C}} gives C\C
  • {{Chem2|C2*NH3}} gives C2·NH3
  • {{Chem2|C2*2NH3}} gives C2·2NH3
  • {{Chem2|C1.2H3.5}} gives C1.2H3.5

  • {{Chem2|12|6|C}} is 12
  • {{Chem2|12|C}} is 12
  • {{Chem2|CH3\i{13}CH2CH3}} is CH3CH2CH3
  • {{Chem2|\{\{abc\}\}}} is AbC
  • C2(μ\-C) is C2(μ-C)

  • SO4(2-) is SO2−4
  • 2Mn2(2+) is 2Mn2+2
  • CH3-CH2-OH is CH3CH2OH
  • [ZnCl4]- is [ZnCl4]
  • [ZnCl4](2-) is [ZnCl4]2−
  • AUTO: ((H2O)5{CoCl2})2 is ((H2O)5{CoCl2})2
  • Si(OH)4 is Si(OH)4

  • AUTO: Cu2C2*H2O is Cu2C2·H2O
  • Cu2C2*2H2O is Cu2C2·2H2O
  • CuSO*2H2O is CuSO·2H2O
  • CuSO4*15H2O is CuSO4·15H2O
  • CuSO4(H2O)5 is CuSO4(H2O)5
  • H+ + OH- → H2O is H+ + OH → H2O
  • H → O is H → O

  • ZxPo4 is ZxPo4     Unknown element.
  • ((Na)Cl is ((Na)Cl     Too many "(".
  • Si(OH))4 is Si(OH))4     Too many ")".
  • Si&رجل الثلجSi is Si&رجل الثلجSi
  • CH2=CH2
  • {{Chem2|Cl2O6|link=dichlorine hexoxide}} is Cl2O6
  • [Fe(Phen)(Phen)3](2+) is [Fe(Phen)(Phen)3]2+
  • AUTO: [Fe(Phen)(Phen)3](2+) is [Fe(Phen)(Phen)3]2+
  • {{Chem2|[C2O2](2+)}} is [C2O2]2+
  • {{Chem2|link=Tomato|SI4}} is SI4
  • H2SO4+ is H2SO+4
  • Mn- is Mn
  • Mn22+ is Mn+22, Mn22- is Mn22,
  • Mn(2+) is Mn2+
  • Mn2(+) is Mn+2
  • Mn(22-) is Mn22−
  • Mn3(22-) is Mn22−3
  • Mn(22+) is Mn22+
  • Mn2(22+) is Mn22+2
  • Mn2(2+) is Mn2+2
  • Mn22(2+) is Mn2+22

Chem vs chem2

عدل
  • (CH3)2CO     Chem
  • (CH3)2CO     Chem2
  • H2+     Chem
  • H+2     Chem2

Predefined codes (groups etc.)

عدل
Predefined codes
code target article {{Chem2|code}} type note
A. Groups etc with element-like names
Bz Benzoyl group Bz A: wl |auto=yes
Et Ethyl group Et A: wl |auto=yes
Ln Lanthanide Ln A: wl |auto=yes
Nu Nucleophile Nu A: wl |auto=yes
Ph Phenyl group Ph A: wl |auto=yes
R Substituent R A: wl |auto=yes
T Tritium T A: wl |auto=yes
Tf Trifluoromethylsulfonyl group Tf A: wl |auto=yes
X Halogen X A: wl |auto=yes
B. Groups which are redirected from their normal target if wikilinked; never autolinked.
CH3 Methyl group CH3 B: wl |..[[code]]..
CO3 Carbonate CO3 B: wl |..[[code]]..
COOH Carboxyl group COOH B: wl |..[[code]]..
ClO Hypochlorite ClO B: wl |..[[code]]..
ClO2 Chlorite ClO2 B: wl |..[[code]]..
ClO3 Chlorate ClO3 B: wl |..[[code]]..
ClO4 Perchlorate ClO4 B: wl |..[[code]]..
H2O Water of crystallization H2O B: wl |..[[code]]..
H3O Hydronium H3O B: wl |..[[code]]..
NH2 Amine group NH2 B: wl |..[[code]]..
NH4 Ammonium NH4 B: wl |..[[code]]..
NO3 Nitrate NO3 B: wl |..[[code]]..
PO3 Phosphite PO3 B: wl |..[[code]]..
PO4 Phosphate PO4 B: wl |..[[code]]..
SH Thiol group SH B: wl |..[[code]]..
SO3 Sulfite SO3 B: wl |..[[code]]..
SO4 Sulfate SO4 B: wl |..[[code]]..
SeH Selenol group SeH B: wl |..[[code]]..

بيانات القالب

عدل
هذا توثيق بيانات لهذا القالب، مستخدم بواسطة المحرر المرئي وأداة الترجمة والأدوات الأخرى.

بيانات قالب: «Chem2»

لا وصف.

وسائط القالب[تحرير بيانات القالب]

وسيطوصفنوعحالة
11

دون وصف

غير معروفاختياري
autoauto

دون وصف

غير معروفاختياري
linklink

دون وصف

غير معروفاختياري

طالع أيضا

عدل