Template:Button: Difference between revisions

From Join the Fediverse
mNo edit summary
m (Update usage docs)
Line 5: Line 5:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Here goes documentation:
{{/doc}}
</noinclude>
<templatedata>
{
"params": {
"image": {
"label": "Image",
"description": "Name of image to be used as button icon",
"example": "Fediverse_logo.png",
"type": "wiki-file-name",
"default": "CC-devnations.png",
"suggested": true
},
"target": {},
"label": {}
},
"description": "Button template allows to create distinct, graphic buttons linking to internal and external pages.",
"format": "inline"
}
</templatedata></noinclude>

Revision as of 11:54, 23 February 2022


Template:Button/doc

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
Imageimage

Name of image to be used as button icon

Default
CC-devnations.png
Example
Fediverse_logo.png
Filesuggested
targettarget

no description

Unknownoptional
labellabel

no description

Unknownoptional