Please note that some information on this wiki is still based on the demo version.
If you notice any errors, feel free to correct them.
Template:Button/doc: Difference between revisions
From Super Fantasy Kingdom Official Wiki
wgg>Cadaei iconClass doc |
wgg>CadsBot removed redundant start/end |
||
| Line 1: | Line 1: | ||
Displays a button that links to a page, optionally with an image. | Displays a button that links to a page, optionally with an image. | ||
| Line 21: | Line 20: | ||
== Example == | == Example == | ||
<nowiki>{{Button|Frontpage-units.png|Units|t=icon}}</nowiki> | <nowiki>{{Button|Frontpage-units.png|Units|t=icon}}</nowiki> | ||
Revision as of 13:30, 11 October 2025
Displays a button that links to a page, optionally with an image.
Parameters
iconClass: optional classes for the icon
Exclusive parameters
t: (no value, empty)1: page name where the button links to2: optional text that is displayed instead of1
t: icon1: image file name2: page name for the link3: optional different name of the link texti: optional width of the image
t: icon21: image file name2: url for an external link3: name of the link texti: optional width of the image
Example
{{Button|Frontpage-units.png|Units|t=icon}}


