Template:Family tree/toggle
From Guild Wars 2 Wiki
Jump to navigationJump to search
A template for generating the button to operate the show/hide functionality of family tree text nodes.
Usage[edit]
Parameters[edit]
- 1 (unnamed parameter)
- text to show on the button. Defaults to "here".
- id
- the id suffix of the elements which it is to expand. Trees immediately following the toggle will be allocated the same id so that the right boxes become hidden/shown as appropriate.
Example[edit]
- See also: Template:Family tree
Click {{family tree/toggle|here}} to show/hide the annotations.
Click here to show/hide the annotations.
Note[edit]
- Note that the button example won't appear to do anything on this page because nothing has been hidden!