Template: Round button

(copying from DC site, experimenting (CC-BY, thanks WMDC :) ))
 
No edit summary
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="Template:Round button/styles.css" />
[[{{{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>{{Documentation}}[[Category:Visual identity templates]]</noinclude>

Revision as of 01:30, 2 June 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