Templat:Nilai nutrisi/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Addbot (bicara | kontrib)
k Bot: Migrasi pranala interwiki, karena telah disediakan oleh Wikidata pada item d:q6176356
kTidak ada ringkasan suntingan
Tag: Suntingan visualeditor-wikitext
 
(2 revisi perantara oleh 2 pengguna tidak ditampilkan)
Baris 2:
<!-- TAMBAHKAN KATEGORI DAN PRANALA ANTARBAHASA DI BAGIAN PALING BAWAH HALAMAN INI -->
 
=== Penggunaan ===
<!--explanations below this line-->
=== Sintaksis lengkap ===
<pre style="width: 50%; overflow: auto">
{{Infobox nutritional value
| name =
| image = <!-- Cukup masukkan nama berkas -->
| image_size = <!-- Ukuran baku adalah 235px -->
| image_alt =
| caption =
| serving_size =
| kJ =
| carbs =
| starch =
| sugars =
| lactose =
| fiber =
| fat =
| satfat =
| transfat =
| monofat =
| polyfat =
| omega3fat =
| omega6fat =
| protein =
| tryptophan =
| threonine =
| isoleucine =
| leucine =
| lysine =
| methionine =
| cystine =
| phenylalanine =
| tyrosine =
| valine =
| arginine =
| histidine =
| alanine =
| aspartic acid =
| glutamic acid =
| glycine =
| proline =
| serine =
| hydroxyproline =
| water =
| cholesterol =
| alcohol =
| caffeine =
| vitA_ug =
| vitA_iu =
| betacarotene_ug =
| lutein_ug =
| thiamin_mg =
| riboflavin_mg =
| niacin_mg =
| pantothenic_mg =
| vitB6_mg =
| folate_ug =
| vitB12_ug =
| choline_mg =
| vitC_mg =
| vitD_ug =
| vitD_iu =
| vitE_mg =
| vitK_ug =
| calcium_mg =
| copper_mg =
| iron_mg =
| magnesium_mg =
| manganese_mg =
| phosphorus_mg =
| potassium_mg =
| selenium_ug =
| sodium_mg =
| zinc_mg =
| opt1n =
| opt1v =
| opt2n =
| opt2v =
| opt3n =
| opt3v =
| opt4n =
| opt4v =
| note =
| source =
| source_usda =
| noRDA =
| float =
}}
</pre>
 
=== Contoh ===
{{Infobox nutritional value
 
| name = Foonuts
{{nutritionalvalue| name = Foonuts | kJ=2450 | protein=24 g | fat=50 g | satfat=7 g | transfat=3 g | monofat = 25 g | polyfat = 16 g | omega3fat=1 g | omega6fat=2 g | carbs = 22 g | starch=8 g | sugars=5 g | lactose=1 g | fiber = 9 g | sodium_mg=40 | potassium_mg = 80 | vitA_ug = 12 | vitC_mg=20 | thiamin_mg=1 | riboflavin_mg=2 | niacin_mg=0.5 | pantothenic_mg=0.1 | folate_ug=1.5 | vitD_ug=10 | vitE_mg=5 | vitK_ug=10 | iron_mg=5 | magnesium_mg=10 | phosphorus_mg=50 | zinc_mg=0.4 | calcium_mg=200 | vitB6_mg=1 | vitB12_ug=0.5 | water=5 g | alcohol=1 g | caffeine=20 mg | source_usda=1 | note=Footnote text here}}
| kJ = 2450
| carbs = 22 g
| starch = 8 g
| sugars = 5 g
| lactose = 1 g
| fibre = 9 g
| fat = 50 g
| satfat = 7 g
| transfat = 3 g
| monofat = 25 g
| polyfat = 16 g
| omega3fat = 1 g
| omega6fat = 2 g
| protein = 24 g
| tryptophan = 70 mg
| threonine = 490 mg
| isoleucine = 570 mg
| leucine = 920 mg
| lysine = 690 mg
| methionine = 200 mg
| cystine = 230 mg
| phenylalanine = 610 mg
| tyrosine = 380 mg
| valine = 750 mg
| arginine = 890 mg
| histidine = 250 mg
| alanine = 640 mg
| aspartic acid = 2.850 g
| glutamic acid = 2.260 g
| glycine = 780 mg
| proline = 2.310 g
| serine = 610 mg
| hydroxyproline = 0 mg
| water = 5 g
| cholesterol = 2 mg
| alcohol = 1 g
| caffeine = 20 mg
| vitA_ug = 12
| betacarotene_ug = 120
| thiamin_mg = 1
| riboflavin_mg = 2
| niacin_mg = 0.5
| pantothenic_mg = 0.1
| vitB6_mg = 1
| folate_ug = 1.5
| vitB12_ug = 0.5
| vitC_mg = 20
| vitD_ug = 10
| vitE_mg = 5
| vitK_ug = 10
| calcium_mg = 200
| copper_mg = 0.9
| iron_mg = 5
| magnesium_mg = 1.2
| manganese_mg = 1.2
| phosphorus_mg = 50
| potassium_mg = 80
| sodium_mg = 40
| selenium_ug = 23
| zinc_mg = 0.4
| note = Teks catatan kaki di sini
| source_usda = 1
| float =
}}
 
