Šablonas:CompactTOC

Turinys
A Ą B C Č D E Ę Ė F G H I Į Y J K L M N O P Q R S Š T U Ų Ū W X V Z Ž
Documentation icon Šablono dokumentacija[view] [redaguoti] [istorija] [atnaujinti]

Naudojimas redaguoti

Typical

{{Compact ToC|symnum=yes}}


For alphabetical only

{{Compact ToC}}


For common applications

{{Compact ToC|center=yes|seealso=yes|refs=yes|further=yes}}

or vertical:
{{Compact ToC
 |center  = yes
 |seealso = yes
 |refs    = yes
 |further = yes
}}

Raidės redaguoti

Any letter can be omitted (i.e. when it has no entries in the list) by specifying it as a lower-case blank parameter:  {{Compact ToC|side=yes|j=|q=}}

Turinys:
A Ą B C Č D E Ę Ė F G H I Į Y K L M N O P R S Š T U Ų Ū W X V Z Ž

Or it can be replaced with an unlinked letter by using that letter (upper-case): {{Compact ToC|side=yes|j=J|q=Q}}

Turinys:
A Ą B C Č D E Ę Ė F G H I Į Y J K L M N O P Q R S Š T U Ų Ū W X V Z Ž

Note: It is often better to create an empty placeholder span (e.g. <span id="Q" /> where the letter's heading would be in the page if it existed, since in most cases it is quite possible that it will come to exist in the future. Using the span-id avoids confusing new users who might not realize the TOC-template has skipped some letters.

The letter-assignment feature can also be used to create range links:

{{Compact ToC|side=yes|x=[[#X-Z|X-Z]]|y=|z=}}

Turinys:
A Ą B C Č D E Ę Ė F G H I Į J K L M N O P Q R S Š T U Ų Ū W X-Z V Ž

The feature can also be used (very tediously) for linking to sub-articles (e.g., for long lists that have been split into multiple pages):

{{Compact ToC|name=[[Straipsnis]]|side=yes|n=[[Straipsnis (N–Z)#N|N]]|o=[[Straipsnis (N–Z)#O|O]]|...|z=[[Straipsnis (N–Z)#Z|Z]]}}

Straipsnis:
A Ą B C Č D E Ę Ė F G H I Į Y J K L M N O P Q R S Š T U Ų Ū W X V Z Ž

Or, as another example:

{{Compact ToC|side=yes|n=[[Straipsnis (N–Z)|&nbsp;N–Z (sekantis)]]|o=|p=|...|ž=}}

Turinys: