Template:CS button: Difference between revisions
Appearance
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|}}}}} |
|||
| |
| full=capsach-btn capsach-btn--mobile |
||
| 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 }}" |
|||
| ⚫ | |||
| ⚫ | |||
[[{{{link}}}|{{{text|Button}}}]] |
|||
| ⚫ | |||
| ⚫ | |||
| {{#if:{{{url|}}} |
|||
| <span |
|||
| ⚫ | |||
| ⚫ | |||
}} |
|||
| ⚫ | |||
| ⚫ | |||
| 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 }}" |
||
{{#if:{{{width|}}}| style="width: {{{width}}};"}}> |
|||
| ⚫ | |||
| ⚫ | |||
</span> |
|||
| ⚫ | |||
| <span |
|||
class="{{#switch:{{lc:{{{mobile|}}}}} |
|||
| full=capsach-btn capsach-btn--mobile |
|||
| ⚫ | |||
| yes=capsach-btn capsach-btn--mobile |
|||
| true=capsach-btn capsach-btn--mobile |
|||
| 1=capsach-btn capsach-btn--mobile |
|||
| block=capsach-btn capsach-btn--mobile |
|||
| ⚫ | |||
| ⚫ | |||
<span class="capsach-btn__inner" role="button" tabindex="0">{{{text|Button}}}</span> |
|||
</span> |
|||
}} |
}} |
||
}} |
}} |
||
Revision as of 12:37, 13 October 2025
Button