Template:A-Z multipage list and Template:A-Z multipage list/sandbox: Difference between pages
(Difference between pages)
Jump to navigation
Jump to search
m (1 revision) |
(Change) |
||
Line 1: | Line 1: | ||
{{TOC top|title= | {{TOC top|title=[[{{{1}}}]]}} | ||
{{#switch:{{{format}}}|()= | {{#switch:{{{format}}}|()={{#ifexist:{{{1}}} (A)| | ||
* [[{{{1}}} (A)|A]]|A}} {{#ifexist:{{{1}}} (B)| | |||
* [[{{{1}}} (B)|B]]|B}} {{#ifexist:{{{1}}} (C)| | |||
* [[{{{1}}} (C)|C]]|C}} {{#ifexist:{{{1}}} (D)| | |||
* [[{{{1}}} (D)|D]]|D}} {{#ifexist:{{{1}}} (E)| | |||
* [[{{{1}}} (E)|E]]|E}} {{#ifexist:{{{1}}} (F)| | |||
* [[{{{1}}} (F)|F]]|F}} {{#ifexist:{{{1}}} (G)| | |||
* [[{{{1}}} (G)|G]]|G}} {{#ifexist:{{{1}}} (H)| | |||
* [[{{{1}}} (H)|H]]|H}} {{#ifexist:{{{1}}} (I)| | |||
* [[{{{1}}} (I)|I]]|I}} {{#ifexist:{{{1}}} (J)| | |||
* [[{{{1}}} (J)|J]]|J}} {{#ifexist:{{{1}}} (K)| | |||
* [[{{{1}}} (K)|K]]|K}} {{#ifexist:{{{1}}} (L)| | |||
* [[{{{1}}} (L)|L]]|L}} {{#ifexist:{{{1}}} (M)| | |||
* [[{{{1}}} (M)|M]]|M}} {{#ifexist:{{{1}}} (N)| | |||
* [[{{{1}}} (N)|N]]|N}} {{#ifexist:{{{1}}} (O)| | |||
* [[{{{1}}} (O)|O]]|O}} {{#ifexist:{{{1}}} (P)| | |||
* [[{{{1}}} (P)|P]]|P}} {{#ifexist:{{{1}}} (Q)| | |||
* [[{{{1}}} (Q)|Q]]|Q}} {{#ifexist:{{{1}}} (R)| | |||
* [[{{{1}}} (R)|R]]|R}} {{#ifexist:{{{1}}} (S)| | |||
* [[{{{1}}} (S)|S]]|S}} {{#ifexist:{{{1}}} (T)| | |||
* [[{{{1}}} (T)|T]]|T}} {{#ifexist:{{{1}}} (U)| | |||
* [[{{{1}}} (U)|U]]|U}} {{#ifexist:{{{1}}} (V)| | |||
* [[{{{1}}} (V)|V]]|V}} {{#ifexist:{{{1}}} (W)| | |||
* [[{{{1}}} (W)|W]]|W}} {{#ifexist:{{{1}}} (X)| | |||
* [[{{{1}}} (X)|X]]|X}} {{#ifexist:{{{1}}} (Y)| | |||
* [[{{{1}}} (Y)|Y]]|Y}} {{#ifexist:{{{1}}} (Z)| | |||
* [[{{{1}}} (Z)|Z]]|Z}}|:|#default={{#ifexist:{{{1}}}: A| | |||
* [[{{{1}}}: A|A]]|A}} {{#ifexist:{{{1}}}: B| | |||
* [[{{{1}}}: B|B]]|B}} {{#ifexist:{{{1}}}: C| | |||
* [[{{{1}}}: C|C]]|C}} {{#ifexist:{{{1}}}: D| | |||
* [[{{{1}}}: D|D]]|D}} {{#ifexist:{{{1}}}: E| | |||
* [[{{{1}}}: E|E]]|E}} {{#ifexist:{{{1}}}: F| | |||
* [[{{{1}}}: F|F]]|F}} {{#ifexist:{{{1}}}: G| | |||
{{{ | * [[{{{1}}}: G|G]]|G}} {{#ifexist:{{{1}}}: H| | ||
* [[{{{1}}}: H|H]]|H}} {{#ifexist:{{{1}}}: I| | |||
* | * [[{{{1}}}: I|I]]|I}} {{#ifexist:{{{1}}}: J| | ||
* | * [[{{{1}}}: J|J]]|J}} {{#ifexist:{{{1}}}: K| | ||
* [[{{{1}}}: K|K]]|K}} {{#ifexist:{{{1}}}: L| | |||
* [[{{{1}}}: L|L]]|L}} {{#ifexist:{{{1}}}: M| | |||
* [[{{{1}}}: M|M]]|M}} {{#ifexist:{{{1}}}: N| | |||
* [[{{{1}}}: N|N]]|N}} {{#ifexist:{{{1}}}: O| | |||
* [[{{{1}}}: O|O]]|O}} {{#ifexist:{{{1}}}: P| | |||
* [[{{{1}}}: P|P]]|P}} {{#ifexist:{{{1}}}: Q| | |||
* [[{{{1}}}: Q|Q]]|Q}} {{#ifexist:{{{1}}}: R| | |||
* [[{{{1}}}: R|R]]|R}} {{#ifexist:{{{1}}}: S| | |||
* [[{{{1}}}: S|S]]|S}} {{#ifexist:{{{1}}}: T| | |||
* [[{{{1}}}: T|T]]|T}} {{#ifexist:{{{1}}}: U| | |||
* [[{{{1}}}: U|U]]|U}} {{#ifexist:{{{1}}}: V| | |||
* [[{{{1}}}: V|V]]|V}} {{#ifexist:{{{1}}}: W| | |||
* [[{{{1}}}: W|W]]|W}} {{#ifexist:{{{1}}}: X| | |||
* [[{{{1}}}: X|X]]|X}} {{#ifexist:{{{1}}}: Y| | |||
* [[{{{1}}}: Y|Y]]|Y}} {{#ifexist:{{{1}}}: Z| | |||
* [[{{{1}}}: Z|Z]]|Z}} }}{{#if:{{{top|}}}| | |||
* [[#top|Top]]}} | |||
{{TOC bottom}}<noinclude>{{doc|content= | |||
==Usage== | |||
<pre style="overflow:auto"> | |||
{{A-Z multipage list|Main list article name}} | |||
</pre> | |||
By default, the subpages are assumed to be named <code>Main list article name: A</code> ... <code>Main list article name: Z</code>. To change this to a different format, use the <code>format</code> parameter. For example, if the subpages are named <code>Main list article name (A)</code> ... <code>Main list article name (Z)</code>, use | |||
<pre style="overflow:auto"> | |||
{{A-Z multipage list|format=()|Main list article name}} | |||
</pre> | |||
[[Category:Wikipedia table of contents templates|{{PAGENAME}}]] | |||
[[Category:List templates|{{PAGENAME}}]] | |||
}}</noinclude> |