Difference between revisions of "Template:Infobox cheese/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hike395
(add module to list)
imported>Hike395
(→‎Full: add commons)
Line 11: Line 11:
  
 
=== Full ===
 
=== Full ===
{{Parameter names example|aging|alt|caption|certification|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}}
  
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
Line 32: Line 32:
 
| aging        = [[60]]
 
| aging        = [[60]]
 
| certification =  
 
| certification =  
 +
| commons      =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 07:15, 20 March 2020

Template:Uses Wikidata

Usage

Simple

{{infobox cheese}}

Data will be automatically included from Wikidata.

Full

Template:Parameter names example

{{Infobox cheese
| name          = 
| image         = 
| alt           = 
| caption       = 
| othernames    = 
| country       = 
| region        = 
| town          = 
| source        = 
| pasteurised   = 
| texture       = 
| fat           = 
| protein       = 
| dimensions    = 
| weight        = 
| aging         = [[60]]
| certification = 
| commons       =
}}

Example

Parmigiano Reggiano
Script error: No such module "Wikidata".
Country of originScript error: No such module "Wikidata".
TownParma, Reggio Emilia, Modena, Bologna, Mantua
Source of milkScript error: No such module "Wikidata".
PasteurisedNo
TextureHard
Aging time24 months or more
CertificationPDO 1992
Named afterScript error: No such module "Wikidata".
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

Template:UF-adr

Recipe

Template:UF-hrecipe