<pre style="width: 4050%; overflow: auto">
{{Infobox nutritional value
{{nutritionalvalue
| name = Foonuts
| kJ =2450 2450
| carbs = 22 g
| protein=24 g
| starch = 8 g
| fat=50 g
| satfatsugars =7 g5 g
| transfatlactose =3 g1 g
| monofatfibre = 259 g
| polyfatfat = 1650 g
| omega3fatsatfat =1 g7 g
| transfat = 3 g
| omega6fat=2 g
| carbsmonofat = 2225 g
| polyfat = 16 g
| starch=8 g
| sugarsomega3fat =5 g1 g
| lactoseomega6fat =1 g2 g
| fibreprotein = 924 g
| tryptophan = 70 mg
| sodium_mg=40
| potassium_mgthreonine = 80490 mg
| vitA_ugisoleucine = 12570 mg
| leucine = 920 mg
| vitC_mg=20
| lysine = 690 mg
| thiamin_mg=1
| methionine = 200 mg
| riboflavin_mg=2
| cystine = 230 mg
| niacin_mg=0.5
| phenylalanine = 610 mg
| pantothenic_mg=0.1
| tyrosine = 380 mg
| folate_ug=1.5
| valine = 750 mg
| vitD_ug=10
| arginine = 890 mg
| vitE_mg=5
| histidine = 250 mg
| vitK_ug=10
| alanine = 640 mg
| iron_mg=5
| aspartic acid = 2.850 g
| magnesium_mg=10
| glutamic acid = 2.260 g
| phosphorus_mg=50
| glycine = 780 mg
| zinc_mg=0.4
| proline = 2.310 g
| calcium_mg=200
| serine = 610 mg
| vitB6_mg=1
| hydroxyproline = 0 mg
| vitB12_ug=0.5
| water = 5 g
| cholesterol = 2 mg
| alcohol=1 g
| alcohol = 1 g
| caffeine=20 mg
| caffeine = 20 mg
| source_usda=1
| vitA_ug = 12
| note=Footnote text here}}
| betacarotene_ug = 120
| thiamin_mg = 1
| riboflavin_mg = 2
| niacin_mg = 0.5
| pantothenic_mg = 0.1
| vitB6_mg = 1
| folate_ug = 1.5
| vitB12_ug = 0.5
| vitC_mg = 20
| vitD_ug = 10
| vitE_mg = 5
| vitK_ug = 10
| calcium_mg = 200
| copper_mg = 0.9
| iron_mg = 5
| magnesium_mg = 1.2
| manganese_mg = 1.2
| phosphorus_mg = 50
| potassium_mg = 80
| sodium_mg = 40
| selenium_ug = 23
| zinc_mg = 0.4
| note = Teks catatan kaki di sini
| source_usda = 1
| float =
}}
</pre>
 
Baris 82 ⟶ 260:
Maybe someone can do this in wikitable format rather than raw HTML, if you know how to combine that with the <nowiki>{{#if: }}</nowiki> conditionals. Please experiment in [[Template:NutritionalvalueTest]] to prevent breaking article pages. -->
 
== Lihat pula ==
* {{tl|Nutritional information}}
* {{tl|Nutrition Facts}}
Baris 90 ⟶ 268:
[[Kategori:Templat kotak info biologi]]
 
<!--DO NOT ADD ANYTHING AFTER THIS LINE -->
[[pt:Predefinição:Infobox/Valor nutricional]]
[[tr:Şablon:Besindeğeri]]
<!--DO NOT ADD ANYTHING AFTER THIS LINE -->
</includeonly>