Jump to content

Template:Headerorange

From Monster Girl Encyclopedia
{{#if:|
[[File:{{{icon}}}|50px|link=]]
}}{{{text}}}
Template documentation (for the above template, sometimes hidden or invisible)
Usage

This template is a simplified version of the blue header from <div class="orangebar">.

Parameters
  • text · Optional - The text for the header.
  • icon · Optional - The icon for the header. The value should omit the File: namespace, e.g. Example.png.
  • iconsize · Optional - Requires icon. The width of the icon. The default value is 50px. May be necessary for small icons like icons from The Sims 2. Remember that different icons with the same width (e.g. 50px) may have different height! To set the height of the icon with variable width, set the iconsize value with a preceding "x". Example: x25px.
  • iconlink · Optional - Requires icon. The icon link. Default not set.
  • iconpos · Optional - Requires icon. If the value is right, the icon will appear on the right; left otherwise.
Examples

The following code:

{{Headerorange|text=Text here}}

... will produce:

{{#if:|
[[File:{{{icon}}}|50px|link=]]
}}Text here

{{Headerorange|icon=W ....png|text=Text here}}

... will produce:

{{#if:W ....png|}}Text here

{{Headerorange|icon=....png|text=Text here|iconsize=x50px|iconlink=Lunar Lakes|iconpos=right}}

... will produce:

{{#if:....png|}}Zipangu

Visit Template:Headerorange/doc to edit this text! (How does this work?)