Jump to content

Template:CS button: Difference between revisions

From Insurer Brain
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
<templatestyles src="CS button/styles.css" />
<templatestyles src="CS button/styles.css" />
<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|}}}
{{#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=}}"
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}}}}"
title="{{{tooltip|}}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>{{{text|Button}}}</a>
href="{{#if:{{{link|}}}|{{localurl:{{{link|}}}}}|{{{url|}}}}"
title="{{{tooltip|}}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
| {{#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=}}"
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>
title="{{{tooltip|}}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
}}
{{{text|Button}}}
</span>
}}
}}
</div>
</div>

Revision as of 11:45, 13 October 2025

 {{#if:
  | <a
      class="capsach-btn "
      href="}"
      title="">
      Button
    </a>