Template: Round button
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Round button/styles.css" /><span class="tpl-round-button {{#ifeq:{{{large}}}|yes|tpl-round-button-large}} tpl-round-button-{{{colour|green}}}"><!-- | <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<!-- | -->{{#ifeq:{{{external}}}|yes<!-- | ||
Line 9: | Line 9: | ||
-->|[[{{{link}}}|{{{label}}}]]<!-- | -->|[[{{{link}}}|{{{label}}}]]<!-- | ||
-->}}</span><!-- | -->}}</span></includeonly><!-- | ||
--><noinclude>{{Documentation}}</noinclude> | --><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}}