Template:Force Image Banner Width/doc

From Cosmoteer Wiki
Jump to navigation Jump to search

Usage

  1. 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 to 800px.
    {{Force Image Banner Width|800px}}
    
  2. 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:

    Header text banner image

    Header text

    but with width forced:

    Header text banner image

    Header text