Template:CollapsibleOnDesktop: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<div class="nomobile mw-collapsible {{#if: {{{collapsed|}}} | mw-collapsed }}">{{{1}}}</div><div class="mobileonly">{{{1}}}</div>") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="nomobile mw-collapsible {{#if: {{{collapsed|}}} | mw-collapsed }}">{{{1}}}</div><div class="mobileonly">{{{1}}}</div> | <includeonly><div class="nomobile mw-collapsible {{#if: {{{collapsed|}}} | mw-collapsed }}">{{trim | {{{1}}} }}</div><div class="mobileonly">{{trim | {{{1}}} }}</div></includeonly><noinclude> | ||
Usage: | |||
<pre> | |||
{{CollapsibleOnDesktop | | |||
Text goes here | |||
}} | |||
</pre> | |||
For collapsed by default: | |||
<pre> | |||
{{CollapsibleOnDesktop | collapsed = yes | | |||
Text goes here | |||
}} | |||
</pre> | |||
</noinclude> |
Latest revision as of 07:29, 2 August 2023
Usage:
{{CollapsibleOnDesktop | Text goes here }}
For collapsed by default:
{{CollapsibleOnDesktop | collapsed = yes | Text goes here }}