Template:CS button: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
<templatestyles src="CS button/styles.css" />
<div class="capsach-align capsach-align-{{#switch:{{lc:{{{align|left}}}}}|center=center|right=right|left=left|#default=left}}">
{{#if:{{{link|}}}{{{url|}}}
| <a
| <a class="capsach-btn {{#switch:{{lc:{{{mobile|}}}}}|full= capsach-btn--mobile|yes= capsach-btn--mobile|true= capsach-btn--mobile|1= capsach-btn--mobile|block= capsach-btn--mobile|#default=}}"
href="{{localurl:{{{link}}}}"
titlehref="{{{tooltip|}}}"{{#if:{{{widthlink|}}}| style="width{{localurl: {{{widthlink|}}};"}}>|{{{texturl|Button}}}</a>}"
title="{{{tooltip|}}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>{{{text|Button}}}</a>
| {{#if:{{{url|}}}
{{{text|Button}}}
| <a class="capsach-btn{{#switch:{{lc:{{{mobile|}}}}}|full= capsach-btn--mobile|yes= capsach-btn--mobile|true= capsach-btn--mobile|1= capsach-btn--mobile|block= capsach-btn--mobile|#default=}}"
</a>
href="{{{url}}}"
| <span
title="{{{tooltip|}}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>{{{text|Button}}}</a>
| <span class="capsach-btn {{#switch:{{lc:{{{mobile|}}}}}|full= capsach-btn--mobile|yes= capsach-btn--mobile|true= capsach-btn--mobile|1= capsach-btn--mobile|block= capsach-btn--mobile|#default=}}"
title="{{{tooltip|}}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>{{{text|Button}}}</span>
{{{text|Button}}}
</span>
}}
</div>