Şablon:Daraltılabilir liste: Revizyonlar arasındaki fark
Görünüm
[kontrol edilmemiş revizyon] | [kontrol edilmiş revizyon] |
İçerik silindi İçerik eklendi
Yeni sayfa: <div class="NavFrame" style="{{#if: {{{frame_style|}}}|<!--then:-->{{{frame_style|}}}|<!--else:-->border:none; padding: 0;}}"> <div class="NavHead" style="{{#if:{{{title_style|}}} |<!-... |
k Bağlantı düzeltme |
||
(8 kullanıcı tarafından yapılan 12 ara revizyon gösterilmiyor) | |||
1. satır: | 1. satır: | ||
{{<includeonly>safesubst:</includeonly>#invoke:daraltılabilir liste|main}}<noinclude> |
|||
<div class="NavFrame" style="{{#if: {{{frame_style|}}}|<!--then:-->{{{frame_style|}}}|<!--else:-->border:none; padding: 0;}}"> |
|||
{{belgeleme}} |
|||
<div class="NavHead" style="{{#if:{{{title_style|}}} |<!--then:-->{{{title_style|}}} |<!--else:-->width:100%; background:transparent" align="left}}">{{#if:{{{title|}}} |<!--then:-->{{{title|}}} |<!--else:-->List}}</div> |
|||
⚫ | |||
<div class="NavContent" style="display:none; {{#if:{{{list_style|}}} |<!--then:-->{{{list_style|}}} |<!--else:-->text-align:left;}}"><!-- |
|||
-->{{#if:{{{1|}}} |<!--then:-->{{{1|}}} }}<!-- |
|||
-->{{#if:{{{2|}}} |<!--then:--></br>{{{2|}}} }}<!-- |
|||
-->{{#if:{{{3|}}} |<!--then:--></br>{{{3|}}} }}<!-- |
|||
-->{{#if:{{{4|}}} |<!--then:--></br>{{{4|}}} }}<!-- |
|||
-->{{#if:{{{5|}}} |<!--then:--></br>{{{5|}}} }}<!-- |
|||
-->{{#if:{{{6|}}} |<!--then:--></br>{{{6|}}} }}<!-- |
|||
-->{{#if:{{{7|}}} |<!--then:--></br>{{{7|}}} }}<!-- |
|||
-->{{#if:{{{8|}}} |<!--then:--></br>{{{8|}}} }}<!-- |
|||
-->{{#if:{{{9|}}} |<!--then:--></br>{{{9|}}} }}<!-- |
|||
-->{{#if:{{{10|}}} |<!--then:--></br>{{{10|}}} }}<!-- |
|||
-->{{#if:{{{11|}}} |<!--then:--></br>{{{11|}}} }}<!-- |
|||
-->{{#if:{{{12|}}} |<!--then:--></br>{{{12|}}} }}<!-- |
|||
-->{{#if:{{{13|}}} |<!--then:--></br>{{{13|}}} }}<!-- |
|||
-->{{#if:{{{14|}}} |<!--then:--></br>{{{14|}}} }}<!-- |
|||
-->{{#if:{{{15|}}} |<!--then:--></br>{{{15|}}} }}<!-- |
|||
-->{{#if:{{{16|}}} |<!--then:--></br>{{{16|}}} }}<!-- |
|||
-->{{#if:{{{17|}}} |<!--then:--></br>{{{17|}}} }}<!-- |
|||
-->{{#if:{{{18|}}} |<!--then:--></br>{{{18|}}} }}<!-- |
|||
-->{{#if:{{{19|}}} |<!--then:--></br>{{{19|}}} }}<!-- |
|||
-->{{#if:{{{20|}}} |<!--then:--></br>{{{20|}}} }}<!-- |
|||
-->{{#if:{{{21|}}} |<!--then:--></br>{{{21|}}} }}<!-- |
|||
-->{{#if:{{{22|}}} |<!--then:--></br>{{{22|}}} }}<!-- |
|||
-->{{#if:{{{23|}}} |<!--then:--></br>{{{23|}}} }}<!-- |
|||
-->{{#if:{{{24|}}} |<!--then:--></br>{{{24|}}} }}<!-- |
|||
-->{{#if:{{{25|}}} |<!--then:--></br>{{{25|}}} }}<!-- |
|||
-->{{#if:{{{26|}}} |<!--then:--></br>{{{26|}}} }}<!-- |
|||
-->{{#if:{{{27|}}} |<!--then:--></br>{{{27|}}} }}<!-- |
|||
-->{{#if:{{{28|}}} |<!--then:--></br>{{{28|}}} }}<!-- |
|||
-->{{#if:{{{29|}}} |<!--then:--></br>{{{29|}}} }}<!-- |
|||
-->{{#if:{{{30|}}} |<!--then:--></br>{{{30|}}} }}<!-- |
|||
-->{{#if:{{{31|}}} |<!--then:--></br>{{{31|}}} }}<!-- |
|||
-->{{#if:{{{32|}}} |<!--then:--></br>{{{32|}}} }}<!-- |
|||
-->{{#if:{{{33|}}} |<!--then:--></br>{{{33|}}} }}<!-- |
|||
-->{{#if:{{{34|}}} |<!--then:--></br>{{{34|}}} }}<!-- |
|||
-->{{#if:{{{35|}}} |<!--then:--></br>{{{35|}}} }}<!-- |
|||
-->{{#if:{{{36|}}} |<!--then:--></br>{{{36|}}} }}<!-- |
|||
-->{{#if:{{{37|}}} |<!--then:--></br>{{{37|}}} }}<!-- |
|||
-->{{#if:{{{38|}}} |<!--then:--></br>{{{38|}}} }}<!-- |
|||
-->{{#if:{{{39|}}} |<!--then:--></br>{{{39|}}} }}<!-- |
|||
-->{{#if:{{{40|}}} |<!--then:--></br>{{{40|}}} }}<!-- |
|||
-->{{#if:{{{41|}}} |<!--then:--></br>{{{41|}}} }}<!-- |
|||
-->{{#if:{{{42|}}} |<!--then:--></br>{{{42|}}} }}<!-- |
|||
-->{{#if:{{{43|}}} |<!--then:--></br>{{{43|}}} }}<!-- |
|||
-->{{#if:{{{44|}}} |<!--then:--></br>{{{44|}}} }}<!-- |
|||
-->{{#if:{{{45|}}} |<!--then:--></br>{{{45|}}} }}<!-- |
|||
-->{{#if:{{{46|}}} |<!--then:--></br>{{{46|}}} }}<!-- |
|||
-->{{#if:{{{47|}}} |<!--then:--></br>{{{47|}}} }}<!-- |
|||
-->{{#if:{{{48|}}} |<!--then:--></br>{{{48|}}} }}<!-- |
|||
-->{{#if:{{{49|}}} |<!--then:--></br>{{{49|}}} }}<!-- |
|||
-->{{#if:{{{50|}}} |<!--then:--></br>{{{50|}}} }}<!-- |
|||
--></div> |
|||
</div> |
|||
<noinclude>{{template doc}}<!-- |
|||
========= |
|||
Please add interwiki links etc to the /doc page, not here; thanks! |
|||
========= |
|||
⚫ |
15.30, 12 Eylül 2023 itibarı ile sayfanın şu anki hâli.
Bu şablon şu Lua modülünü kullanıyor: |
Aşağıdaki şablon belgelemesi Şablon:Daraltılabilir liste/belge sayfasının görüntüsüdür. [değiştir]
Syntax[kaynağı değiştir]
{{Collapsible list |title = |frame_style = <!-- (optional) --> |title_style = <!-- (optional) --> |list_style = <!-- (optional) --> |1 = First item of list |2 = Second item of list |3 = Third item of list |... }}
Syntax for an always collapsed list[kaynağı değiştir]
{{Collapsible list |title = |frame_style = <!-- (blank) --> |title_style = <!-- (optional) --> |list_style = text-align:left;display:none; |1 = First item of list |2 = Second item of list |3 = Third item of list |... }}
Syntax for an always collapsed list without borders (for use within an infobox)[kaynağı değiştir]
{{Collapsible list |title = |frame_style = border:none; padding: 0; |title_style = <!-- (optional) --> |list_style = text-align:left;display:none; |1 = First item of list |2 = Second item of list |3 = Third item of list |... }}
Examples[kaynağı değiştir]
{{Collapsible list |title=[[European Free Trade Association]] Members |[[İzlanda]] |[[Liechtenstein]] |[[Norveç]] |[[İsviçre]]}}
Example of a list that's always collapsed[kaynağı değiştir]
{{Collapsible list |title=[[Great Lakes]] States |frame_style=border:1px solid #aaa; padding: 1; |list_style = text-align:left;display:none; <!--NOTICE: list_style makes the list stay collapsed--> |1=[[Michigan]] |2=[[Ohio]] |3=[[Indiana]] |4=[[Illinois]] |5= [[Minnesota]]<!-- <!-- the #= is optional, but if used, then all entries must have it-->--> |6= [[Wisconsin]] |7= [[Pensilvanya]] |8= [[New York]] }}
Great Lakes States
Example of a list that's always collapsed and without borders because it's within an infobox[kaynağı değiştir]
In these examples, the fields leader_name2 and leader_name3 have been changed to use collapsible list.
{{Infobox City |official_name = City of Hamilton ...Truncated for display reasons... |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 |title = List of MPs |frame_style=border:none; padding: 0; <!--NOTICE: This will hide the borders and make rows closer (padding)--> |title_style = |list_style = text-align:left;display:none; <!-- NOTICE: This will always collapse the list--> |1=[[Dean Allison]] |2=[[Chris Charlton]] |3=[[David Christopherson]] |4=[[Wayne Marston]] |5=[[David Sweet]] }} |leader_title3 = [[Member of Provincial Parliament|MPPs]] |leader_name3 = {{Collapsible list |title = List of MPPs |frame_style=border:none; padding: 0; <!--NOTICE: This will hide the borders and make rows closer (padding)--> |title_style = |list_style = text-align:left;display:none; |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]]<ref name=1846est>Provincial Statutes of Canada 1846 9° vict. pg 981 Chapter ...}}