mediawiki-skins-Vector/includes/templates/TableOfContentsContainer.mustache
Jon Robson a786cfe09b Templates: Reorganize pinned containers
The UnpinnedContainer and PinnedContainer are versions of the
same component but with different states. Recognize them by
organizing them in the same subfolder. Update all existing usages.

Bug: T317900
Change-Id: I2c25937190997764fa23e0b581be5538ba4d06de
2022-12-09 16:56:06 -08:00

9 lines
313 B
Plaintext

<div class="mw-table-of-contents-container">
{{! T313060 Additional container div needed to prevent the sticky element from being siblings with the footer }}
{{#data-toc}}
{{>PinnableContainer/Pinned/Open}}
{{#is-pinned}}{{>TableOfContents}}{{/is-pinned}}
{{>PinnableContainer/Close}}
{{/data-toc}}
</div>