Welcome to EverybodyWiki 😃 ! Nuvola apps kgpg.png Log in or ➕👤 create an account to improve, watchlist or create an article like a 🏭 company page or a 👨👩 bio (yours ?)...

پودمان:Chem2/توضیحات

از EverybodyWiki Bios & Wiki
پرش به:ناوبری، جستجو

این صفحهٔ توضیحات پودمان:Chem2 است

صفحه الگو:Ombox/styles.css محتوایی ندارد.

Module:chem2 - پودمان:MolarMass (this modules structure is based on Module:MolarMass)

Usage[ویرایش]

Exported function :

  • chem(frame) – returns the chemical formula

Uses :

  • formula – args[1] = formula.
  • parameter: link= link to article auto=yes auto link to elements

Documentation[ویرایش]

Symbol Gives Example Output
\s {{Chem2|CH3\sCH3}} CH
3
–CH
3
\d = {{Chem2|CH2\dCH2}} CH
2
=CH
2
\t {{Chem2|HC\tCH}} HC≡CH
\q {{Chem2|[Cl4Re\qReCl4](2−)|}} [Cl
4
Re≣ReCl
4
]2–
\- -
\\ \
\' '
(')
{{Chem2|R'R\''CH2}} R'R''CH
2
\h η
\h{1} η1
\m{1} μ1
-> {{Chem2|2H2 + O2 -> 2H2O}} 2H
2
+ O
2
→ 2H
2
O
<->
*  · {{Chem2|CoCl2*6H2O}} CoCl
2
 · 6H2O
_{} {{Chem2|CH4_{(g)}|}} CH
4

(g)
^{} {{Chem2|^{13}CH4}} 13
CH
4

If input ends with a }, the input should be added an ending |; otherwise Mediawiki miss the ending } ("translate" to English, please)

Formulas (without charge) are just written. Eg.:

  • {{Chem2|CH3(CH2)5CH3}} gives CH
    3
    (CH
    2
    )
    5
    CH
    3
  • {{Chem2|Fe3S2(CO)9}} gives Fe
    3
    S
    2
    (CO)
    9
  • {{Chem2|C_{''n''}H_{2''n'' + 2}|}} gives C
    n
    H
    2n + 2

Charges are written inside parenthesis, otherwise its treated as +1 og -1. Eg.:

  • {{Chem2|Na+}} gives Na+
  • {{Chem2|O2-}} gives O
    2
    but can be written as {{Chem2|O2(-)}} too.
  • {{Chem2|SO4(2-)}} gives SO2–
    4
  • {{Chem2|S19(2+)}} gives S2+
    19

Chemical equations can be written too. E.g.:

  • {{Chem2|2 S + 3 O2 + 2 H2O -> 2 H2SO4}} gives 2 S + 3 O
    2
    + 2 H
    2
    O → 2 H
    2
    SO
    4
  • {{Chem2|2S + 3O2 + 2H2O -> 2H2SO4}} gives 2S + 3O
    2
    + 2H
    2
    O → 2H
    2
    SO
    4

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)}|}} gives 2 H
    2

    (g)
    + O
    2

    (g)
    → 2H
    2
    O
    (g)
  • {{Chem2|NH2RCHCO2H <-> NH3+RCHCO2-}} gives NH
    2
    RCHCO
    2
    H ⇌ NH+
    3
    RCHCO
    2

پیوندپوشی and mu:

  • {{Chem2|W(CO)3(PiPr3)2(\h{2}\-H2)}} gives W(CO)
    3
    (PiPr
    3
    )
    2
    2–-H
    2
    )
  • {{Chem2|auto=yes|W(CO)3(PiPr3)2(\h{2}\-H2)}} gives W(CO)
    3
    (PiPr
    3
    )
    2
    2–-H
    2
    )

Links: Use link=<wiki page> eg.:

  • {{Chem2|link=Iron(III) chloride|FeCl3}} gives FeCl
    3

Auto links: Automatic link elements: Use auto=something (eg. yes):

  • {{Chem2|auto=yes|CH3CH2CH3CBrFCIClCH3}} gives CH
    3
    CH
    2
    CH
    3
    CBrFCIClCH
    3

