Template:Headerblue/doc: Difference between revisions

no edit summary
sims>Nikel23
(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...")
 
sims>Nikel23
No edit summary
Line 5:
*'''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 <code>icon</code>. The width of the icon. The value should omit the "px". The default value is 5050px. 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 <code>iconsize</code> value with a preceding "x". Example: ''x25x25px''.
*'''iconlink''' · ''Optional'' - Requires <code>icon</code>. The icon link. Default not set.
 
Line 26:
{{----}}
<pre>
{{Headerblue|icon=Backstory Render LL.png|text=Text here|iconsize=x50x50px|iconlink=Lunar Lakes}}
</pre>
... will produce:
{{Headerblue|icon=Backstory Render LL.png|text=Lunar Lakes|iconsize=x50x50px|iconlink=Lunar Lakes}}
 
<includeonly>[[Category:Header templates]]</noinclude>
Anonymous user