ഫലകം:Collapsible list

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.
Jump to navigation Jump to search
ഫലകത്തിന്റെ വിവരണം[കാണുക] [തിരുത്തുക] [നാൾവഴി] [പുതുക്കുക]

This template produces a collapsible list. It is possible to set CSS styles for the "frame" (the <div>...</div> tags surrounding the list), for the list title, and for the list items. The template supports an unlimited number of list items.

This template is typically used in infoboxes and navboxes; it should not normally be used in regular article content, per MOS:DONTHIDE.

Collapse Templates
Basic Collapse
{{Collapse top}}Top
{{Collapse bottom}}Bottom
{{Collapse}}Both
Discussion Collapse
{{Discussion top}}Top
{{Discussion bottom}}Bottom
{{Hidden archive top}}Top
{{Hidden archive bottom}}Bottom
Hidden Collapse
{{Hidden begin}}Top
{{Hidden end}}Bottom
{{Hidden}}Both
Collapsible List
{{Collapsible list}}Both
{{Drop down list}}Both


Syntax[തിരുത്തുക]

{{Collapsible list
 | expand = 
 | framestyle = 
 | titlestyle = 
 | title = 
 | liststyle = 
 | hlist = 
 | bullets = 
 | <!-- 1 = -->    <!--(First item in list; the "1 =" is usually not required)-->
 | <!-- 2 = -->    <!--(Second item in list; ditto)-->
 | <!-- 3 = -->    <!--(Third item in list; etc.)-->
 | <!-- etc -->
}}

Parameters[തിരുത്തുക]

expand Any text in this parameter (including "no") sets the list's default state to expanded rather than collapsed. Omit the parameter or leave it blank to set the default state to collapsed.
framestyle Custom CSS styling applied the template overall (title and list).
titlestyle Custom CSS styling applied to the title.
title The list's title (always on view beside the list's [show/hide] link).
liststyle Custom CSS styling applied to the list (specifically, to the <ul>...</ul> tags delimiting the list).
hlist Include as |hlist=on, |hlist=true, etc to produce a horizontal rather than vertical list.
bullets Include as |bullets=on, |bullets=true, etc to place a bullet point before each list item.
Unnamed parameters
(first, second, third...)
The list items (in the order in which they will appear). If none are supplied, the template outputs nothing.

Examples[തിരുത്തുക]

{{Collapsible list
 | title = [[European Free Trade Association]] members
 | [[Iceland]]
 | [[Liechtenstein]]
 | [[Norway]]
 | [[Switzerland]]
}}

Example of a list without borders because it is within an infobox[തിരുത്തുക]

In these examples, the fields leader_name2 and leader_name3 have been changed to use collapsible list.

City of Hamilton
HamiltonOntarioSkylineC.JPG
Motto(s): Together Aspire – Together Achieve
Location in the province of Ontario, Canada
Location in the province of Ontario, Canada
CountryCanada
ProvinceOntario
IncorporatedJune 9, 1846
Government
 • MayorFred Eisenberger
 • City CouncilHamilton, Ontario, City Council
 • MPs
 • MPPs
{{Infobox settlement
|official_name     = City of Hamilton
 ...truncated...
|leader_title      = [[Mayor]]
|leader_name       = [[Fred Eisenberger]]
|leader_title1     = [[City Council]]
|leader_name1      = [[Hamilton City Council]]
|leader_title2     = [[Member of Parliament (Canada)|MPs]]
|leader_name2      =
 {{Collapsible list
  |framestyle=border:none; padding:0; <!--Hides borders and improves row spacing-->
  |title=List of MPs
  |1=[[Dean Allison]] |2=[[Chris Charlton]] |3=[[David Christopherson]] |4=[[Wayne Marston]] |5=[[David Sweet]]
 }}
|leader_title3     = [[Member of Provincial Parliament (Ontario)|MPPs]]
|leader_name3      =
 {{Collapsible list
  |framestyle=border:none; padding:0; <!--as above-->
  |title=List of MPPs
  |1=[[Marie Bountrogianni]] |2=[[Andrea Horwath]] |3=[[Judy Marsales]] |4=[[Ted McMeekin]] |5=[[Jennifer Mossop]]
 }}
|established_title = [[Municipal corporation|Incorporated]]
|established_date  = June 9, 1846
 (...etc...)
}}

