Шаблон:Collapse/doc: различия между версиями

26 байт добавлено ,  05:59, 19 апреля 2016
м
cleanup
en>SMcCandlish
(update)
en>SMcCandlish
м (cleanup)
Строка 20: Строка 20:
=== The bg parameter ===
=== The bg parameter ===


The bg parameter is optional. It changes the background color. Use [[web color]] values (e.g. #F0F2F5).
The bg parameter is optional. It changes the background color. Use [[Web color]] values (e.g. <code>#F0F2F5</code>).


;Example:
;Example:
   
   
{<nowiki />{Collapse|1=<var>Discussion text to be put into box.</var>|bg=#F0F2F5}<nowiki />} creates:
<code>{<nowiki />{Collapse|1=<var>Discussion text to be put into box.</var>|bg=#F0F2F5}<nowiki />}</code> creates:


{{Collapse|1=Discussion text to be put into box.|bg=#F0F2F5}}
{{Collapse|1=Discussion text to be put into box.|bg=#F0F2F5}}
Анонимный участник