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= | {{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= | {{SimpleButton|Resources|link=Resources|icon=Resources.png}} | ||
</pre> | </pre> | ||
Revision as of 18:18, 9 February 2026
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