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|}}}
|<span class="{{#switch:{{lc:{{{mobile|}}}}}
| <span
| full=capsach-btn capsach-btn--mobile
class="{{#switch:{{lc:{{{mobile|}}}}}
| full=capsach-btn capsach-btn--mobile
| yes=capsach-btn capsach-btn--mobile
| yes=capsach-btn capsach-btn--mobile
| true=capsach-btn capsach-btn--mobile
| true=capsach-btn capsach-btn--mobile
| 1=capsach-btn capsach-btn--mobile
| 1=capsach-btn capsach-btn--mobile
| block=capsach-btn capsach-btn--mobile
| #default=capsach-btn}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
| block=capsach-btn capsach-btn--mobile
[[{{{link}}}|{{{text|Button}}}]]
| #default=capsach-btn }}"
</span>
{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
[[{{{link}}}|{{{text|Button}}}]]
|{{#if:{{{url|}}}
|<span class="{{#switch:{{lc:{{{mobile|}}}}}
</span>
| full=capsach-btn capsach-btn--mobile
| {{#if:{{{url|}}}
| yes=capsach-btn capsach-btn--mobile
| <span
| true=capsach-btn capsach-btn--mobile
class="{{#switch:{{lc:{{{mobile|}}}}}
| full=capsach-btn capsach-btn--mobile
| 1=capsach-btn capsach-btn--mobile
| yes=capsach-btn capsach-btn--mobile
| block=capsach-btn capsach-btn--mobile
| #default=capsach-btn}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
| true=capsach-btn capsach-btn--mobile
[{{{url}}} {{{text|Button}}}]
| 1=capsach-btn capsach-btn--mobile
</span>
| block=capsach-btn capsach-btn--mobile
|<span class="{{#switch:{{lc:{{{mobile|}}}}}
| #default=capsach-btn }}"
| full=capsach-btn capsach-btn--mobile
{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
| yes=capsach-btn capsach-btn--mobile
[{{{url}}} {{{text|Button}}}]
| true=capsach-btn capsach-btn--mobile
</span>
| 1=capsach-btn capsach-btn--mobile
| <span
| block=capsach-btn capsach-btn--mobile
class="{{#switch:{{lc:{{{mobile|}}}}}
| #default=capsach-btn}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
| full=capsach-btn capsach-btn--mobile
<span class="capsach-btn__inner" role="button" tabindex="0">{{{text|Button}}}</span>
| yes=capsach-btn capsach-btn--mobile
</span>
| true=capsach-btn capsach-btn--mobile
}}
| 1=capsach-btn capsach-btn--mobile
}}
| block=capsach-btn capsach-btn--mobile
| #default=capsach-btn }}"
{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
<span class="capsach-btn__inner" role="button" tabindex="0">{{{text|Button}}}</span>
</span>
}}
}}
</div>
</div>

Revision as of 13:03, 13 October 2025

Button