Jump to content

Template:CS button: Difference between revisions

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

Revision as of 12:09, 13 October 2025

  Button