• ପ୍ରଧାନ ପୃଷ୍ଠା
  • ଯାହିତାହି
  • ପାଖାପାଖି
  • ଲଗ-ଇନ
  • ସଜାଣି
  • ଦାନ
  • ଉଇକିପିଡ଼ିଆ ବାବଦରେ
  • ଆମେ ଦାୟୀ ନୋହୁଁ
ଉଇକିପିଡ଼ିଆ

ଛାଞ୍ଚ:Collapsible list

  • ଭାଷା
  • ଦେଖିବେ
  • ସମ୍ପାଦନ କରନ୍ତୁ
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Collapsible list

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.

ବିଷୟସୂଚୀ

  • ୧ Syntax
  • ୨ Parameters
  • ୩ Examples
    • ୩.୧ Example of a list without borders because it's within an infobox

Syntaxସମ୍ପାଦନ କରନ୍ତୁ

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

Parametersସମ୍ପାଦନ କରନ୍ତୁ

  • Positional parameters (1, 2, 3...) - these are the list items. If no list items are present, the module will output nothing.
  • expand - specifying expand = true, or any non-blank value, will set the default state to expanded.
  • framestyle - a custom css style for the <div>...</div> tags surrounding the list, e.g. font-size: 90%;.
  • titlestyle - a custom css style for the <div>...</div> tags surrounding the title.
  • title - the list title.
  • titlestyle - a custom css style for the <ul>...</ul> tags surrounding the list.
  • hlist - specifying hlist = true, or any non-blank value, will cause the template to output a horizontal list.
  • bullets - specifying bullets = true, or any non-blank value, will cause the template to produce bullets for each list item.

Examplesସମ୍ପାଦନ କରନ୍ତୁ

{{collapsible list 
 | title = [[European Free Trade Association]] Members 
 | [[Iceland]] 
 | [[Liechtenstein]] 
 | [[Norway]] 
 | [[Switzerland]]
}}
European Free Trade Association Members
  • Iceland
  • Liechtenstein
  • Norway
  • Switzerland

Example of a list without borders because it's 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
ସରକାର
 • MayorFred Eisenberger
 • City CouncilHamilton, Ontario City Council
 • MPs
List of MPs
  • Dean Allison
  • Chris Charlton
  • David Christopherson
  • Wayne Marston
  • David Sweet
 • MPPs
List of MPPs
  • Marie Bountrogianni
  • Andrea Horwath
  • Judy Marsales
  • Ted McMeekin
  • Jennifer Mossop
{{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...)
}}
The above documentation is transcluded from ଛାଞ୍ଚ:Collapsible list/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
"https://or.wikipedia.org/w/index.php?title=ଛାଞ୍ଚ:Collapsible_list&oldid=138067"ରୁ ଅଣାଯାଇଅଛି
Last edited on ୨୫ ଡିସେମ୍ବର ୨୦୧୩, at ୧୫:୪୧

Languages

    • Afrikaans
    • Alemannisch
    • العربية
    • ܐܪܡܝܐ
    • الدارجة
    • مصرى
    • অসমীয়া
    • Asturianu
    • Atikamekw
    • Авар
    • Azərbaycanca
    • تۆرکجه
    • Basa Bali
    • Bikol Central
    • Беларуская
    • Беларуская (тарашкевіца)
    • Български
    • भोजपुरी
    • ပအိုဝ်ႏဘာႏသာႏ
    • বাংলা
    • Brezhoneg
    • Bosanski
    • Буряад
    • Català
    • 閩東語 / Mìng-dĕ̤ng-ngṳ̄
    • Нохчийн
    • Cebuano
    • کوردی
    • Cymraeg
    • Dansk
    • Dagbanli
    • Deutsch
    • Thuɔŋjäŋ
    • Zazaki
    • Dolnoserbski
    • Ελληνικά
    • English
    • Esperanto
    • Español
    • Eesti
    • Euskara
    • فارسی
    • Suomi
    • Føroyskt
    • Français
    • Gaeilge
    • Galego
    • गोंयची कोंकणी / Gõychi Konknni
    • ગુજરાતી
    • Hausa
    • 客家語/Hak-kâ-ngî
    • עברית
    • हिन्दी
    • Hrvatski
    • Hornjoserbsce
    • Magyar
    • Հայերեն
    • Արեւմտահայերէն
    • Interlingua
    • Bahasa Indonesia
    • Igbo
    • Ilokano
    • ГӀалгӀай
    • Ido
    • Íslenska
    • 日本語
    • Jawa
    • ქართული
    • Taqbaylit
    • Қазақша
    • ភាសាខ្មែរ
    • 한국어
    • Kurdî
    • Кыргызча
    • Ladin
    • Lietuvių
    • Latgaļu
    • Latviešu
    • मैथिली
    • Basa Banyumasan
    • Мокшень
    • Minangkabau
    • Македонски
    • മലയാളം
    • Монгол
    • ဘာသာ မန်
    • मराठी
    • Bahasa Melayu
    • Mirandés
    • မြန်မာဘာသာ
    • नेपाली
    • नेपाल भाषा
    • Nederlands
    • Norsk nynorsk
    • Norsk bokmål
    • Chi-Chewa
    • Ирон
    • ਪੰਜਾਬੀ
    • Norfuk / Pitkern
    • Português
    • Runa Simi
    • Română
    • Русский
    • संस्कृतम्
    • Sardu
    • Scots
    • سنڌي
    • Srpskohrvatski / српскохрватски
    • ၽႃႇသႃႇတႆး
    • සිංහල
    • Simple English
    • Slovenčina
    • Slovenščina
    • Soomaaliga
    • Shqip
    • Српски / srpski
    • Sunda
    • Svenska
    • தமிழ்
    • తెలుగు
    • Тоҷикӣ
    • ไทย
    • ትግርኛ
    • Türkmençe
    • Tagalog
    • Tok Pisin
    • Türkçe
    • Xitsonga
    • Українська
    • اردو
    • Oʻzbekcha / ўзбекча
    • Vèneto
    • Tiếng Việt
    • Winaray
    • 吴语
    • ייִדיש
    • 中文
    • Bân-lâm-gú
    • 粵語
    ଉଇକିପିଡ଼ିଆ
    • ଏ ପୃଷ୍ଠାଟି ୨୫ ଡିସେମ୍ବର ୨୦୧୩ ଦିନ ୧୫:୪୧ ବେଳେ ବଦଳାଯାଇଥିଲା ।
    • ଦର୍ଶାଯାଇନଥିଲେ ସମସ୍ତ ବିଷୟବସ୍ତୁ CC BY-SA 3.0 ରେ ଉପଲବ୍ଧ ।
    • ଗୁମର ନୀତି
    • ଉଇକିପିଡ଼ିଆ ବାବଦରେ
    • ଆମେ ଦାୟୀ ନୋହୁଁ
    • ବ୍ୟବହାର ନିୟମାବଳୀ
    • ଡେସ୍କଟପ
    • ଡେଭେଲପରମାନେ
    • ପରିସଂଖ୍ୟାନ
    • କୁକି ବିବରଣୀ