Template:Button: Difference between revisions

From Join the Fediverse
m (Update usage docs)
mNo edit summary
Tag: Manual revert
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><span class="button">[[File:{{{image|CC-devnations.png}}}|35px|link={{{target|https://joinfediverse.wiki}}}|{{{label|Button title}}}]]</span></includeonly>
<span class="button">
[[File:{{{image|CC-devnations.png}}}|35px|link={{{target|https://joinfediverse.wiki}}}|{{{label|Button title}}}]]
</span>
</includeonly>
<noinclude>
<noinclude>
{{/doc}}
{{Documentation}}
<templatedata>
</noinclude>
{
"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 13:22, 23 February 2022