Template:A-Z multipage list: Difference between revisions
Template page
More actions
Created page with "<templatestyles src="A-Z multipage list/styles.css"/>{{TOC top|title={{{title|[[{{#if:1|{{{1}}}}}]]}}}|align={{{align|}}}|primary={{{primary|}}}}} {{#switch:{{{format}}}|()=<div style="text-align: center;"> {{A-Z multipage list/item|1={{#if:{{{t1|}}}|{{#ifexist:{{#if:1|{{{1}}}}} ({{{t1}}})| [[{{#if:1|{{{1}}}}} ({{{t1}}})|{{{t1}}}]]}} }} }}{{A-Z multipage list/item|1={{#if:{{{t2|}}}|{{#ifexist:{{#if:1|{{{1}}}}} ({{{t2}}})| [[{{#if:1|{{{1}}}}} ({{{t2}}})|{{{t2}}}]]}} }} }}..." |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="A-Z multipage list/styles.css"/>{{TOC top|title={{{title|[[{{#if:1|{{{1}}}}}]]}}}|align={{{align|}}}|primary={{{primary|}}}}} | <templatestyles src="Template:A-Z multipage list/styles.css"/>{{TOC top|title={{{title|[[{{#if:1|{{{1}}}}}]]}}}|align={{{align|}}}|primary={{{primary|}}}}} | ||
{{#switch:{{{format}}}|()=<div style="text-align: center;"> | {{#switch:{{{format}}}|()=<div style="text-align: center;"> | ||
{{A-Z multipage list/item|1={{#if:{{{t1|}}}|{{#ifexist:{{#if:1|{{{1}}}}} ({{{t1}}})| [[{{#if:1|{{{1}}}}} ({{{t1}}})|{{{t1}}}]]}} }} | {{A-Z multipage list/item|1={{#if:{{{t1|}}}|{{#ifexist:{{#if:1|{{{1}}}}} ({{{t1}}})| [[{{#if:1|{{{1}}}}} ({{{t1}}})|{{{t1}}}]]}} }} |
Latest revision as of 17:21, 15 March 2025
This template uses TemplateStyles: |
Usage
{{A-Z multipage list|Main list article name}}
By default, the subpages are assumed to be named Main list article name: A
... Main list article name: Z
. To change this to a different format, use the format
parameter. For example, if the subpages are named Main list article name (A)
... Main list article name (Z)
, use
{{A-Z multipage list|format=()|Main list article name}}
Adding additional subpages
To add additional subpages to the top of the list, use |t1=
and |t2=
.
To add additional subpages to the bottom of the list, use |b1=
and |b2=
.
Adding addition links
To add more links at the bottom of the list, use |footer=
.
Alignment
Use |align=
to change the default alignment.
Title
Use |title=
to override the default title .