Template:CollapsibleOnDesktop: Difference between revisions

From bg3.wiki
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
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 }}">{{{1}}}</div><div class="mobileonly">{{{1}}}</div></includeonly><noinclude>
Usage:
 
<pre>
{{CollapsibleOnDesktop |
Text goes here
}}
</pre>
 
For collapsed by default:
 
<pre>
{{CollapsibleOnDesktop | collapsed = yes |
Text goes here
}}
</pre>
</noinclude>

Revision as of 07:28, 2 August 2023

Usage:

{{CollapsibleOnDesktop |
Text goes here
}}

For collapsed by default:

{{CollapsibleOnDesktop | collapsed = yes |
Text goes here
}}