Template:Chembox1: Difference between revisions
Jump to navigation
Jump to search
Gerald Chi (talk | contribs) mNo edit summary |
Gerald Chi (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{|class="infobox bordered" style="border-collapse:collapse; margin-top:2px; width:{{{width|22em}}}; text-align:left; {{{style|}}};" | {|class="infobox bordered" style="border-collapse:collapse; margin-top:2px; width:{{{width|22em}}}; text-align:left; {{{style|}}};" | ||
| | {{#ifeq:{{{{{ |safesubst:}}}issubst}} |yes | | ||
! colspan=2 style="font-size:150%; color:red" {{!}} Please do not [[WP:SUBST |substitute this template]]. Please hit the "back" button on your browser and remove <code>subst:</code> from the template call. | |||
{{!}}- | |||
}}<!-- TITLE --> | |||
|+ colspan=2 style="text-align:center;" |{{#if:{{{Name|}}} |{{{Name}}} |{{PAGENAME}}}}{{{Reference|}}} | |||
|- <!-- IMAGES --> | |- <!-- IMAGES --> | ||
{{#if:{{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}} | {{#if:{{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}} | ||
Line 98: | Line 102: | ||
}}<!-- | }}<!-- | ||
TEXTUAL VALUES ----- --> | TEXTUAL VALUES ----- --> | ||
{{#if:{{{OtherNames|}}}{{{IUPACName|}}}{{{IUPACNames|}}}{{{PIN|}}}{{{SystematicName|}}}| | {{#if:{{{OtherNames|}}}{{{IUPACName|}}}{{{IUPACNames|}}}{{{PIN|}}}{{{SystematicName|}}} | ||
<!-- | | {{Chembox headerbar|header=Other names}} | ||
{{Chembox AllOtherNames | <!-- and --> | ||
|IUPACName={{{IUPACName|}}} {{{IUPACNames|}}}<!-- plural indicated by editor --> | {{Chembox AllOtherNames | | ||
|OtherNames={{{OtherNames|}}} | |||
|IUPACName={{{IUPACName|}}} | |||
|IUPACNames={{{IUPACNames|}}}<!-- plural indicated by editor --> | |||
|PIN={{{PIN|}}} | |PIN={{{PIN|}}} | ||
|SystematicName={{{SystematicName|}}} | |SystematicName={{{SystematicName|}}} | ||
|countIUPACnames={{#if:{{{IUPACNames|}}}|99|{{#ifeq:{{#invoke:String |match |s=_{{{IUPACName|}}} |pattern=%<br%s*%/?%s*%> |nomatch=_NO_BREAK_|plain=false|ignore_errors=false}}|_NO_BREAK_|0|9}}+{{#if:{{{IUPACName|}}}|1|0}}+{{#if:{{{PIN|}}}|1|0}}+{{#if:{{{SystematicName|}}}|1|0}} }} | |||
|countIUPACnames={{#if:{{{IUPACNames|}}}|99|{{#ifeq:{{#invoke:String |match |s=_{{{IUPACName|}}} |pattern=%<br%s*%/?%s*%> |nomatch=_NO_BREAK_|plain=false|ignore_errors=false}}|_NO_BREAK_|0|9}}+{{#if:{{{IUPACName|}}}|1|0}} }}<!-- we only need to know: 0-1-many | |IUPACNames_hidden={{#switch:{{lc:{{if empty |{{{IUPACNames_hidden|}}} |{{{IUPACName_hidden|}}} |{{{PIN_hidden|}}} |uncollapsed }}}} |y|yes|hidden|hide|collapse |collapsed=collapsed |#default=uncollapsed }}<!-- we only need to know: 0-1-many? IUPAC names --> | ||
}} | }}}}<!-- end section OtherNames --> | ||
}}<!-- end section OtherNames --> | {{{Section1|}}}<!-- SECTIONS 1-10 --- --> | ||
{{{Section1|}}}<!-- SECTIONS 1- | |||
{{{Section2|}}} | {{{Section2|}}} | ||
{{{Section3|}}} | {{{Section3|}}} | ||
Line 117: | Line 123: | ||
{{{Section8|}}} | {{{Section8|}}} | ||
{{{Section9|}}} | {{{Section9|}}} | ||
{{{Section10|}}} | |||
<!-- SUPPLEMENT -->{{Chembox Supplement}} | <!-- SUPPLEMENT -->{{Chembox Supplement}} | ||
<!-- sets left colomn width --> | <!-- FOOTER -->{{Chembox Footer | ||
| width={{{width| | | useName={{#if:{{{Name|}}}|{{{Name|}}}|{{PAGENAME}}}} | ||
| Verifiedfields={{{Verifiedfields|}}} | |||
| Watchedfields={{{Watchedfields|}}} | |||
| verifiedrevid={{{verifiedrevid|}}} | |||
| show_ss_note={{{show_ss_note |yes}}} | |||
| show_infobox_ref={{{show_infobox_ref|yes}}} | |||
| general_note={{{general_note|}}} | |||
| style-left-column-width=40%<!-- sets left colomn width --> | |||
| width={{{width|22em}}}<!-- infobox width setting, here for feedback --> | |||
| hasImage={{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFile4|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}}<!-- the verified images -->{{{ImageFileL3|}}}{{{ImageFileR3|}}}{{{ImageFileL4|}}}{{{ImageFileR4|}}}<!-- now complete, all 13 --> | | hasImage={{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFile4|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}}<!-- the verified images -->{{{ImageFileL3|}}}{{{ImageFileR3|}}}{{{ImageFileL4|}}}{{{ImageFileR4|}}}<!-- now complete, all 13 --> | ||
| hasImageSize={{{ImageSizeL1|}}}{{{ImageSizeR1|}}}{{{ImageSizeL2|}}}{{{ImageSizeR2|}}}{{{ImageSizeL3|}}}{{{ImageSizeR3|}}}{{{ImageSizeL4|}}}{{{ImageSizeR4|}}} | | hasImageSize={{{ImageSizeL1|}}}{{{ImageSizeR1|}}}{{{ImageSizeL2|}}}{{{ImageSizeR2|}}}{{{ImageSizeL3|}}}{{{ImageSizeR3|}}}{{{ImageSizeL4|}}}{{{ImageSizeR4|}}} | ||
Line 134: | Line 149: | ||
|{{ParmPart |5 |{{filepath:{{{ImageFileR2|}}}}}}}=yes }} | |{{ParmPart |5 |{{filepath:{{{ImageFileR2|}}}}}}}=yes }} | ||
| hasDeprecatedParams1={{#ifeq:{{{1|¬PresenT}}}|¬PresenT||param1exists}}{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}} | | hasDeprecatedParams1={{#ifeq:{{{1|¬PresenT}}}|¬PresenT||param1exists}}{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}} | ||
| hasDeprecatedParams2={{{PIN_hidden|}}} | | hasDeprecatedParams2={{{PIN_hidden|}}} | ||
| hasDeprecatedParams3={{{BoxWidth|}}}{{{section|}}}{{{section1|}}}{{{section2|}}}{{{section3|}}}{{{section4|}}}{{{Section|}}}{{{Section10|}}}{{{Section11|}}}{{{Section12|}}}{{{Section13|}}}{{{Section14|}}}{{{Section15|}}}{{{ImageStyleL1|}}}{{{ImageStyleL2|}}}{{{ImageStyleL3|}}}{{{ImageStyleL4|}}}{{{ImageStyleR1|}}}{{{ImageStyleR2|}}}{{{ImageStyleR3|}}}{{{ImageStyleR4|}}}{{{Show_ss_note|}}}{{{Show_infobox_ref|}}}{{{General_note|}}} | | hasDeprecatedParams3={{{BoxWidth|}}}{{{section|}}}{{{section1|}}}{{{section2|}}}{{{section3|}}}{{{section4|}}}{{{Section|}}}{{{Section10|}}}{{{Section11|}}}{{{Section12|}}}{{{Section13|}}}{{{Section14|}}}{{{Section15|}}}{{{ImageStyleL1|}}}{{{ImageStyleL2|}}}{{{ImageStyleL3|}}}{{{ImageStyleL4|}}}{{{ImageStyleR1|}}}{{{ImageStyleR2|}}}{{{ImageStyleR3|}}}{{{ImageStyleR4|}}}{{{Show_ss_note|}}}{{{Show_infobox_ref|}}}{{{General_note|}}} | ||
| hasTrackedParams1={{{width|}}}{{{style|}}}{{{show_ss_note|}}}{{{show_infobox_ref|}}}{{{general_note|}}}{{{style-left-column-width|}}} | | hasTrackedParams1={{{width|}}}{{{style|}}}{{{show_ss_note|}}}{{{show_infobox_ref|}}}{{{general_note|}}}{{{style-left-column-width|}}} |
Revision as of 16:08, 6 April 2015
Template:Chembox Supplement
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa). | |
Infobox references | |
File:Test Template Info-Icon - Version (2).svg Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |