Difference between revisions of "Template:Infobox recipe"

Jump to navigation Jump to search
attemps to apply imageclass
(attempts to force "image" style for google schema.org checker)
(attemps to apply imageclass)
 
(4 intermediate revisions by the same user not shown)
Line 8: Line 8:
                 | {{#if:{{{name|}}} |{{{name}}} |<includeonly>{{PAGENAME}}</includeonly>}}
                 | {{#if:{{{name|}}} |{{{name}}} |<includeonly>{{PAGENAME}}</includeonly>}}
               }}
               }}
| imageclass = photo
| image      = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} }}
| image      = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|{{{alt|}}}}}} }}
| imagestyle = image
| captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}}
| captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}}
| caption    = {{{caption|}}}
| caption    = {{{caption|}}}
Line 36: Line 36:
| data11    = {{{creator|}}}
| data11    = {{{creator|}}}


| label13   = {{longitem|Date&nbsp;of creation}}
| label12   = {{longitem|Date&nbsp;of creation}}
| data13   = {{{Date|}}}
| data12   = {{{Date|}}}


<!----------------------Cooking time----------------------->
<!----------------------Cooking time----------------------->
| label15    = {{longitem|Cooking time}}
 
| label13    = {{longitem|Prep time}}
| class13    = preptime
| data13    = {{{preptime|}}}
 
| label14    = {{longitem|Cook time}}
| class14    = cooktime
| data14    = {{{cooktime|}}}
 
| label15    = {{longitem|Total time}}
| class15    = duration
| class15    = duration
| data15    = {{#if:{{{time1|}}}{{{time2|}}}
| data15    = {{#if:{{{time1|}}}{{{time2|}}}

Navigation menu