Template:Blogheader/doc

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Reminder
Always remember to close the header after use with {{Blogheader|end}}!
Usage

This template is used as a default layout for wiki news blogs and Sims news blogs. The template constructs the page background, header, as well as the closing tags used to close the background source code.

Parameters
  • 1 · Mandatory - The first parameter used in this template is nameless. Right after the template name, it has to be followed with either start or end as the parameter value. start should used at the top of the page, while end should be used at the bottom of the page, to close the layout properly.
  • color · Mandatory - The value of this parameter is either green or blue. Green is generally used for wiki or community news blogs, while blue is generally used for Sims news blogs.
  • title · Optional - The text for the page header.
  • icon · Optional - The icon for the page header. The value should be file_name.png. With no leading "File:" namsepace.
  • iconsize · Optional - The size of the icon. The default value is 50px.
Examples

The template is best used inline.

{{Blogheader|start|color=green}}
Text here
{{Blogheader|end}}

... will produce:

Text here


{{Blogheader|start|color=blue|title=Title here}}
Text here
{{Blogheader|end}}

... will produce:

Title here

Text here


{{Blogheader|start|color=green|title=Title here|icon=File:W newspaper.png}}
Text here
{{Blogheader|end}}

... will produce:

Title here

Text here

Change log
  • 31 July 2015 - Border and header updated to match redesigned wiki theme. icon parameter no longer uses leading "File:" namespace for the input. An additional iconsize parameter is included.