Actions

Template

SimpleButton: Difference between revisions

From Project Rebearth

No edit summary
No edit summary
Line 7: Line 7:
<pre>
<pre>
{{SimpleButton|Button Text|link=Page Name}}
{{SimpleButton|Button Text|link=Page Name}}
{{SimpleButton|Button Text|link=Page Name|icon=All.png}}
{{SimpleButton|Button Text|link=Page Name|icon=Resources.png}}
</pre>
</pre>


Line 18: Line 18:
<pre>
<pre>
{{SimpleButton|Explore Buildings|link=Buildings}}
{{SimpleButton|Explore Buildings|link=Buildings}}
{{SimpleButton|Resources|link=Resources|icon=All.png}}
{{SimpleButton|Resources|link=Resources|icon=Resources.png}}
</pre>
</pre>



Revision as of 18:18, 9 February 2026

Example Button File:Example.png With Icon

Usage

{{SimpleButton|Button Text|link=Page Name}}
{{SimpleButton|Button Text|link=Page Name|icon=Resources.png}}

Parameters

1
The text displayed on the button.
link
The wiki page the button links to.
icon
(Optional) Filename of an image to display as an icon to the left of the button text.

Examples

{{SimpleButton|Explore Buildings|link=Buildings}}
{{SimpleButton|Resources|link=Resources|icon=Resources.png}}

Result

Explore Buildings Resources