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:
[[{{{link|Home}}}|<span class="roundbutton{{#ifeq:{{{large}}}|yes|-large}} arrowbutton-{{{color|green}}}" style="line-height:{{{line-height|1.75em}}}; font-size:{{{font-size|30px}}};">{{{label|~}}}</span>]]<noinclude>[[Category:Visual identity templates]]</noinclude>
<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 }} Label Label
{{round button |label=Label |link=Test |large=yes }} Label
{{round button |label=Example |link=https://example.org/ |external=yes }} Example
{{round button |label=Label |colour=gold }} Label
{{round button |label=Long label gets cut off |link=Test }} Long label gets cut off

See also

Discuss this page