Template:Infobox recipe: Difference between revisions
m CSS test |
m Changed padding |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
| 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); | ||
| datastyle = padding: | | datastyle = padding-top: 2px; | ||
| data1 = {{{recipedata|}}} | | data1 = {{{type|}}} | ||
| data2 = {{{recipedata|}}} | |||
| headerstyle = background-color: var(--background-color-notice-subtle); | | headerstyle = background-color: var(--background-color-notice-subtle); | ||
| | | header3 = Description | ||
| | | data4 = {{{description|}}} | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:43, 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 --> }}