Template:Headerblue/doc: Difference between revisions

m
4 revisions imported: Import from https://sims.wikia.com
sims>Nikel23
No edit summary
m (4 revisions imported: Import from https://sims.wikia.com)
 
(2 intermediate revisions by one other user not shown)
Line 7:
*'''iconsize''' · ''Optional'' - Requires <code>icon</code>. 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 <code>iconsize</code> value with a preceding "x". Example: ''x25px''.
*'''iconlink''' · ''Optional'' - Requires <code>icon</code>. The icon link. Default not set.
*'''iconpos''' · ''Optional'' - Requires <code>icon</code>. If the value is ''right'', the icon will appear on the right; left otherwise.
 
;Examples
Line 26 ⟶ 27:
{{----}}
<pre>
{{Headerblue|icon=Backstory Render LL.png|text=Text here|iconsize=x50px|iconlink=Lunar Lakes|iconpos=right}}
</pre>
... will produce:
{{Headerblue|icon=Backstory Render LL.png|text=Lunar Lakes|iconsize=x50px|iconlink=Lunar Lakes|iconpos=right}}
 
<includeonly>[[Category:Header templates]]</noincludeincludeonly>
<noinclude>[[Category:Template documentation]]</noinclude>