Templat:Chembox: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Glorious Engine (bicara | kontrib)
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(10 revisi perantara oleh 5 pengguna tidak ditampilkan)
Baris 1:
{|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|}}}{{{Chembox_ref|}}}
|- <!-- IMAGES -->
{{#if:{{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}}<!-- rows 4/7 checked -->
|<!-- Row 1/97 -->{{Chembox image
|par_file={{{ImageFile|}}}
|par_title={{{ImageName|}}}
Baris 12:
|par_caption={{{ImageCaption|}}}
|par_ref={{{ImageFile_Ref|}}} }}
<!-- Row 2/97 -->{{Chembox image
|par_file={{{ImageFile1|}}}<!-- par_file, not par_value any more -->
|par_title={{{ImageName1|}}}
|par_size={{{ImageSize1|}}}
Baris 19:
|par_caption={{{ImageCaption1|}}}
|par_ref={{{ImageFile1_Ref|}}} }}
<!-- Row 3/97 -->{{Chembox image sbs
|par_fileL={{{ImageFileL1|}}}
|par_titleL={{{ImageNameL1|}}}
Baris 31:
|par_altR={{{ImageAltR1|}}}
|par_captionR={{{ImageCaptionR1|}}}
|par_refR={{{ImageFileR1_Ref|}}} }}
|par_captionLR={{{ImageCaptionLR1|}}}}}<!-- new Nov 2017: caption for both images -->
<!-- Row 4/9 -->{{Chembox image sbs
<!-- Row 54/97 -->{{Chembox image
|par_file={{{ImageFile2|}}}
|par_title={{{ImageName2|}}}
|par_size={{{ImageSize2|}}}
|par_alt={{{ImageAlt2|}}}
|par_caption={{{ImageCaption2|}}}
|par_ref={{{ImageFile2_Ref|}}} }}
<!-- Row 45/97 -->{{Chembox image sbs
|par_fileL={{{ImageFileL2|}}}
|par_titleL={{{ImageNameL2|}}}
Baris 44 ⟶ 52:
|par_altR={{{ImageAltR2|}}}
|par_captionR={{{ImageCaptionR2|}}}
|par_refR={{{ImageFileR2_Ref|}}} }}
|par_captionLR={{{ImageCaptionLR2|}}} }}
<!-- Row 5/9 -->{{Chembox image
<!-- Row 6/97 -->{{Chembox image
|par_file={{{ImageFile2|}}}
|par_title={{{ImageName2|}}}
|par_size={{{ImageSize2|}}}
|par_alt={{{ImageAlt2|}}}
|par_caption={{{ImageCaption2|}}}
|par_ref={{{ImageFile2_Ref|}}} }}
<!-- Row 6/9 -->{{Chembox image
|par_file={{{ImageFile3|}}}
|par_title={{{ImageName3|}}}
Baris 59 ⟶ 61:
|par_caption={{{ImageCaption3|}}}
|par_ref ={{{ImageFile3_Ref|}}} }}
<!-- Row 7/97 -->{{Chembox image sbs
|par_fileL={{{ImageFileL3|}}}
|par_titleL={{{ImageNameL3|}}}
Baris 71 ⟶ 73:
|par_altR={{{ImageAltR3|}}}
|par_captionR={{{ImageCaptionR3|}}}
|par_refR={{{ImageFileR3_Ref|}}} }}
|par_captionLR={{{ImageCaptionLR3|}}}
<!-- Row 8/9 -->{{Chembox image sbs
}}
|par_fileL={{{ImageFileL4|}}}
<!--
|par_titleL={{{ImageNameL4|}}}
ImageCaptionAll
|par_sizeL={{{ImageSizeL4|}}}
-->
|par_altL={{{ImageAltL4|}}}
{{#if:{{{ImageCaptionAll|}}} |{{Chembox image caption all |par_caption={{{ImageCaptionAll}}} }}}}<!--
|par_captionL={{{ImageCaptionL4|}}}
|par_refL={{{ImageFileL4_Ref|}}}
|par_fileR={{{ImageFileR4|}}}
|par_titleR={{{ImageNameR4|}}}
|par_sizeR={{{ImageSizeR4|}}}
|par_altR={{{ImageAltR4|}}}
|par_captionR={{{ImageCaptionR4|}}}
|par_refR={{{ImageFileR4_Ref|}}} }}
<!-- Row 9/9 -->{{Chembox image
|par_file={{{ImageFile4|}}}
|par_title={{{ImageName4|}}}
|par_size={{{ImageSize4|}}}
|par_alt={{{ImageAlt4|}}}
|par_caption={{{ImageCaption4|}}}
|par_ref={{{ImageFile4_Ref|}}}}}<!-- No ImageFile entered for rows 1-4; row 5+ cannot be initial image
-->}}<!--
NAMES ----- -->
Baris 97 ⟶ 85:
{{Chembox AllOtherNames
|ref={{{Names_ref|}}}
|pronounce={{{pronounce|}}}
|IUPACName={{{IUPACName|}}} {{{IUPACNames|}}}<!-- plural indicated by editor -->
|PIN={{{PIN|}}}
Baris 113 ⟶ 102:
{{{Section8|}}}
{{{Section9|}}}<!--
----- SUPPLEMENT ----- -->{{Chembox Supplement}}<!--
 
------ FOOTER ----- -->{{Chembox Footer
TODO: what is {{{data_page|}}}? Should be {{{data page pagename|}}}?! (Jun2020) -->
{{#ifexist:{{{data page pagename|{{if empty|{{{data_page|}}}|{{FULLPAGENAME}} (data page)}}}}}
| {{#ifeq:{{{data page pagename|}}}|none|<!-- suppress supplement -->|{{Chembox Supplement | _data page pagename={{{data page pagename|{{if empty|{{{data_page|}}}|{{FULLPAGENAME}} (data page)}}}}}}}}}
}}<!--
------ FOOTER ----- -->{{Chembox Footer
the visual footer, see also Footer/tracking (below). -->
 
{{yesno|1={{First nonempty|1={{{show_footer|}}}|2={{yesno|1={{{container_only|no}}}|yes=no|no=yes}}<!-- inversion needed per logic -->}}
|yes={{Chembox Footer
 
| Verifiedfields={{{Verifiedfields|}}}
| Watchedfields={{{Watchedfields|}}}
Baris 121 ⟶ 120:
| show_infobox_ref={{{show_infobox_ref|yes}}}
| general_note={{{general_note|}}}
| width={{{width|22em}}}<!-- infobox width setting, here for feedback only
| style-left-column-width=40%<!-- sets left colomn width -->
end footer -->|no= }}
| 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|}}}<!-- all 13 images
}}
-->| _hasLocalImage=<!-- Check if file is local/not above L2, R2
 
|}<!-- endEND of wikitable (=infobox table)
 
--><includeonly><!--
-->{{#if:{{yesno|1={{{container_only|no}}}|yes=yes|no=}}
|<!-- container_only: -->{{Chembox Footer/tracking_container_only}}
|<!-- regular tracking -->{{Chembox Footer/tracking<!-- subtemplate, outside of Footer. See also headerbar (esp in Identifiers).
-->| _hasImage={{{ImageFile|}}}{{{ImageFile1|}}}{{{ImageFile2|}}}{{{ImageFile3|}}}{{{ImageFile4|}}}{{{ImageFileL1|}}}{{{ImageFileR1|}}}{{{ImageFileL2|}}}{{{ImageFileR2|}}}<!-- the verified images -->{{{ImageFileL3|}}}{{{ImageFileR3|}}}{{{ImageFileL4|}}}{{{ImageFileR4|}}}<!-- allR-images 13not imageschecked here
 
Images in row 8-9
-->| _hasImageSizeSet={{{ImageSize|}}}{{{ImageSize1|}}}{{{ImageSize2|}}}{{{ImageSize3|}}}<!--
-->| _hasImagePairSizeSet={{{ImageSizeL1|}}}{{{ImageSizeL2|}}}{{{ImageSizeL3|}}}{{{ImageSizeR1|}}}{{{ImageSizeR2|}}}{{{ImageSizeR3|}}}<!--
 
-->| _hasLocalImage=<!-- Check if file is local/; not above L2, R2
-->{{#switch: en
|{{ParmPart |5 |{{filepath:{{{ImageFile|}}}}}}}
Baris 130 ⟶ 143:
|{{ParmPart |5 |{{filepath:{{{ImageFile2|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFile3|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFile4|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileL1|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileR1|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileL2|}}}}}}}
|{{ParmPart |5 |{{filepath:{{{ImageFileR2|}}}}}}}=yes }}<!--
 
-->| _hasDeprecatedParams1=<!--
HAS STYLE SETTINGS
-->| _hasDeprecatedParams2=<!--
-->| _hasTrackedParams1_hasTrackedStyleSettings={{{width|}}}{{{style|}}}{{{show_ss_note|}}}{{{show_infobox_ref|}}}{{{general_note|}}}{{{style-left-column-widthshow_footer|}}}<!--
 
-->| _hasTrackedParams2=<!-- image rows 7-8-9 -->{{{ImageFileL3|}}}{{{ImageNameL3|}}}{{{ImageSizeL3|}}}{{{ImageAltL3|}}}{{{ImageCaptionL3|}}}{{{ImageFileL3_Ref|}}}{{{ImageFileR3|}}}{{{ImageNameR3|}}}{{{ImageSizeR3|}}}{{{ImageAltR3|}}}{{{ImageCaptionR3|}}}{{{ImageFileR3_Ref|}}}<!-- Row 8/9 -->{{{ImageFileL4|}}}{{{ImageNameL4|}}}{{{ImageSizeL4|}}}{{{ImageAltL4|}}}{{{ImageCaptionL4|}}}{{{ImageFileL4_Ref|}}}{{{ImageFileR4|}}}{{{ImageNameR4|}}}{{{ImageSizeR4|}}}{{{ImageAltR4|}}}{{{ImageCaptionR4|}}}{{{ImageFileR4_Ref|}}}<!-- Row 9/9 -->{{{ImageFile4|}}}{{{ImageName4|}}}{{{ImageSize4|}}}{{{ImageAlt4|}}}{{{ImageCaption4|}}}{{{ImageFile4_Ref|}}}<!--
TEMPORAL TRACKING: (optionaly determine and add a sortletter here)
end footer -->}}
-->|_trackListSortletter = <!-- unused Oct2020
|}<!-- end of wikitable
 
end of Chembox tracking subtemplate
-->}}}}</includeonly><!--
 
-->{{#invoke:TemplatePar
|check
|template=TemplatTemplate:Chembox
|all= |opt= Reference= Chembox_ref= IUPACNames= IUPACName= ImageAlt1= ImageAlt2= ImageAlt3= ImageAlt4= ImageAltL1= ImageAltL2= ImageAltL3= ImageAltL4= ImageAltR1= ImageAltR2= ImageAltR3= ImageAltR4= ImageAlt= ImageCaption1= ImageCaption2= ImageCaption3= ImageCaption4ImageCaptionL1= ImageCaptionL1ImageNameR1= ImageCaptionL2= ImageCaptionL3= ImageCaptionL4= ImageCaptionR1= ImageCaptionR2= ImageCaptionR3= ImageCaptionR4ImageCaptionLR1= ImageCaptionLR2= ImageCaptionLR3= ImageCaption= ImageFile1_Ref= ImageFile1= ImageFile2_Ref= ImageFile2= ImageFile3_Ref= ImageFile3= ImageFile4_Ref= ImageFile4= ImageFileL1_Ref= ImageFileL1= ImageFileL2_Ref= ImageFileL2= ImageFileL3_Ref= ImageFileL3= ImageFileL4_Ref= ImageFileL4= ImageFileR1_Ref= ImageFileR1= ImageFileR2_Ref= ImageFileR2= ImageFileR3_Ref= ImageFileR3= ImageFileR4_Ref= ImageFileR4= ImageFile_Ref= ImageFile= ImageName1= ImageName2= ImageName3= ImageName4= ImageNameL1= ImageNameL2= ImageNameL3= ImageNameL4= ImageNameR1= ImageNameR2= ImageNameR3= ImageNameR4= ImageName= ImageSize1= ImageSize2= ImageSize3= ImageSize4= ImageSizeL1= ImageSizeL2= ImageSizeL3= ImageSizeL4= ImageSizeR1= ImageSizeR2= ImageSizeR3= ImageSizeR4= 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= style-left-column-widthshow_footer= style= width= container_only=
 
|cat=Chemical articles with unknown parameter in Chembox
|cat=Halaman yang menggunakan Chembox dengan parameter tidak dikenali
|format=0|preview={{Chembox templatePar/formatPreviewMessage|msg=@@@}}|errNS=0}}<!--
 
--><noinclude>{{dokumentasidocumentation}}</noinclude>