Template:Sidebar with collapsible lists/row
Appearance
List
Xog-waranka tusmada[Itusi] [bedel] [taariikhda] [ ]
Usage
[wax ka badal xogta]{{Sidebar with collapsible lists/row | expanded = | framestyle = | titlestyle = | listclass = | liststyle = | title = | 1 = }}
Parameters
[wax ka badal xogta]Parameter | Notes |
---|---|
expanded | Any non blank value will cause the section to be expanded by default |
framestyle | The style to use for the section frame. The default style is 'border:none; padding: 0;' |
titlestyle | The style used for the section title. The default style is 'background: transparent; text-align: left' |
listclass | Class to use for the list (e.g., hlist or plainlist) |
liststyle | Additional styling for the list. The default styling is 'font-size:105%; padding:0.2em 0 0.4em; text-align:center;' |
title | Title for the section. The default value is 'List' |
1 | The contents of the section (the list) |
Coding notes
[wax ka badal xogta]It should be noted that
{{{1|}}}
is not equivalent to
{{#if:{{{1|}}} | {{{1}}} }}
The second construct will remove whitespace and spurious newline characters from the input. This is important when the value is passed as an unnamed parameter, instead of formally using '1 ='.
Similarly, the construct
{{{framestyle|border: none; padding: 0;}}}
is not the same as
{{#if:{{{framestyle|}}} |{{{framestyle}}} |border: none; padding: 0;}}
The difference is when 'framestyle =' is present, but blank. In the first case, a blank value is used, while in the second case, 'border: none; padding: 0;' is used.
Wixii aad soo aragtay waa Xog-waran wakiil ka ah Template:Sidebar with collapsible lists/row/doc. (bedel | raadka) Hadii aad dooneeysid inaad tijaabiso template kaan waxaad tagi kartaa bacaadka (sameey | muuqaal) iyo tijaabada (sameey) Bogagga. Fadlan ku xiriiri qaybaha kale iyo interwik /doc laamaha bogagga kale. qaybaha kale ee bogagga. |