Difference between revisions of "Template:Kajang Move"

From blackwiki
Jump to navigation Jump to search
imported>Wbm1058
(fix template loop error)
(fix "expanded" parameters as both the sidebar and the doc had errors)
 
Line 1: Line 1:
{{Sidebar with collapsible lists
+
<includeonly>{{Sidebar with collapsible lists
 
|name = Kajang Move
 
|name = Kajang Move
 
|style = width:18.0em;
 
|style = width:18.0em;
Line 11: Line 11:
 
|headingstyle = background:#64989C;color:white;
 
|headingstyle = background:#64989C;color:white;
 
|contentstyle = padding:0.2em 0 0.5em;
 
|contentstyle = padding:0.2em 0 0.5em;
| expanded   =  
+
|expanded = {{{expanded|{{{1|}}}}}}
  
 
<!----------------------- Events -------------------------->
 
<!----------------------- Events -------------------------->
Line 33: Line 33:
 
* [[Wan Azizah Wan Ismail]]
 
* [[Wan Azizah Wan Ismail]]
  
}}<noinclude>{{documentation|content=
+
}}</includeonly><noinclude>{{documentation|content=
 +
{{Kajang Move |all}}
 
{{Collapsible lists option
 
{{Collapsible lists option
 
  |listnames = "Events", "People"
 
  |listnames = "Events", "People"
  |example = {{Kajang Move |expanded=Selangor}}
+
  |example = People
 
}}
 
}}
  
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 08:21, 15 August 2017

50px Template documentation

This template includes collapsible lists.

  • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Kajang Move |expanded=all}} or, if enabled, {{Kajang Move |all}}  (i.e. omitting "expanded=").
  • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Kajang Move |expanded=listname}} or, if enabled, {{Kajang Move |listname}}
  • …where listname is one of the following (do not include any quotemarks):
  • "Events", "People"
  • For example, {{Kajang Move |expanded=People}} or, if enabled, {{Kajang Move |People}}