Template:Button: Difference between revisions

From Join the Fediverse
mNo edit summary
m (Text replacement - "{{category |category=Template}}" to "{{category |category=Templates}}")
Tags: Mobile edit Mobile web edit
Line 44: Line 44:
}
}
</templatedata>
</templatedata>
{{category |category=Template}}
{{category |category=Templates}}

Revision as of 12:56, 11 February 2024

Button template allows to create distinct, graphic buttons linking to internal and external pages.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Button iconimage icon

Name of image that will be used as button icon

Default
CC-devnations.png
Example
Fediverse logo.png
Filesuggested
Button URLtarget url address

Target URL of a website that the button links to

Default
https://fediverse.town
Example
https://fediverse.town
URLrequired
Button textlabel text content title

Text to be displayed on the button, a title

Default
Fediverse Town Community
Example
Fediverse Town Community
Stringrequired