Template:Force Image Banner Width
Jump to navigation
Jump to search
Supplementary template
This template is supplementary to {{Image Banner}} and should only be used in pair with it.
Template documentation
|
---|
View or edit this documentation. (About template documentation)
Portions of the template sample may not be visible without values provided. |
Usage
- Use this template at the start of the page to affect width of all {{Image Banner}}s. You can also use it somewhere else on a page to redefine the forced width for subsequent image banners.
In this example, the width is forced to800px
.{{Force Image Banner Width|800px}}
- Use an image banner. If it has no width defined, it width would be forced to what you've defined here.
For example:{{Image Banner|Random moving interior.webp|1919|h4=Header text|height=50px|x=0px|y=-733px}}
would result in:
but with width forced:
Makes all {{Image Banner}}s on the page to the same width. The resulting width will be restricted to the width of the page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Width | 1 | The width to force. | String | required |