Difference between revisions of "Template:Infobox recipe"
Jump to navigation
Jump to search
(adds summary field) |
(attemps to apply imageclass) |
||
(8 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|}}}}}} }} | ||
| captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}} | | captionstyle = {{#if:{{{caption|}}} |padding-bottom:0.25em;border-bottom:1px solid #aaa;}} | ||
Line 35: | Line 36: | ||
| data11 = {{{creator|}}} | | data11 = {{{creator|}}} | ||
| | | label12 = {{longitem|Date of creation}} | ||
| | | data12 = {{{Date|}}} | ||
<!----------------------Cooking time-----------------------> | <!----------------------Cooking time-----------------------> | ||
| label15 = {{longitem| | |||
| 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|}}} | ||
Line 64: | Line 74: | ||
| label16 = Complexity | | label16 = Complexity | ||
| data16 = {{#if: | | data16 = {{#if:{{{complexity|}}} | {{#switch:{{{complexity|}}} |1=Very easy |2=Easy |3=Average |4=Difficult |5=Very difficult}} | }} | ||
| label17 = {{longitem|Serving temperature}} | | label17 = {{longitem|Serving temperature}} | ||
Line 78: | Line 88: | ||
| label22 = Yield | | label22 = Yield | ||
| | | class22 = yield | ||
| | | data22 = {{{yield|}}} | ||
| label23 = Instructions | | label23 = Instructions |
Latest revision as of 11:36, 20 May 2014
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted |
Script error: No such module "Template translation".