Difference between revisions of "Template:CustomToggle"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 12: Line 12:
<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.
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 for users with JavaScript disabled.


</noinclude>
</noinclude>

Revision as of 17:00, 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 for users with JavaScript disabled.