TemplateData[തിരുത്തുക]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Collapsible list

Produces an HTML list that can be collapsed

ഫലകത്തിനുള്ള ചരങ്ങൾ

This template prefers block formatting of parameters.

ചരംവിവരണംതരംസ്ഥിതി
Titletitle

The list's title (Always in view beside the list's [show/hide] link).

പദംനിർദ്ദേശിക്കുന്നവ
Horizontal listhlist

Use value 'on' or 'true' to produce a horizontal rather than vertical list

ഉദാഹരണം
true
സ്വയം എടുക്കുന്ന വില
true
പദംഐച്ഛികം
Bulletsbullets

Set as 'on' or 'true' to place a bullet point before each list item

ഉദാഹരണം
true
സ്വയം എടുക്കുന്ന വില
true
പദംഐച്ഛികം
Expand listexpand

Expand the list instead of collapsing it

ഉദാഹരണം
true
സ്വയം എടുക്കുന്ന വില
true
പദംഐച്ഛികം
First list item1

A single list item

ഉള്ളടക്കംനിർദ്ദേശിക്കുന്നവ
Frame styleframestyle frame_style

Custom CSS styling applied the template overall (title and list).

ഉദാഹരണം
border: 1px;
പദംഐച്ഛികം
Title styletitlestyle title_style

CSS styling applied to the title

ഉദാഹരണം
color:brown;
പദംഐച്ഛികം
List styleliststyle list_style

CSS styling applied solely to the list itself

ഉദാഹരണം
list-style-type: square;
പദംഐച്ഛികം
Second list item2

A single list item

ഉള്ളടക്കംനിർദ്ദേശിക്കുന്നവ
Third list item3

A single list item

ഉള്ളടക്കംനിർദ്ദേശിക്കുന്നവ
Fourth list item4

A single list item

ഉള്ളടക്കംഐച്ഛികം
55

വിവരണമൊന്നുമില്ല

ഉള്ളടക്കംഐച്ഛികം
66

വിവരണമൊന്നുമില്ല

ഉള്ളടക്കംഐച്ഛികം
77

വിവരണമൊന്നുമില്ല

ഉള്ളടക്കംഐച്ഛികം
88

വിവരണമൊന്നുമില്ല

ഉള്ളടക്കംഐച്ഛികം
99

വിവരണമൊന്നുമില്ല

ഉള്ളടക്കംഐച്ഛികം
1010

വിവരണമൊന്നുമില്ല

ഉള്ളടക്കംഐച്ഛികം
"https://ml.wikipedia.org/w/index.php?title=ഫലകം:Collapsible_list&oldid=1892006" എന്ന താളിൽനിന്നു ശേഖരിച്ചത്
https://ml.wikipedia.org/wiki/%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82:Collapsible_list
ml.wikipedia.org
crawl=CC-MAIN-2018-51
103507
application/http; msgtype=response
sha1:6O52AYU3DXND6QU4UQIBCSBADLZKZE5E
<urn:uuid:901cfee1-df84-4945-95f5-fe58d300d7aa>
2018-12-12T18:37:21Z
208.80.154.224
text/html
sha1:FI7P3MUJOBCTGGKWY2TKCHOLZPTOJSH5
<urn:uuid:44a0db47-dad4-4799-98fa-f69c4f995cae>
https://ml.wikipedia.org/wiki/%E0%B4%AB%E0%B4%B2%E0%B4%95%E0%B4%82:Collapsible_list
response
<urn:uuid:9a7f4d1e-407c-4912-a7ae-4173dddbe780>
isPartOf: CC-MAIN-2018-51
publisher: Common Crawl
description: Wide crawl of the web for December 2018
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-150-135-54.ec2.internal
software: Apache Nutch 1.15 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 0.11-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: http://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/