Template:CS button: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 2:
<div class="capsach-align capsach-align-{{#switch:{{lc:{{{align|left}}}}}|center=center|right=right|left=left|#default=left}}">
{{#if:{{{link|}}}{{{url|}}}
| <{{#tag:a
| {{{text|Button}}}
| 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="{{#if:{{{link|}}}|{{localurl:{{{link|}}}}}|{{{url|}}}}"
title | href="{{{tooltipurl|}}}"{{#iflocalurl:{{{width|link}}}| style="width: {{{width}}};"}}>
| title={{{texttooltip|Button}}}
href=" | {{#if:{{{linkwidth|}}}|{{localurlstyle=width: {{{link|width}}};}}|{{{url|}}}}"
</a>
| <span }}
| </{{#tag: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=}}"
| {{{text|Button}}}
title="{{{tooltip|}}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
| 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=}}"
{{{text|Button}}}
| title={{{tooltip|}}}
</span>
title="{{{tooltip |}}}" {{#if:{{{width|}}}| style="width: {{{width}}};"}}>
</a>}}
}}
</div>