Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Community portal
Recent changes
Random page
Help
Special pages
Donate
Islamd Wiki
Search
Search
English
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Collapsible lists option
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
In other projects
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
<div style="padding-right:3.6em<!--i.e. around three times Wikipedia's standard indent width, to keep the following away from e.g. template/s on righthand side of page-->;"> This template includes collapsible lists. <!------------ (to show all lists) --------------> *{{Unbulleted list |style=padding-bottom:0.3em; |list_style=line-height:1.5em; | 1 = To set it to display all lists when it appears (i.e. all lists expanded), use: | 2 = <span class="nowrap">{{pad|1.2em}}{{tlc|{{{template_name|<includeonly>{{</includeonly>BASEPAGENAME<includeonly>}}</includeonly>}}}|expanded{{=}}all}}</span>{{#ifeq:{{{expandedname|}}}|required|<!-- then hide the second half -->|<!-- else show it: --> or <span class="nowrap">{{tlc|{{{template_name|<includeonly>{{</includeonly>BASEPAGENAME<includeonly>}}</includeonly>}}}|all}}</span>{{spaces|2}}(i.e. omitting {{para|expanded}}}}).}} <!------------ (to show one list) ---------------> *{{Unbulleted list |style=padding-bottom:0.3em; |list_style=line-height:1.5em; | 1 = To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use: | 2 = <span class="nowrap">{{pad|1.2em}}{{tlc|{{{template_name|<includeonly>{{</includeonly>BASEPAGENAME<includeonly>}}</includeonly>}}}|expanded{{=}}<var>listname</var>}}</span>{{#ifeq:{{{expandedname|}}}|required|<!-- then hide the second half -->|<!-- else show it: --> or <span class="nowrap">{{tlc|{{{template_name|<includeonly>{{</includeonly>BASEPAGENAME<includeonly>}}</includeonly>}}}|<var>listname</var>}}</span>}} | 3 = ...where <var>listname</var> is one of the following (do not include any quotemarks): |item4_style=;padding:0.2em 0 0.3em 1.4em; | 4 = <kbd style="border: none;">{{#if:{{{listnames|<noinclude>ForTheDemo</noinclude>}}}|{{{listnames|<noinclude>{{hlist|foo|bar|baz}}</noinclude>}}}|<includeonly>{{color|red|''Required parameter "listnames" missing!''}}</includeonly>}} </kbd> | 5 = {{#if:{{{example|<noinclude>ForTheDemo</noinclude>}}} <!--------(optional example)---------> | <noinclude>{{small|[''optional:''{{thinsp}}]}}<br /></noinclude><!-- -->For example, <span class="nowrap">{{tlc|{{{template_name|<includeonly>{{</includeonly>BASEPAGENAME<includeonly>}}</includeonly>}}}|expanded{{=}}{{{example|<noinclude>foo</noinclude>}}}}}</span>{{#ifeq:{{{expandedname|}}}|required|<!-- then hide the second half -->|<!-- else show it: --> or <span class="nowrap">{{tlc|{{{template_name|<includeonly>{{</includeonly>BASEPAGENAME<includeonly>}}</includeonly>}}}|{{{example|<noinclude>foo</noinclude>}}}}}</span>}} }} }}<!-- <!------------ (optional default) ---------------> {{#if:{{{default|<noinclude>ForTheDemo</noinclude>}}} | * {{#ifeq:{{{default}}}|all |All lists have | <noinclude>{{small|[''optional:''{{thinsp}}]}} [All lists have]{{\}}[The list named '''''default''''' has]</noinclude><!-- --><includeonly>The list named '''<code>{{{default}}}</code>''' has</includeonly>}} been set to be shown when the template appears. }}</div><noinclude> {{Documentation}} </noinclude>
Summary:
By saving changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages included on this page:
Template:Documentation
(
edit
)
Template:Hlist
(
edit
)
Template:Hlist/styles.css
(
edit
)
Template:Main other
(
edit
)
Template:Pad
(
edit
)
Template:Para
(
edit
)
Template:Plainlist/styles.css
(
edit
)
Template:Small
(
edit
)
Template:Spaces
(
edit
)
Template:Template link code
(
edit
)
Template:Thinsp
(
edit
)
Template:Tlc
(
edit
)
Template:Unbulleted list
(
edit
)
Template:\
(
edit
)
Module:Arguments
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:Documentation
(
edit
)
Module:Documentation/config
(
edit
)
Module:Documentation/styles.css
(
edit
)
Module:List
(
edit
)
Module:String
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Search
Search
Editing
Template:Collapsible lists option
Add languages
Add topic