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

From Super Fantasy Kingdom Official Wiki
Revision as of 23:46, 21 October 2025 by DCello (talk | contribs) (8 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
File:Template-info.svg Documentation Edit this documentation at Template:Button/doc.
(edithistorypurge)

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 to
    • 2: optional text that is displayed instead of 1
  • t: icon
    • 1: image file name
    • 2: page name for the link
    • 3: optional different name of the link text
    • i: optional width of the image
  • t: icon2
    • 1: image file name
    • 2: url for an external link
    • 3: name of the link text
    • i: optional width of the image

Example

{{Button|Frontpage-units.png|Units|t=icon}}