Difference between revisions of "Template:CustomToggle"
Jump to navigation
Jump to search
m (test) |
|||
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
[Show]
[Hide]
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.