Template:Background/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Oops) |
||
Line 10: | Line 10: | ||
! width="13%" | Preview | ! width="13%" | Preview | ||
|- | |- | ||
| align="center" | {{Code|{{Param| | | align="center" | {{Code|{{Param|1}}}} | ||
| The path to the image. | | The path to the image. | ||
| {{CodeBlock|<nowiki>{{Background | | {{CodeBlock|<nowiki>{{Background | ||
Line 19: | Line 19: | ||
| align="center" | Preview is not possible | | align="center" | Preview is not possible | ||
|- | |- | ||
| align="center" | {{Code|{{Param| | | align="center" | {{Code|{{Param|opacity}}}} | ||
| Allows you to change the opacity of the entire block. | | Allows you to change the opacity of the entire block. | ||
({{Code|style=1|select=1|0.05}} by default) | ({{Code|style=1|select=1|0.05}} by default) | ||
Line 25: | Line 25: | ||
| align="center" | Preview is not possible | | align="center" | Preview is not possible | ||
|- | |- | ||
| align="center" | {{Code|{{Param| | | align="center" | {{Code|{{Param|bgcolor}}}} | ||
| Controls the background color of the block. | | Controls the background color of the block. | ||
({{Code|style=1|select=1|transparent}} by default) | ({{Code|style=1|select=1|transparent}} by default) | ||
Line 31: | Line 31: | ||
| align="center" | Preview is not possible | | align="center" | Preview is not possible | ||
|- | |- | ||
| align="center" | {{Code|{{Param| | | align="center" | {{Code|{{Param|gradient-color}}}} | ||
| Controls the color of the bottom gradient. | | Controls the color of the bottom gradient. | ||
({{Code|style=1|select=1|38,38,38}} by default) | ({{Code|style=1|select=1|38,38,38}} by default) | ||
Line 37: | Line 37: | ||
| align="center" | Preview is not possible | | align="center" | Preview is not possible | ||
|- | |- | ||
| align="center" | {{Code|{{Param| | | align="center" | {{Code|{{Param|gradient-height}}}} | ||
| Controls the height of the gradient. | | Controls the height of the gradient. | ||
({{Code|style=1|select=1|150px}} by default) | ({{Code|style=1|select=1|150px}} by default) |
Revision as of 09:25, 9 June 2023

This is a documentation subpage for Template:Background.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
This template allows you to add a background for an article.
Parameters and Examples
Name | Description | Example | Preview |
---|---|---|---|
{{{1}}} | The path to the image. | Preview is not possible | |
{{{opacity}}} | Allows you to change the opacity of the entire block.
(0.05 by default) |
Preview is not possible | |
{{{bgcolor}}} | Controls the background color of the block.
(transparent by default) |
Preview is not possible | |
{{{gradient-color}}} | Controls the color of the bottom gradient.
(38,38,38 by default) |
Preview is not possible | |
{{{gradient-height}}} | Controls the height of the gradient.
(150px by default) |
Preview is not possible |