Template:CS button: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 1:
<templatestyles src="CS button/styles.css" />
<div class="capsach-align capsach-align-{{#switch:{{lc:{{{align|left}}}}}|center=center|right=right|left=left|#default=left}}">
{{#if:{{{link|}}}
|<span class="{{#switch:{{lc:{{{mobile|}}}}}
| <span
| full=capsach-btn capsach-btn--mobile
class="{{#switch:{{lc:{{{mobile|}}}}}
| fullyes=capsach-btn capsach-btn--mobile
| yestrue=capsach-btn capsach-btn--mobile
| true1=capsach-btn capsach-btn--mobile
| 1block=capsach-btn capsach-btn--mobile
| #default=capsach-btn}}"{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
| block=capsach-btn capsach-btn--mobile
[[{{{urllink}}} |{{{text|Button}}}]]
| #default=capsach-btn }}"
| </span>
{{#if:{{{width|}}}| style="width: {{{width}}};"}}>
[[|{{{link}}}|#if:{{{texturl|Button}}}]]
|<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|}}}}}
| full1=capsach-btn capsach-btn--mobile
| yesblock=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>