模板:Chem molar mass:修订间差异
跳转到导航
跳转到搜索
删除的内容 添加的内容
小无编辑摘要 |
小无编辑摘要 |
||
第3行: | 第3行: | ||
(0) + |
(0) + |
||
(0{{{H|0}}} * 1.008) + |
(0{{{H|0}}} * 1.008) + |
||
(0{{{D|0}}} * 2.013553212745) + |
|||
(0{{{Li|0}}} * 6.94) + |
(0{{{Li|0}}} * 6.94) + |
||
(0{{{B|0}}} * 10.81) + |
(0{{{B|0}}} * 10.81) + |
||
第87行: | 第86行: | ||
(0{{{Th|0}}} * 232.0377) + |
(0{{{Th|0}}} * 232.0377) + |
||
(0{{{U|0}}} * 238.02891) + |
(0{{{U|0}}} * 238.02891) + |
||
(0{{{Tc|0}}} * |
(0{{{Tc|0}}} * 97) + |
||
(0{{{Pm|0}}} * 145) + |
(0{{{Pm|0}}} * 145) + |
||
(0{{{Po|0}}} * 209) + |
(0{{{Po|0}}} * 209) + |
||
第122行: | 第121行: | ||
(0{{{Og|0}}} * 294) + |
(0{{{Og|0}}} * 294) + |
||
({{#if:{{{charge|}}}|{{Chem molar mass/calc charge|charge={{{charge|0}}} }}|0}}) |
({{#if:{{{charge|}}}|{{Chem molar mass/calc charge|charge={{{charge|0}}} }}|0}}) |
||
}}<!-- end of value calculation #expr: |
}}<!-- end of value calculation #expr: --> |
||
| round = {{#switch:{{lc:{{{round|yes}}}}}|no=no||yes=2|#default={{{round|2}}}}} |
|||
other parameters for /format: |
|||
--> |
|||
|round =<!-- |
|||
can be: yes, no, smart, number, blank |
|||
rounding number can not and will not be greater than smart (=smart number of decimals) |
|||
-->{{#switch:{{lc:{{{round|smart}}}}} |
|||
|yes=yes<!-- min(2, smart) --> |
|||
|no=no<!-- smart --> |
|||
||default|smart = smart |
|||
|#default={{Ifnumber|{{{round|no}}}|{{formatnum:{{{round|0}}}|R}}|smart}}<!-- when number; min(number, smart) --> |
|||
⚫ | |||
| smart_round = |
|||
{{#if: {{{Tc|}}}{{{Pm|}}}{{{Po|}}}{{{At|}}}{{{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}{{{Pa|}}}{{{U|}}} |
|||
| 5 |
|||
| {{#if:{{{Sc|}}}{{{Mn|}}}{{{Co|}}}{{{As|}}}{{{Au|}}}{{{He|}}}{{{Tb|}}}{{{Ho|}}}{{{Tm|}}} |
|||
| 6 |
|||
| {{#if:{{{Be|}}}{{{Al|}}} |
|||
| 7 |
|||
| {{#if:{{{Cs|}}}{{{Na|}}} |
|||
| 8 |
|||
| {{#if:{{{P|}}}{{{F|}}} |
|||
| 9 |
|||
| {{#if:{{{D|}}} |
|||
| 11<!-- 11 because uncertainty=(40) --> |
|||
| {{#if:{{{charge|}}} |
|||
| 15 |
|||
| 0 <!-- when no atoms/charges are entered at all; should not occur, will return blank |
|||
-->}} }} }} }} }} }} }} }} }} }} }} }}<!-- end of smart rounding number --> |
|||
| unit = {{{unit|}}} |
| unit = {{{unit|}}} |
||
| ref = {{{ref|}}} |
| ref = {{{ref|}}} |
||
第166行: | 第128行: | ||
| fixed = {{{fixed|}}} |
| fixed = {{{fixed|}}} |
||
| sortable= {{#ifeq:{{lc:{{{sortable|no}}}}}|yes|yes|no}} |
| sortable= {{#ifeq:{{lc:{{{sortable|no}}}}}|yes|yes|no}} |
||
| catname = {{{catname|}}} |
|||
}}<!-- |
|||
⚫ | |||
-->{{#invoke:check for unknown parameters |
|||
|check |
|||
|unknown={{main other|[[Category:Pages using Chem molar mass with unsupported parameters|_VALUE_]]}} |
|||
|preview = Page using [[Template:Chem molar mass]] with unknown parameter "_VALUE_" |
|||
|ignoreblank=y |
|||
|fixed|unit|round|ref|comment|sortable|charge |
|||
<!--Period 1-->| H| D|He |
|||
<!--Period 2-->| Li| Be| B| C| N| O| F| Ne |
|||
<!--Period 3-->| Na| Mg| Al| Si| P| S| Cl| Ar |
|||
<!--Period 4-->| K| Ca| Sc| Ti| V| Cr| Mn| Fe| Co| Ni| Cu| Zn| Ga| Ge| As| Se| Br| Kr |
|||
<!--Period 5-->| Rb| Sr| Y| Zr| Nb| Mo| Tc| Ru| Rh| Pd| Ag| Cd| In| Sn| Sb| Te| I| Xe |
|||
<!--Period 6-->| Cs| Ba| La| Ce| Pr| Nd| Pm| Sm| Eu| Gd| Tb| Dy| Ho| Er| Tm| Yb| Lu| Hf| Ta| W| Re| Os| Ir| Pt| Au| Hg| Tl| Pb| Bi| Po| At| Rn |
|||
<!--Period 7-->| Fr| Ra| Ac| Th| Pa| U| Np| Pu| Am| Cm| Bk| Cf| Es| Fm| Md| No| Lr| Rf| Db| Sg| Bh| Hs| Mt| Ds| Rg| Cn| Nh| Fl| Mc| Lv| Ts| Og |
|||
<!--Period 8 not yet: Uue Ubn Ubu Ubb. Total: 118 elements+D --> |
|||
}}<!-- |
|||
<noinclude> |
|||
{{documentation}} |
|||
</noinclude> |