14,440
edits
mNo edit summary |
mNo edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Internal page with issues |text=This template is only used on the old main page. Maybe it should be deleted.}}</noinclude> | |||
<includeonly><span class="button">[[File:{{{image|CC-devnations.png}}}|35px|link={{{target|https://joinfediverse.wiki}}}|{{{label|Button title}}}]]</span></includeonly> | <includeonly><span class="button">[[File:{{{image|CC-devnations.png}}}|35px|link={{{target|https://joinfediverse.wiki}}}|{{{label|Button title}}}]]</span></includeonly> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "Button icon", | |||
"aliases": [ | |||
"icon" | |||
], | |||
"description": "Name of image that will be used as button icon", | |||
"example": "Fediverse logo.png", | |||
"type": "wiki-file-name", | |||
"default": "CC-devnations.png", | |||
"suggested": true | |||
}, | |||
"target": { | |||
"label": "Button URL", | |||
"aliases": [ | |||
"url", | |||
"address" | |||
], | |||
"description": "Target URL of a website that the button links to", | |||
"example": "https://fediverse.town", | |||
"type": "url", | |||
"default": "https://fediverse.town", | |||
"required": true | |||
}, | |||
"label": { | |||
"label": "Button text", | |||
"type": "string", | |||
"aliases": [ | |||
"text", | |||
"content", | |||
"title" | |||
], | |||
"description": "Text to be displayed on the button, a title", | |||
"example": "Fediverse Town Community", | |||
"default": "Fediverse Town Community", | |||
"required": true | |||
} | |||
}, | |||
"format": "inline", | |||
"description": "Button template allows to create distinct, graphic buttons linking to internal and external pages." | |||
} | |||
</templatedata> | |||
</noinclude> |