Template:Infobox cheese/doc: Difference between revisions
>Hike395 →Full: add commons |
wp>WOSlinker m syntaxhighlight lang="wikitext" |
||
Line 6: | Line 6: | ||
==Usage== | ==Usage== | ||
=== Simple === | === Simple === | ||
< | <syntaxhighlight lang="wikitext">{{infobox cheese}}</syntaxhighlight> | ||
Data will be automatically included from Wikidata. | Data will be automatically included from Wikidata. | ||
Line 13: | Line 13: | ||
{{Parameter names example|aging|alt|caption|certification|commons|country|dimensions|fat|image|name|othernames|pasteurised|pasteurized|protein|region|regiontown|source|texture|town|weight}} | {{Parameter names example|aging|alt|caption|certification|commons|country|dimensions|fat|image|name|othernames|pasteurised|pasteurized|protein|region|regiontown|source|texture|town|weight}} | ||
< | <syntaxhighlight lang="wikitext" style="overflow:auto"> | ||
{{Infobox cheese | {{Infobox cheese | ||
| name = | | name = | ||
Line 30: | Line 30: | ||
| dimensions = | | dimensions = | ||
| weight = | | weight = | ||
| aging = | | aging = | ||
| certification = | | certification = | ||
| commons = | | commons = | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
{{clear}} | {{clear}} | ||
Line 57: | Line 57: | ||
}} | }} | ||
< | <syntaxhighlight lang="wikitext" style="overflow:auto"> | ||
{{Infobox cheese | {{Infobox cheese | ||
| name = Parmigiano Reggiano | | name = Parmigiano Reggiano | ||
Line 75: | Line 75: | ||
| certification = [[Protected designation of origin|PDO]] 1992 | | certification = [[Protected designation of origin|PDO]] 1992 | ||
}} | }} | ||
</ | </syntaxhighlight> | ||
== Microformats == | == Microformats == |
Revision as of 15:49, 20 May 2023
This is a documentation subpage for Template:Infobox cheese. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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 =
| 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 |
Named after | Lua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value). |
Lua error in Module:Commons_link at line 64: 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
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