Template: Round button
(copying from DC site, experimenting (CC-BY, thanks WMDC :) )) |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Round button/styles.css" /><includeonly><span class="tpl-round-button {{#ifeq:{{{large}}}|yes|tpl-round-button-large}} tpl-round-button-{{{colour|green}}}"><!-- | |||
-->{{#ifeq:{{{external}}}|yes<!-- | |||
External: | |||
-->|[{{{link}}} {{{label}}}]<!-- | |||
Internal: | |||
-->|[[{{{link}}}|{{{label}}}]]<!-- | |||
-->}}</span></includeonly><!-- | |||
--><noinclude>{{Documentation}}</noinclude> |
Latest revision as of 09:37, 21 July 2021
[edit] Template documentation
Wikitext | Output |
---|---|
{{round button |label=Label |link=Test }} | |
{{round button |label=Label |link=Test |large=yes }} | |
{{round button |label=Example |link=https://example.org/ |external=yes }} | |
{{round button |label=Label |colour=gold }} | |
{{round button |label=Long label gets cut off |link=Test }} |
See also
- {{arrow button}}
- {{four-buttons}}