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|}}}
| [[{{{link}}}|<span class="capsach-btn" title="{{#switch:{tooltip|}}}"{{#iflc:{{{widthmobile|}}}}}|full= stylecapsach-btn--mobile|yes="width: {{{widthcapsach-btn--mobile|true= capsach-btn--mobile|1= capsach-btn--mobile|block= capsach-btn--mobile|#default=}}};"}}>{{{text|Button}}}</span>]]
title="{{{tooltip|}}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>{{{text|Button}}}</span>]]
| {{#if:{{{url|}}}
| [{{{url}}} <span class="capsach-btn" title="{{#switch:{tooltip|}}}"{{#iflc:{{{widthmobile|}}}}}|full= stylecapsach-btn--mobile|yes="width: {{{widthcapsach-btn--mobile|true= capsach-btn--mobile|1= capsach-btn--mobile|block= capsach-btn--mobile|#default=}}};"}}>{{{text|Button}}}</span>]
| <span class="capsach-btn" title="{{{tooltip|}}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>{{{text|Button}}}</span>]
| <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>
}}
}}