Difference between revisions of "Template:GifUnpack/doc"

From Ephemeral Film Wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} animated gif from archive dot org == See Also == * {{Purge}} == Template Data ==")
 
Line 2: Line 2:


animated gif from archive dot org
animated gif from archive dot org
== Collapsible ==
If you don't want the script to put the default toggle link (whether or not with a custom label) in your element, you can make one of your own. This could reside anywhere inside ''or'' outside the collapsible element.
Its relationship to the collapsible element is detected by using an ID attribute with the prefix <code>mw-customcollapsible</code> and a corresponding class attribute with prefix <code>mw-customtoggle</code> for the collapsible element and the togglelink respectively.
<syntaxhighlight lang="html4strict">
<span class="mw-customtoggle-myDivision">Toggle link</span>
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">Toggled text</div>
<span class="mw-customtoggle-myDivision">Additional toggle link</span>
</syntaxhighlight>


== See Also ==
== See Also ==
* {{Purge}}
* {{Purge}}
== Template Data ==
== Template Data ==

Revision as of 20:47, 1 March 2022

- - -

There is a documentation subpage housing the metadata about parent template: GifUnpack.


animated gif from archive dot org

Collapsible

If you don't want the script to put the default toggle link (whether or not with a custom label) in your element, you can make one of your own. This could reside anywhere inside or outside the collapsible element.

Its relationship to the collapsible element is detected by using an ID attribute with the prefix mw-customcollapsible and a corresponding class attribute with prefix mw-customtoggle for the collapsible element and the togglelink respectively.

<syntaxhighlight lang="html4strict"> Toggle link

Toggled text

Additional toggle link </syntaxhighlight>

See Also

Template Data