Template:Flavor text

From Thorium Mod Wiki
Jump to navigation Jump to search
Template-info.svg Documentation The documentation below is transcluded from Template:Flavor text/doc. (edit | history)

This is a simple helper template for displaying a flavor text at the top of a page, consisting of a big italicized text surrounded by an image on either side.

Usage

{{ flavor text | <text> | image = <custom image> (optional) | size = <image size> (optional) | link = <image link> (optional) }}

First unnamed parameter

Text to display.

image

Image to be displayed; just the file name. Defaults to <page name> Trophy.png (due to mostly being used on boss pages), if possible. No image is displayed otherwise or if the parameter is set to an empty value.

imagesize

Custom size of the image; defaults to 25px.

link

Link target for the images. They are unlinked by default.