Template:Chembox1: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
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|}}};"
|+ <!-- TITLE --> colspan=2 style="text-align:center;" |{{#if:{{{Name|}}} |{{{Name}}} |{{PAGENAME}}}}{{{Reference|}}}
{{#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|}}}
<!-- Other names listing: -->
| {{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|}}}
|OtherNames={{{OtherNames|}}}
|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 IUPACName/s? -->
|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-9 --- -->
{{{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|20em}}}<!-- infobox width setting, here for feedback -->
| 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|}}}{{{IUPACNames_hidden|}}}{{{IUPACName_hidden|}}}<!--depr sh/hi Names 11 Feb 2015 -->
| 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
Chembox1
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa).
Infobox references