Template:WikiButton/doc: Difference between revisions

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
Content added Content deleted
sims>LostInRiverview
No edit summary
sims>LostInRiverview
No edit summary
Line 7: Line 7:
|image={{{Image to be used}}}
|image={{{Image to be used}}}
|articlename={{{Name of page to link to}}}
|articlename={{{Name of page to link to}}}
|name={{{Alternate name, if different from articlename}}}
|name={{{Alternate name, if different from articlename}}}
|color={{{background color (will default to blue - #99BBEE - if nothing is entered)
}}
}}
</pre>
</pre>


For example, <pre>{{WikiButton|image=Carstd.png|articlename=:Category:Vehicles|name=Cars}}</pre> will produce {{WikiButton|image=Carstd.png|articlename=:Category:Vehicles|name=Cars}}.
For example, <pre>{{WikiButton|image=Balloon_policar.png|articlename=:Category:Vehicles|name=Cars|color=green}}</pre>
will produce {{WikiButton|image=Balloon_policar.png|articlename=:Category:Vehicles|name=Cars|color=green}}.

Revision as of 20:23, 14 December 2010

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}}}
|color={{{background color (will default to blue - #99BBEE - if nothing is entered) 
}}

For example,

{{WikiButton|image=Balloon_policar.png|articlename=:Category:Vehicles|name=Cars|color=green}}

will produce

.