Difference between revisions of "Template:Expand"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
Simple no parameters. | Simple no parameters. | ||
− | :<code><nowiki>{{expand|This | + | :<code><nowiki>{{expand|This can be hidden.}}</nowiki></code> |
− | |||
− | |||
Expanded with parameters. | Expanded with parameters. | ||
− | :<code><nowiki>{{expand|This | + | :<code><nowiki>{{expand|This can be hidden.|nohide=This is not hidden.|expanded=yes}}</nowiki></code> |
− | |||
===Parameters=== | ===Parameters=== |
Revision as of 12:12, 27 February 2019
r
This is hidden.
Documentation
Makes part of page hidden and expandable.
Examples
Simple no parameters.
{{expand|This can be hidden.}}
Expanded with parameters.
{{expand|This can be hidden.|nohide=This is not hidden.|expanded=yes}}
Parameters
- hide
- Part of page to hide. Also works as first parameter unnamed.
- nohide
- Part of page not hidden (goes first, good for titles).
- expanded
- Defaults to hidden, to default to expanded use 'expanded=yes'