Difference between revisions of "Template:Recipe/doc"
Jump to navigation
Jump to search
![Bread.png](/mediawiki/images/thumb/e/e1/Bread.png/24px-Bread.png)
![Complete Breakfast.png](/mediawiki/images/3/3d/Complete_Breakfast.png)
Margotbean (talk | contribs) |
Margotbean (talk | contribs) m (Text replacement - "==Usage==" to "==Use==") |
||
Line 2: | Line 2: | ||
This template is used to insert a overlay a recipe icon on an image. It will default to a 48 px image, but can be adjusted with parameters. | This template is used to insert a overlay a recipe icon on an image. It will default to a 48 px image, but can be adjusted with parameters. | ||
− | == | + | ==Use== |
This template can be used by entering the following onto a relevant page. | This template can be used by entering the following onto a relevant page. | ||
Revision as of 21:01, 8 January 2023
Description
This template is used to insert a overlay a recipe icon on an image. It will default to a 48 px image, but can be adjusted with parameters.
Use
This template can be used by entering the following onto a relevant page.
{{Recipe |image=Image name assuming the image is a .png (image) |size=size of the image (24/32/48) }}
Examples
{{Recipe|Bread}}
Result:
![Bread.png](/mediawiki/images/thumb/e/e1/Bread.png/24px-Bread.png)
![Recipe Overlay.png](/mediawiki/images/thumb/2/20/Recipe_Overlay.png/32px-Recipe_Overlay.png)
{{Recipe|Complete Breakfast|48}}
Result:
![Complete Breakfast.png](/mediawiki/images/3/3d/Complete_Breakfast.png)
![48 48](/mediawiki/images/2/20/Recipe_Overlay.png)