Examples[ویرایش]

  • {{Chem2|[Cl4Re\qReCl4](2−)|}} is [Cl
    4
    Re≣ReCl
    4
    ]2–
  • {{Chem2|[Cl4Re\qReCl4](2-)|}} is [Cl
    4
    Re≣ReCl
    4
    ]2–
  • {{Chem2|NH2RCHCO2H <-> NH3+RCHCO2−}} gives NH
    2
    RCHCO
    2
    H ⇌ NH+
    3
    RCHCO
    2
  • "\\hallo" is \hallo
  • H3CC\tCH <-> H2C\dC\dCH2 is H
    3
    CC≡CH ⇌ H
    2
    C=C=CH
    2
  • "4 NH3 + 5 O2 -> 4 NO + 6 H2O" is 4 NH
    3
    + 5 O
    2
    → 4 NO + 6 H
    2
    O
  • "H2O & #8594; H2O" is H
    2
    O → H
    2
    O (No space in unicode input)
  • "H2O_{(l)} -> H2O_{(g)}" is H
    2
    O
    (l)
    → H
    2
    O
    (g)


  • "4 NH3 + 5 O2 → 4 NO + 6 H2O" is 4 NH
    3
    + 5 O
    2
    → 4 NO + 6 H
    2
    O
  • " 4 NH3 + 5 O2 → 4 NO + 6 H2O" is 4 NH
    3
    + 5 O
    2
    → 4 NO + 6 H
    2
    O
  • " 4NH3 + 5O2 → 4NO + 6H2O" is 4NH
    3
    + 5O
    2
    → 4NO + 6H
    2
    O
  • " 2Mn2(+)" is 2Mn+
    2
  • " 2Mn2(+) + 3H2O" is 2Mn+
    2
    + 3H
    2
    O
  • Mn– is Mn
  • Mn2(2-) is Mn2–
    2
  • Mn2☃+ is Mn
    2
    +
    , Mn2(2–) is Mn2–
    2
    , Mn2(2☃–) is Mn
    2
    (
    2

    )
  • Mn2(+) is Mn+
    2
  • Mn2+ is Mn+
    2
  • Mn2(-) is Mn
    2
  • Mn2- is Mn
    2





  • {{Chem2|C_{''n''}H_{2''n'' + 2}|}} gives C
    n
    H
    2n + 2
  • {{Chem2|C_{abc}|}} gives C
    abc
  • (chem gives C
    n
    H
    2n + 2
    )
  • {{Chem2|CoCl2*1.5H2O}} gives CoCl
    2
     · 1.5H2O
  • Mn22– is Mn
    22
  • Cu2C2*H2O is Cu
    2
    C
    2
     · H2O


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


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




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


  • SO4(2-) is SO2–
    4
  • 2Mn2(2+) is 2Mn2+
    2
  • CH3-CH2-OH is CH
    3
    CH
    2
    OH
  • [ZnCl4]- is [ZnCl
    4
    ]
  • [ZnCl4](2-) is [ZnCl
    4
    ]2–
  • AUTO: ((H2O)5{CoCl2})2 is ((H
    2
    O)
    5
    {CoCl
    2
    })
    2
  • Si(OH)4 is Si(OH)
    4

--

  • AUTO: Cu2C2*H2O is Cu
    2
    C
    2
     · H2O
  • Cu2C2*2H2O is Cu
    2
    C
    2
     · 2H2O
  • CuSO*2H2O is CuSO · 2H2O
  • CuSO4*15H2O is CuSO
    4
     · 15H2O
  • CuSO4(H2O)5 is CuSO
    4
    (H
    2
    O)
    5
  • H+ + OH- → H2O is H+
    + OH
    → H
    2
    O
  • H → O is H → O
    • ZxPo4 is ZxPo
      4
          Unknown element
    • ((Na)Cl is ((Na)Cl''";     To many (
    • Si(OH))4 is Si(OH))
      4
      ''";     To many )
    • Si&آدم‌برفیSi is Si&آدم‌برفیSi
    • CH
      2
      =CH
      2

More[ویرایش]

  • {{Chem2|Cl2O6|link=dichlorine hexoxide}} is Cl
    2
    O
    6
  • [Fe(Phen)(Phen)3](2+) is [Fe(Phen)(Phen)
    3
    ]2+
  • AUTO: [Fe(Phen)(Phen)3](2+) is [[[Iron|Fe]](Phen)(Phen)
    3
    ]2+
  • {{Chem2|[C2O2](2+)}} is [C
    2
    O
    2
    ]2+
  • {{Chem2|link=Tomato|SI4}} is SI
    4
  • H2SO4+ is H
    2
    SO+
    4
  • Mn- is Mn
  • Mn22+ is Mn+
    22
    , Mn22- is Mn
    22
    ,
  • 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[ویرایش]

  • (CH
    3
    )
    2
    CO
  • (CH
    3
    )
    2
    CO
  • H+
    2
  • H+
    2