Template:Infobox cheese: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
m (hopefully fixing lua errors by removing unnecessary bullshit) |
||
Line 11: | Line 11: | ||
| data1 = {{{othernames|}}} | | data1 = {{{othernames|}}} | ||
| label2 = Country of origin | | label2 = Country of origin | ||
| data2 = | | data2 = {{{country|}}} | ||
| class2 = country-name | | class2 = country-name | ||
| label3 = Region, town | | label3 = Region, town | ||
Line 23: | Line 23: | ||
| class5 = locality | | class5 = locality | ||
| label6 = Source of milk | | label6 = Source of milk | ||
| data6 = | | data6 = {{{source|}}} | ||
| label7 = Pasteurised | | label7 = Pasteurised | ||
| data7 = {{{pasteurised|}}} | | data7 = {{{pasteurised|}}} | ||
Line 43: | Line 43: | ||
| data15 = {{{certification|}}} | | data15 = {{{certification|}}} | ||
| label16 = Named after | | label16 = Named after | ||
| data16 = | | data16 = {{{namedafter|}}} | ||
| below = {{#if:{{{commons|}}}{{#invoke:Commons link|hasGalleryOrCategory}}|{{Commons-inline|{{{commons|}}}|Related media on Wikimedia Commons|short=yes}}}} | | below = {{#if:{{{commons|}}}{{#invoke:Commons link|hasGalleryOrCategory}}|{{Commons-inline|{{{commons|}}}|Related media on Wikimedia Commons|short=yes}}}} | ||
}}{{Main other|[[Category:Articles with hRecipes]][[Category:Articles with Adr microformats]]}}<noinclude>{{documentation}}<!-- Please add categories and interwiki links to /doc subpage, not here! --></noinclude> | }}{{Main other|[[Category:Articles with hRecipes]][[Category:Articles with Adr microformats]]}}<noinclude>{{documentation}}<!-- Please add categories and interwiki links to /doc subpage, not here! --></noinclude> |
Revision as of 17:28, 13 August 2020
Lua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value). | |
Lua error in Module:Commons_link at line 35: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
This template uses the Wikidata properties:
Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value).
Usage
Simple
{{infobox cheese}}
Data will be automatically included from Wikidata.
Full
{{Infobox cheese | name = | image = | alt = | caption = | othernames = | country = | region = | town = | source = | pasteurised = | texture = | fat = | protein = | dimensions = | weight = | aging = [[60]] | certification = | commons = }}
Example
Parmigiano Reggiano | |
---|---|
Country of origin | Italy |
Town | Parma, Reggio Emilia, Modena, Bologna, Mantua |
Source of milk | Cows |
Pasteurised | No |
Texture | Hard |
Aging time | 24 months or more |
Certification | PDO 1992 |
Lua error in Module:Commons_link at line 35: attempt to index field 'wikibase' (a nil value). |
{{Infobox cheese | name = Parmigiano Reggiano | image = [[Image:Parmigiano reggiano piece.jpg|260px]] | othernames = | country = [[Italy]] | region = | town = [[Parma]], [[Reggio Emilia]], [[Modena]], [[Bologna]], [[Mantua]] | source = Cows | pasteurised = No | texture = Hard | fat = | protein = | dimensions = | weight = | aging = 24 months or more | certification = [[Protected designation of origin|PDO]] 1992 }}
Microformats
Adr
The HTML mark-up produced by this template includes an adr microformat that makes postal addresses or their component parts (regions, postal codes, country names, etc) readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.- Classes used
The HTML classes of this microformat include:
- adr
- country-name
- extended-address
- locality
- postal-code
- region
- street-address
Please do not rename or remove these classes.
Recipe
The HTML mark-up produced by this template includes an hRecipe microformat that makes food recipes and information about individual foods readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.- Classes used
The HTML classes of this microformat include:
- author
- duration
- fn
- ingredient
- instructions
- nutrition
- published
- tag
- type
- yield
Please do not rename or remove these classes.