Template:Headerblue/doc

From The Sims Wiki, a collaborative database for The Sims series
This is an old revision of this page, as edited by sims>Nikel23 at 05:01, 30 April 2015 (Created page with ";Usage This template is a simplified version of the blue header from <code><nowiki><div class="bluebar"></nowiki></code>. ;Parameters *'''text''' · ''Optional..."). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Usage

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

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 value should omit the "px". The default value is 50. 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: x25.
  • iconlink · Optional - Requires icon. The icon link. Default not set.
Examples

The following code:

{{Headerblue|text=Text here}}

... will produce:

Text here

{{Headerblue|icon=W newspaper.png|text=Text here}}

... will produce:

Text here

{{Headerblue|icon=Backstory Render LL.png|text=Text here|iconsize=x50|iconlink=Lunar Lakes}}

... will produce:

x50
Lunar Lakes