Шаблон:Family tree/toggle
Материал из Guild Wars 2 wiki
< Шаблон:Family tree
Версия от 16:46, 17 июля 2015; Snowbirdie (обсуждение | вклад) (Новая страница: «<includeonly><span class="mw-customtoggle-textbox{{#vardefineecho:frt_id|{{{id|}}}}}" style="font-weight:bold; cursor:pointer; color:#0645AD;" title="Show/hide te…»)
A template for generating the button to operate the show/hide functionality of family tree text nodes.
Содержание
Usage[править]
Parameters[править]
- 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[править]
- См. также: Template:Family tree
Click {{family tree/toggle|here}} to show/hide the annotations.
Click here to show/hide the annotations.
Note[править]
- Note that the button example won't appear to do anything on this page because nothing has been hidden!