Jump to content

Manual talk:Collapsible elements/Demo/Advanced

Add topic
From mediawiki.org
Latest comment: 1 year ago by 2A01:CB1D:542:9200:3DA3:F9F4:5AA4:62BE in topic Does not work in mobile view

mw-customtoggle-() doesn't work with Hebrew font

[edit]
{{#vardefine:eng|a}} {{#vardefine:heb|א}}
<div class="usermessage mw-customtoggle-{{#var:eng}}">{{#var:eng}}</div>
<ul class="mw-collapsible" id="mw-customcollapsible-{{#var:eng}}">
<li>A</li>
</ul>

<div class="usermessage mw-customtoggle-{{#var:heb}}">{{#var:heb}}</div>
<ul class="mw-collapsible" id="mw-customcollapsible-{{#var:heb}}">
<li>A</li>
</ul>

{{#vardefine:eng|a}} {{#vardefine:heb|א}}

{{#var:eng}}
  • A
{{#var:heb}}
  • A

2601:681:4201:1860:5D0C:A206:2803:1377 (talk) 15:45, 21 July 2021 (UTC)Reply

The variables are not being applied on this wiki. Requires ParserFunctions and Variables
With a hebrew font, 'Collapse' is visible on a line below the title. With eng Collapse is not visible so the dispalay is two lines rather than three.
The eng behavior is preferrable. 2601:681:4201:1860:5D0C:A206:2803:1377 (talk) 15:49, 21 July 2021 (UTC)Reply

Does not work in mobile view

[edit]

Seems not to work on ipad, unless I change to desktop view. 2A01:CB1D:542:9200:3DA3:F9F4:5AA4:62BE (talk) 14:51, 7 August 2023 (UTC)Reply