Template:CustomToggle: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
m test
Strife Onizuka (talk | contribs)
No edit summary
Line 11: Line 11:
Example:
Example:
<pre>{{CustomToggle|PRIM_TYPE|hide=Collapse|show=Expand|class=foo|collapsed=*|link={{FULLPAGENAMEE}}##}}</pre>
<pre>{{CustomToggle|PRIM_TYPE|hide=Collapse|show=Expand|class=foo|collapsed=*|link={{FULLPAGENAMEE}}##}}</pre>
If the table is collapsed by default, you should provide a link (with the link parameter) to an article that contains the information in the collapsed section so that users with JavaScript disabled.


</noinclude>
</noinclude>

Revision as of 17:56, 19 May 2015

Hidable Thingy
Regular Thingy

Example:

{{CustomToggle|PRIM_TYPE|hide=Collapse|show=Expand|class=foo|collapsed=*|link={{FULLPAGENAMEE}}##}}

If the table is collapsed by default, you should provide a link (with the link parameter) to an article that contains the information in the collapsed section so that users with JavaScript disabled.