Templat:Chembox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
MerlIwBot (bicara | kontrib)
Tidak ada ringkasan suntingan
 
(16 revisi perantara oleh 7 pengguna tidak ditampilkan)
Baris 1:
<onlyinclude>{|class="infobox bordered" style="border-collapse: collapse; width: {{#if:{{{BoxWidthwidth|22em}}}|{{{BoxWidth}}}|{{#if; text-align:left; {{{widthstyle|}}}|{{{width}}}|22em}} }}; font"<!--size: 88%"
TITLE -->
! colspan=2 style="background-color: #f8eaba; text-align: center; font-size: 125%" | {{#if:{{{Name|}}}|{{{Name}}}|{{PAGENAME}}}}{{#if:{{{Reference|}}}|{{{Reference}}} }}
|+ style="text-align:center;" |{{#if:{{{Name|}}} |{{{Name}}}
|-
|{{PAGENAME}}}}{{{Reference|}}}{{{Chembox_ref|}}}
|- <!-- IMAGES -->
{{#if:{{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}}|<!-- rows 4/7 checked -->
|<!-- Row 1/7 -->{{Chembox image
{{Chembox image|par_name={{#if:{{{ImageFile|}}}|Gambar}} |par_value={{#if:{{{ImageFile|}}}|{{{ImageFile}}} }}|par_size={{#if:{{{ImageSize|}}}|{{{ImageSize}}}|200px}} }}
|par_file={{{ImageFile|}}}
{{Chembox image|par_name={{#if:{{{ImageFile1|}}}|Gambar}} |par_value={{#if:{{{ImageFile1|}}}|{{{ImageFile1}}} }}|par_size={{#if:{{{ImageSize1|}}}|{{{ImageSize1}}}|200px}} }}
|par_title={{{ImageName|}}}
{{Chembox image sbs|par_nameL={{#if:{{{ImageFileL1|}}}|Gambar}} |par_valueL={{#if:{{{ImageFileL1|}}}|{{{ImageFileL1}}} }}|par_sizeL={{#if:{{{ImageSizeL1|}}}|{{{ImageSizeL1}}}|100px}} | par_nameR={{#if:{{{ImageFileR1|}}}|Gambar}} |par_valueR={{#if:{{{ImageFileR1|}}}|{{{ImageFileR1}}} }}|par_sizeR={{#if:{{{ImageSizeR1|}}}|{{{ImageSizeR1}}}|100px}} }}
|par_size={{{ImageSize|}}}
{{Chembox image|par_name={{#if:{{{ImageFile2|}}}|Gambar}} |par_value={{#if:{{{ImageFile2|}}}|{{{ImageFile2}}} }}|par_size={{#if:{{{ImageSize2|}}}|{{{ImageSize2}}}|200px}} }}
|par_alt={{{ImageAlt|}}}
{{Chembox image|par_name={{#if:{{{ImageFile3|}}}|Gambar}} |par_value={{#if:{{{ImageFile3|}}}|{{{ImageFile3}}} }}|par_size={{#if:{{{ImageSize3|}}}|{{{ImageSize3}}}|200px}} }}
|par_caption={{{ImageCaption|}}}
{{Chembox image sbs|par_nameL={{#if:{{{ImageFileL2|}}}|Gambar}} |par_valueL={{#if:{{{ImageFileL2|}}}|{{{ImageFileL2}}} }}|par_sizeL={{#if:{{{ImageSizeL2|}}}|{{{ImageSizeL2}}}|100px}} | par_nameR={{#if:{{{ImageFileR2|}}}|Gambar}} |par_valueR={{#if:{{{ImageFileR2|}}}|{{{ImageFileR2}}} }}|par_sizeR={{#if:{{{ImageSizeR2|}}}|{{{ImageSizeR1}}}|100px}} }} |
|par_ref={{{ImageFile_Ref|}}} }}
{{#ifexist:Image:{{PAGENAME}}.svg|{{Chembox image|par_name=Gambar|par_value={{PAGENAME}}.svg|par_size={{#if:{{{ImageSize|}}}|{{{ImageSize}}}|200px}} }} |
<!-- Row 2/7 -->{{Chembox image
{{#ifexist:Image:{{PAGENAME}}.png|{{Chembox image|par_name=Gambar|par_value={{PAGENAME}}.png|par_size={{#if:{{{ImageSize|}}}|{{{ImageSize}}}|200px}} }} |
|par_file={{{ImageFile1|}}}
{{#ifexist:Image:{{PAGENAME}}.gif|{{Chembox image|par_name=Gambar|par_value={{PAGENAME}}.gif|par_size={{#if:{{{ImageSize|}}}|{{{ImageSize}}}|200px}} }} |
|par_title={{{ImageName1|}}}
{{#ifexist:Image:{{PAGENAME}}.jpg|{{Chembox image|par_name=Gambar|par_value={{PAGENAME}}.jpg|par_size={{#if:{{{ImageSize|}}}|{{{ImageSize}}}|200px}} }} |
|par_size={{{ImageSize1|}}}
}} }} }} }}
|par_alt={{{ImageAlt1|}}}
|par_caption={{{ImageCaption1|}}}
|par_ref={{{ImageFile1_Ref|}}} }}
<!-- Row 3/7 -->{{Chembox image sbs
|par_fileL={{{ImageFileL1|}}}
|par_titleL={{{ImageNameL1|}}}
|par_sizeL={{{ImageSizeL1|}}}
|par_altL={{{ImageAltL1|}}}
|par_captionL={{{ImageCaptionL1|}}}
|par_refL={{{ImageFileL1_Ref|}}}
|par_fileR={{{ImageFileR1|}}}
|par_titleR={{{ImageNameR1|}}}
|par_sizeR={{{ImageSizeR1|}}}
|par_altR={{{ImageAltR1|}}}
|par_captionR={{{ImageCaptionR1|}}}
|par_refR={{{ImageFileR1_Ref|}}}
|par_captionLR={{{ImageCaptionLR1|}}}}}<!-- new Nov 2017: caption for both images -->
<!-- Row 4/7 -->{{Chembox image
|par_file={{{ImageFile2|}}}
|par_title={{{ImageName2|}}}
|par_size={{{ImageSize2|}}}
|par_alt={{{ImageAlt2|}}}
|par_caption={{{ImageCaption2|}}}
|par_ref={{{ImageFile2_Ref|}}} }}
<!-- Row 5/7 -->{{Chembox image sbs
|par_fileL={{{ImageFileL2|}}}
|par_titleL={{{ImageNameL2|}}}
|par_sizeL={{{ImageSizeL2|}}}
|par_altL={{{ImageAltL2|}}}
|par_captionL={{{ImageCaptionL2|}}}
|par_refL={{{ImageFileL2_Ref|}}}
|par_fileR={{{ImageFileR2|}}}
|par_titleR={{{ImageNameR2|}}}
|par_sizeR={{{ImageSizeR2|}}}
|par_altR={{{ImageAltR2|}}}
|par_captionR={{{ImageCaptionR2|}}}
|par_refR={{{ImageFileR2_Ref|}}}
|par_captionLR={{{ImageCaptionLR2|}}} }}
<!-- Row 6/7 -->{{Chembox image
|par_file={{{ImageFile3|}}}
|par_title={{{ImageName3|}}}
|par_size={{{ImageSize3|}}}
|par_alt={{{ImageAlt3|}}}
|par_caption={{{ImageCaption3|}}}
|par_ref ={{{ImageFile3_Ref|}}} }}
<!-- Row 7/7 -->{{Chembox image sbs
|par_fileL={{{ImageFileL3|}}}
|par_titleL={{{ImageNameL3|}}}
|par_sizeL={{{ImageSizeL3|}}}
|par_altL={{{ImageAltL3|}}}
|par_captionL={{{ImageCaptionL3|}}}
|par_refL={{{ImageFileL3_Ref|}}}
|par_fileR={{{ImageFileR3|}}}
|par_titleR={{{ImageNameR3|}}}
|par_sizeR={{{ImageSizeR3|}}}
|par_altR={{{ImageAltR3|}}}
|par_captionR={{{ImageCaptionR3|}}}
|par_refR={{{ImageFileR3_Ref|}}}
|par_captionLR={{{ImageCaptionLR3|}}}
}}
<!--
{{Chembox entry|par_name={{#if:{{{IUPACName|}}}|Nama IUPAC}} |par_value={{#if:{{{IUPACName|}}}|{{{IUPACName}}} }} }}
ImageCaptionAll
{{Chembox entry|par_name={{#if:{{{SystematicName|}}}|Nama Sistematis}} |par_value={{#if:{{{SystematicName|}}}|{{{SystematicName}}} }} }}
-->
{{Chembox entry|par_name={{#if:{{{OtherNames|}}}|Nama Lain}} |par_value={{#if:{{{OtherNames|}}}|{{{OtherNames}}} }} }}
{{#if:{{{ImageCaptionAll|}}} |{{Chembox image caption all |par_caption={{{ImageCaptionAll}}} }}}}<!--
{{Chembox entry|par_name={{#if:{{{Abbreviations|}}}|Singkatan}}|par_value={{#if:{{{Abbreviations|}}}|{{{Abbreviations}}} }} }}
-->}}<!--
{{Chembox entry|par_name={{#if:{{{Formula|}}}|Formula }} |par_value={{#if:{{{Formula|}}}|{{{Formula}}} }} }}
NAMES ----- -->
{{Chembox entry|par_name={{#if:{{{MolarMass|}}}|Massa Molar }} |par_value={{#if:{{{MolarMass|}}}|{{{MolarMass}}} }} }}
{{Chembox entry|par_name={{#if:{{{CASNoOtherNames|}}}{{{IUPACName|Nomor CAS }} |par_value=}{{#if:{{{CASNoIUPACNames|}}}|{{{CASNoPIN|}}} {{{SystematicName|}} }}|
{{Chembox AllOtherNames
{{Chembox entry|par_name={{#if:{{{Density|}}}|Kerapatan }} |par_value={{#if:{{{Density|}}}|{{{Density}}} }} }}
|ref={{{Names_ref|}}}
{{Chembox entry|par_name={{#if:{{{Solubility|}}}|Kelarutan }} |par_value={{#if:{{{Solubility|}}}|{{{Solubility}}} }}|par_var_label={{#if:{{{Solvent|}}}|{{{Solvent}}} }} }}
|pronounce={{{pronounce|}}}
{{Chembox entry|par_name={{#if:{{{MeltingPt|}}}|Titik Lebur }} |par_value={{#if:{{{MeltingPt|}}}|{{{MeltingPt}}} }} }}
|IUPACName={{{IUPACName|}}} {{{IUPACNames|}}}<!-- plural indicated by editor -->
{{Chembox entry|par_name={{#if:{{{BoilingPt|}}}|Titik Didih }} |par_value={{#if:{{{BoilingPt|}}}|{{{BoilingPt}}} }} }}
|PIN={{{PIN|}}}
{{Chembox entry|par_name={{#if:{{{LogP|}}}|Log P }} |par_value={{#if:{{{LogP|}}}|{{{LogP}}} }} }}
|SystematicName={{{SystematicName|}}}
{{Chembox entry|par_name={{#if:{{{VaporPressure|}}}|Tekanan Uap }}|par_value={{#if:{{{VaporPressure|}}}|{{{VaporPressure}}} }} }}
|OtherNames={{{OtherNames|}}}
{{Chembox entry|par_name={{#if:{{{HenryConstant|}}}|Konstanta Henry }}|par_value={{#if:{{{HenryConstant|}}}|{{{HenryConstant}}} }} }}
|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? -->
{{Chembox entry|par_name={{#if:{{{AtmosphericOHRateConstant|}}}|Konstanta Laju OH Atmosferik }}|par_value={{#if:{{{AtmosphericOHRateConstant|}}}|{{{AtmosphericOHRateConstant}}} }} }}
}}}}<!--
{{Chembox entry|par_name={{#if:{{{pKa|}}}|pKa }} |par_value={{#if:{{{pKa|}}}|{{{pKa}}} }} }}
----- SECTIONS 1-9 ----- -->
{{Chembox entry|par_name={{#if:{{{pKb|}}}|pKb }} |par_value={{#if:{{{pKb|}}}|{{{pKb}}} }} }}
{{Chembox entry|par_name={{#if:{{{IsoelectricPt|}}}|Titik Isoelektrik }}|par_value={{#if:{{{IsoelectricPt|}}}|{{{IsoelectricPt}}} }} }}
{{Chembox entry|par_name={{#if:{{{DeltaHf|}}}|Delta Hf }} |par_value={{#if:{{{DeltaHf|}}}|{{{DeltaHf}}} }} }}
{{Chembox entry|par_name={{#if:{{{DeltaHc|}}}|Delta Hc }} |par_value={{#if:{{{DeltaHc|}}}|{{{DeltaHc}}} }} }}
{{Chembox entry|par_name={{#if:{{{EINECS|}}}|EINECS }} |par_value={{#if:{{{EINECS|}}}|{{{EINECS}}} }} }}
{{Chembox entry|par_name={{#if:{{{EINECSCASNO|}}}|EINECSCASNO }} |par_value={{#if:{{{EINECSCASNO|}}}|{{{EINECSCASNO}}} }} }}
{{Chembox entry|par_name={{#if:{{{PubChem|}}}|PubChem }} |par_value={{#if:{{{PubChem|}}}|{{{PubChem}}} }} }}
{{Chembox entry|par_name={{#if:{{{SMILES|}}}|SMILES }} |par_value={{#if:{{{SMILES|}}}|{{{SMILES}}} }} }}
{{Chembox entry|par_name={{#if:{{{InChI|}}}|InChI }} |par_value={{#if:{{{InChI|}}}|{{{InChI}}} }} }}
{{{Section1|}}}
{{{Section2|}}}
Baris 48 ⟶ 101:
{{{Section7|}}}
{{{Section8|}}}
{{{Section9|}}}<!--
----- SUPPLEMENT -----
{{{Section10|}}}
 
{{{Section11|}}}
TODO: what is {{{data_page|}}}? Should be {{{data page pagename|}}}?! (Jun2020) -->
{{{Section12|}}}
{{#ifexist:{{{data page pagename|{{if empty|{{{data_page|}}}|{{FULLPAGENAME}} (data page)}}}}}
{{{Section13|}}}
| {{#ifeq:{{{data page pagename|}}}|none|<!-- suppress supplement -->|{{Chembox Supplement | _data page pagename={{{data page pagename|{{if empty|{{{data_page|}}}|{{FULLPAGENAME}} (data page)}}}}}}}}}
{{{Section14|}}}
}}<!--
{{{Section15|}}}
------ FOOTER -----
{{Chembox Supplement}}
the visual footer, see also Footer/tracking (below). -->
|{{Chembox header}}| <small>Kecuali dinyatakan sebaliknya, data di atas berlaku<br>pada [[temperatur dan tekanan standar]] (25°C, 100&nbsp;kPa)<br/>
 
[[:en:Wikipedia:Chemical infobox|Sangkalan dan referensi]]</small>
{{yesno|1={{First nonempty|1={{{show_footer|}}}|2={{yesno|1={{{container_only|no}}}|yes=no|no=yes}}<!-- inversion needed per logic -->}}
|-
|yes={{Chembox Footer
|}</onlyinclude><noinclude>
 
{{chembox new
| Verifiedfields={{{Verifiedfields|}}}
|ImageFile=Water_molecule_3D.svg
| Watchedfields={{{Watchedfields|}}}
|IUPACName=contoh
| verifiedrevid={{{verifiedrevid|}}}
| show_ss_note={{{show_ss_note |yes}}}
| show_infobox_ref={{{show_infobox_ref|yes}}}
| general_note={{{general_note|}}}
| width={{{width|22em}}}<!-- infobox width setting, here for feedback only
end footer -->|no= }}
 
}}
 
[[Kategori:Templat kimia]]
|}<!-- END of wikitable (=infobox table)
[[af:Sjabloon:Chemiekas nuut]]
 
[[ar:قالب:Chembox]]
--><includeonly><!--
[[az:Şablon:Maddə]]
-->{{#if:{{yesno|1={{{container_only|no}}}|yes=yes|no=}}
[[bn:টেমপ্লেট:Chembox]]
|<!-- container_only: -->{{Chembox Footer/tracking_container_only}}
[[ca:Plantilla:Chembox]]
|<!-- regular tracking -->{{Chembox Footer/tracking<!-- subtemplate, outside of Footer. See also headerbar (esp in Identifiers).
[[da:Skabelon:Kemiboks ny]]
-->| _hasImage={{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFileL1|}}}{{{ImageFileL2|}}}<!-- the verified images -->{{{ImageFileL3|}}}<!-- R-images not checked here
[[de:Vorlage:Infobox Chemikalie]]
 
[[el:Πρότυπο:Πληροφορίες χημικής ένωσης]]
Images in row 8-9
[[en:Template:Chembox]]
-->| _hasImageSizeSet={{{ImageSize|}}}{{{ImageSize1|}}}{{{ImageSize2|}}}{{{ImageSize3|}}}<!--
[[eo:Ŝablono:Informkesto kemia substanco]]
-->| _hasImagePairSizeSet={{{ImageSizeL1|}}}{{{ImageSizeL2|}}}{{{ImageSizeL3|}}}{{{ImageSizeR1|}}}{{{ImageSizeR2|}}}{{{ImageSizeR3|}}}<!--
[[fr:Modèle:Infobox Chimie]]
 
[[he:תבנית:תרכובת]]
-->| _hasLocalImage=<!-- Check if file is local; not above L2, R2
[[hsb:Předłoha:Infokašćik chemikalije]]
-->{{#switch: en
[[it:Template:Composto chimico]]
|{{ParmPart |5 |{{filepath:{{{ImageFile|}}}}}}}
[[ja:Template:Chembox]]
|{{ParmPart |5 |{{filepath:{{{ImageFile1|}}}}}}}
[[ka:თარგი:ინფოდაფა ნივთიერება]]
|{{ParmPart |5 |{{filepath:{{{ImageFile2|}}}}}}}
[[ko:틀:화합물 정보]]
|{{ParmPart |5 |{{filepath:{{{ImageFile3|}}}}}}}
[[krc:Шаблон:Химия вещество]]
|{{ParmPart |5 |{{filepath:{{{ImageFileL1|}}}}}}}
[[nds:Vörlaag:Infobox cheemsch Stoff]]
|{{ParmPart |5 |{{filepath:{{{ImageFileR1|}}}}}}}
[[nl:Sjabloon:Infobox chemische stof]]
|{{ParmPart |5 |{{filepath:{{{ImageFileL2|}}}}}}}
[[pl:Szablon:Związek chemiczny infobox]]
|{{ParmPart |5 |{{filepath:{{{ImageFileR2|}}}}}}}=yes }}<!--
[[pt:Predefinição:Info/Química]]
 
[[qu:Plantilla:T'inkisqa]]
HAS STYLE SETTINGS
[[ro:Format:InfoBoxChimie]]
-->| _hasTrackedStyleSettings={{{width|}}}{{{style|}}}{{{show_ss_note|}}}{{{show_infobox_ref|}}}{{{general_note|}}}{{{show_footer|}}}<!--
[[ru:Шаблон:Вещество]]
 
[[simple:Template:Chembox new]]
TEMPORAL TRACKING: (optionaly determine and add a sortletter here)
[[sk:Šablóna:Infobox Chemická zlúčenina]]
-->|_trackListSortletter = <!-- unused Oct2020
[[sv:Mall:Kemibox]]
 
[[th:แม่แบบ:กล่องข้อมูล สารเคมี]]
end of Chembox tracking subtemplate
[[tr:Şablon:Kimyakutu]]
-->}}}}</includeonly><!--
[[uk:Шаблон:Chembox new]]
 
[[vi:Bản mẫu:Chembox new]]
-->{{#invoke:TemplatePar
[[zh:Template:Chembox]]
|check
[[zh-yue:Template:Chembox]]
|template=Template:Chembox
[[es:Plantilla:Ficha de compuesto químico]]
|all= |opt= Reference= Chembox_ref= IUPACNames= IUPACName= ImageAlt1= ImageAlt2= ImageAlt3= ImageAltL1= ImageAltL2= ImageAltL3= ImageAltR1= ImageAltR2= ImageAltR3= ImageAlt= ImageCaption1= ImageCaption2= ImageCaption3= ImageCaptionL1= ImageNameR1= ImageCaptionL2= ImageCaptionL3= ImageCaptionR1= ImageCaptionR2= ImageCaptionR3= ImageCaptionLR1= ImageCaptionLR2= ImageCaptionLR3= ImageCaption= ImageFile1_Ref= ImageFile1= ImageFile2_Ref= ImageFile2= ImageFile3_Ref= ImageFile3= ImageFileL1_Ref= ImageFileL1= ImageFileL2_Ref= ImageFileL2= ImageFileL3_Ref= ImageFileL3= ImageFileR1_Ref= ImageFileR1= ImageFileR2_Ref= ImageFileR2= ImageFileR3_Ref= ImageFileR3= ImageFile_Ref= ImageFile= ImageName1= ImageName2= ImageName3= ImageNameL1= ImageNameL2= ImageNameL3= ImageNameR2= ImageNameR3= ImageName= ImageSize1= ImageSize2= ImageSize3= ImageSizeL1= ImageSizeL2= ImageSizeL3= ImageSizeR1= ImageSizeR2= ImageSizeR3= ImageSize= Name= OtherNames= pronounce= PIN= Section1= Section2= Section3= Section4= Section5= Section6= Section7= Section8= Section9= SystematicName= Verifiedfields= Watchedfields= verifiedrevid= Verifiedimages= data page pagename= general_note= show_infobox_ref= show_ss_note= show_footer= style= width= container_only=
[[fa:الگو:Chembox]]
 
[[fi:Malline:Yhdiste]]
|cat=Halaman yang menggunakan Chembox dengan parameter tidak dikenali
</noinclude>
|format=0|preview={{Chembox templatePar/formatPreviewMessage|msg=@@@}}|errNS=0}}<!--
 
--><noinclude>{{documentation}}</noinclude>