Template:Infobox cheese: Difference between revisions

From IxWiki
Jump to navigation Jump to search
>Hike395
allow display if commons parameter is specified
 
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{infobox
{{infobox
| bodyclass  = adr hrecipe
| bodyclass  = adr hrecipe
Line 7: Line 6:
| caption    = {{{caption|}}}
| caption    = {{{caption|}}}
| abovestyle = background-color: #f6e396
| abovestyle = background-color: #f6e396
| label1    = Other names
| label1    = Other names
| data1      = {{{othernames|}}}
| data1      = {{{othernames|}}}
Line 44: Line 42:
| label16    = Named after
| label16    = Named after
| data16    = {{#invoke:Wikidata|getValue|P138|{{{namedafter|FETCH_WIKIDATA}}}}}
| data16    = {{#invoke:Wikidata|getValue|P138|{{{namedafter|FETCH_WIKIDATA}}}}}
| below      = {{#if:{{{commons|}}}{{#invoke:Commons link|hasGalleryOrCategory}}|{{Commons-inline|{{{commons|}}}|Related media on Wikimedia Commons|short=yes}}}}
| below      = {{#if:{{{commons|}}}{{#invoke:Commons link|hasGalleryOrCategory}}|{{Commons-inline|{{{commons|}}}|Related media on Commons|short=yes|notrack=1}}}}
}}{{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>
}}{{Main other|[[Category:Articles with hRecipes]][[Category:Articles with Adr microformats]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|}}|preview= Page using [[Template:Infobox Cheese]] with unknown parameter "_VALUE_" |ignoreblank=y | name | image | alt | caption | othernames | country | region | town | source | pasteurised | pasteurized | texture | fat | protein | dimensions | weight | aging | certification | namedafter | Commons-inline | commons }}<noinclude>
{{documentation}}<!-- Please add categories and interwiki links to /doc subpage, not here! -->
</noinclude>

Latest revision as of 18:25, 29 June 2023

Lua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value).
Country of originLua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value).
Source of milkLua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value).
Named afterLua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value).
Lua error in Module:Commons_link at line 62: attempt to index field 'wikibase' (a nil value).