Difference between revisions of "Template:GifUnpack/doc"
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} animated gif from archive dot org == See Also == * {{Purge}} == Template Data ==") |
|||
(5 intermediate revisions by the same user not shown) | |||
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. | |||
<span class="mw-customtoggle-myDivision">Toggle link</span> | |||
<div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-myDivision">Toggled text</div> | |||
== Count == | |||
<pre class="jjrPre"><nowiki>{{#count:string|substring}}</nowiki></pre> | |||
outputs {{#count:string|substring}} | |||
<pre class="jjrPre"><nowiki>{{#count:string.gif|.}}</nowiki></pre> | |||
outputs {{#count:string.gif|.}} | |||
== See Also == | == See Also == | ||
* {{Purge}} | * {{Purge}} | ||
* https://www.mediawiki.org/wiki/Manual:Collapsible_elements | |||
* [[Template:Filmjr]] | |||
== Template Data == | == Template Data == | ||
<templatedata> | |||
{ | |||
"params": { | |||
"id": {}, | |||
"a": {} | |||
} | |||
} | |||
</templatedata> | |||
[[Category:Filmjr Helper Tpls]] |
Latest revision as of 17:48, 2 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.
Toggle link
Toggled text
Count
{{#count:string|substring}}
outputs 0
{{#count:string.gif|.}}
outputs 1
See Also
Template Data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id | no description | Unknown | optional |
a | a | no description | Unknown | optional |