Template:CS button: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 4:
| {{#tag:a
| {{{text|Button}}}
| 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}}
| 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
}}
| href={{{url|{{localurl:{{{link}}}}}}}}
| title={{{tooltip|}}}
Line 11 ⟶ 18:
| {{#tag:span
| {{{text|Button}}}
| 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}}
| 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
}}
| title={{{tooltip|}}}
| {{#if:{{{width|}}}|style=width: {{{width}}};}}