Template:Infobox recipe: Difference between revisions
m Tidying up |
m CSS test |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| bodystyle = background-color: var(--background-color-neutral-subtle); border: 2px outset var(--background-color-disabled-subtle); border-radius: 5px; color: var(--base-color); width: 234px; | | bodystyle = background-color: var(--background-color-neutral-subtle); border: 2px outset var(--background-color-disabled-subtle); border-radius: 5px; color: var(--base-color); width: 234px; | ||
| autoheaders = y | |||
| above = {{{name|}}} | | above = {{{name|}}} | ||
| abovestyle = background-color: var(--background-color-notice-subtle); color: var(--color-emphasized); | | abovestyle = background-color: var(--background-color-notice-subtle); color: var(--color-emphasized); | ||
| data1 = {{{recipedata|}}} | | data1 = {{{recipedata|}}} | ||
| data2 = {{{recipetext|}}} | |||
| headerstyle = background-color: var(--background-color-notice-subtle); | |||
| header3 = Description | |||
| data4 = {{{description|}}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 06:06, 17 July 2025
This template is used in conjunction with Template:Recipe in order to provide an infobox surrounding the recipe UI and also to help align multiple recipes onto a page.
{{Infobox recipe | type = <-- Recipe container, specify everything except Crafting: "Stonecutter", "Grindstone" etc. --> | name = <-- name of item --> | recipedata = <-- Template:Recipe of item --> | description = <-- description for item, if needed --> }}