Template:WikiButton/doc

This is the current revision of this page, as edited by K6ka (talk | contribs) at 00:57, 10 March 2019 (8 revisions imported: Import from https://sims.wikia.com). The present address (URL) is a permanent link to this version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Uses

Used to create image-based buttons which contain links to other pages. Example of usage can be seen here.

Syntax
{{WikiButton
|image={{{Image to be used}}}
|articlename={{{Name of page to link to}}}
|name={{{Alternate name, if different from articlename}}}
|bgcolor={{{Optional - Background color (will default to blue - #99BBEE - if nothing is entered)}}} 
|boxcolor={{{Optional - Text box color (defaults to #99BBEE)}}}
|fontcolor={{{Optional - Text color {defaults to #000000)}}}
}}

For example,

{{WikiButton|image=Balloon_policar.png|articlename=:Category:Vehicles|name=Cars|bgcolor=green|boxcolor=blue|fontcolor=white}}

will produce

.