Difference between revisions of "Template:Infobox cheese"

From COPTR
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{infobox
+
<table class="infobox formatinfo wikitable" border="0" style="float: right; border: 1px solid #aaa; max-width: 33%; overflow: hidden; background-color: #f9f9f9; padding: 0.25em; margin: 0 0.25em 1em;">
| bodyclass  = adr hrecipe
+
{{#if:{{{image|}}}|
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
+
<tr><td align="center" colspan="2">[[Image:{{{image}}}|100px|{{PAGENAME}}]]</td></tr>
| aboveclass = fn ingredient
+
}}
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{image|FETCH_WIKIDATA}}} }}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
+
<tr><td align="center" colspan="2">{{{name}}}</td></tr>
| caption    = {{{caption|}}}
+
<tr><td><small><b>Category:</b></small></td><td><small>{{{category|Unknown}}}</small></td></tr>
| abovestyle = background-color: #f6e396
+
{{#if:{{{status|}}}|
 
+
<tr><td><small><b>Status:</b></small></td><td><small>{{{status|Unknown}}}</small></td></tr>
| label1    = Other names
+
}}
| data1      = {{{othernames|}}}
+
{{#if:{{{tools|}}}|
| label2    = Country of origin
+
<tr><td><small><b>Tools:</b></small></td><td><small>{{{tools|Unknown}}}</small></td></tr>
| data2      = {{#invoke:Wikidata|getValue|P495|{{{country|FETCH_WIKIDATA}}}}}
+
}}
| class2    = country-name
+
{{#if:{{{input|}}}|
| label3    = Region, town
+
<tr><td><small><b>Input:</b></small></td><td><small>{{{input|Unknown}}}</small></td></tr>
| data3      = {{{regiontown|}}}
+
}}
| class3    = locality
+
{{#if:{{{output|}}}|
| label4    = Region
+
<tr><td><small><b>Output:</b></small></td><td><small>{{{output|Unknown}}}</small></td></tr>
| data4      = {{{region|}}}
+
}}
| class4    = region
+
{{#if:{{{organisation|}}}|
| label5    = Town
+
<tr><td><small><b>Organisation:</b></small></td><td><small>{{{organisation|Unknown}}}</small></td></tr>
| data5      = {{#invoke:Wikidata|getValue|P138|{{{town|FETCH_WIKIDATA}}}}}
+
}}
| class5    = locality
+
</table>
| 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>
 

Latest revision as of 10:40, 7 March 2017



{{{name}}}
Category:Unknown