Difference between revisions of "Template:Infobox cheese"
Jump to navigation
Jump to search
(Created page with "{{Infobox cheese | name = | image = | alt = | caption = | othernames = | country = | region = | town = | sour...") |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{infobox |
− | | name | + | | bodyclass = adr hrecipe |
− | | image | + | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
− | | alt | + | | aboveclass = fn ingredient |
− | | caption | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}} }}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}} |
− | | othernames | + | | caption = {{{caption|}}} |
− | | country | + | | abovestyle = background-color: #f6e396 |
− | | region | + | |
− | | town | + | | label1 = Other names |
− | | source | + | | data1 = {{{othernames|}}} |
− | | pasteurised | + | | label2 = Country of origin |
− | | texture | + | | data2 = {{#invoke:Wikidata|getValue|P495|{{{country|FETCH_WIKIDATA}}}}} |
− | | fat | + | | class2 = country-name |
− | | protein | + | | label3 = Region, town |
− | | dimensions = | + | | data3 = {{{regiontown|}}} |
− | | weight | + | | class3 = locality |
− | | aging | + | | label4 = Region |
− | | certification = | + | | data4 = {{{region|}}} |
− | }} | + | | class4 = region |
+ | | label5 = Town | ||
+ | | data5 = {{#invoke:Wikidata|getValue|P138|{{{town|FETCH_WIKIDATA}}}}} | ||
+ | | class5 = locality | ||
+ | | label6 = Source of milk | ||
+ | | data6 = {{#invoke:Wikidata|getValue|P186|{{{source|FETCH_WIKIDATA}}}}} | ||
+ | | label7 = Pasteurised | ||
+ | | data7 = {{{pasteurised|}}} | ||
+ | | label8 = Pasteurized | ||
+ | | data8 = {{{pasteurized|}}} | ||
+ | | label9 = Texture | ||
+ | | data9 = {{{texture|}}} | ||
+ | | label10 = Fat content | ||
+ | | data10 = {{{fat|}}} | ||
+ | | label11 = Protein content | ||
+ | | data11 = {{{protein|}}} | ||
+ | | label12 = Dimensions | ||
+ | | data12 = {{{dimensions|}}} | ||
+ | | label13 = Weight | ||
+ | | data13 = {{{weight|}}} | ||
+ | | label14 = Aging time | ||
+ | | data14 = {{{aging|}}} | ||
+ | | label15 = Certification | ||
+ | | data15 = {{{certification|}}} | ||
+ | | below = {{#if:{{#invoke:Wikidata|getValue|P373|{{{commons|FETCH_WIKIDATA}}} }} | ||
+ | | {{icon|Commons}} [[Commons:{{#if:{{{commons|}}} | {{{commons}}} | Category:{{#invoke:Wikidata|getValue|P373|FETCH_WIKIDATA}} }} |Related media on Wikimedia Commons]]}} | ||
+ | }}{{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 09:45, 7 March 2017
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}