Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Infobox cheese/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Simple

[edit]
{{infobox cheese}}

Data will be automatically included from Wikidata.

Full

[edit]
{{{name}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}]]
{{{caption}}}
Other names{{{othernames}}}
Country of origin{{{country}}}
Region, town{{{regiontown}}}
Region{{{region}}}
Town{{{town}}}
Source of milk{{{source}}}
Pasteurised{{{pasteurised}}}
Pasteurized{{{pasteurized}}}
Texture{{{texture}}}
Fat content{{{fat}}}
Protein content{{{protein}}}
Dimensions{{{dimensions}}}
Weight{{{weight}}}
Aging time{{{aging}}}
Certification{{{certification}}}
[[Commons:{{{commons}}}|Related media on Commons]]
{{Infobox cheese
| name          = 
| image         = 
| alt           = 
| caption       = 
| othernames    = 
| country       = 
| region        = 
| town          = 
| source        = 
| pasteurised   = 
| texture       = 
| fat           = 
| protein       = 
| dimensions    = 
| weight        = 
| aging         = 
| certification = 
| commons       = 
}}

Example

[edit]
Parmigiano Reggiano
Country of originItaly
TownParma, Reggio Emilia, Modena, Bologna, Mantua
Source of milkCows
PasteurisedNo
TextureHard
Aging time24 months or more
CertificationPDO 1992
{{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

[edit]

Adr

[edit]

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

[edit]

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.