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
|
|
| #default=capsach-btn▼
| href={{{url|{{localurl:{{{link}}}}}}}}▼
| <span
▲ | {{#if:{{{width|}}}|style=width: {{{width}}};}}
▲ | {{#tag:span
| yes=capsach-btn capsach-btn--mobile
| {{{text|Button}}}▼
|
|
|
|
▲ | block=capsach-btn capsach-btn--mobile
</span>
▲ | #default=capsach-btn
|
| full=capsach-btn capsach-btn--mobile
| {{#if:{{{width|}}}|style=width: {{{width}}};}}▼
| yes=capsach-btn capsach-btn--mobile
| true=capsach-btn capsach-btn--mobile
| 1=capsach-btn capsach-btn--mobile
| block=capsach-btn capsach-btn--mobile
▲ | #default=capsach-btn }}"
<span class="capsach-btn__inner" role="button" tabindex="0">{{{text|Button}}}</span>
</span>
}}
}}
| |||