Шаблон:CollapseBox/doc

Материал из EVE Online Wiki [Aliteg]
< Шаблон:CollapseBox
Версия от 22:29, 12 января 2025; Cingulari (обсуждение | вклад) (Новая страница: «; Description : This template creates a green, expandable box that displays only a title when collapsed, and both title and text when expanded. It is collapsed by default. ; Dependencies: :; Uses :: Classes collapsible and collapsed ; Syntax : {{T|CollapseBox|title|text|4=width=}} ; Parameters :; title : The title of the box. This is always visible. :; text : Contents of the box, only visible when expanded. :; width= : The width of the box, preferably in...»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к: навигация, поиск
Description
This template creates a green, expandable box that displays only a title when collapsed, and both title and text when expanded. It is collapsed by default.
Dependencies
Uses
Classes collapsible and collapsed
Syntax
{{CollapseBox|<title>|<text>|<width=>}}
Parameters
title
The title of the box. This is always visible.
text
Contents of the box, only visible when expanded.
width=
The width of the box, preferably in %. Default value is 30%. (Optional)
Sample
{{CollapseBox|New title|Text to be shown or hidden.}}

Gives...


{{CollapseBox|New title|Text to be shown or hidden.|width=70%}}

Gives...