Difference between revisions of "Template:Article series contents"
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Create a table of contents with links to pages in an article series. | Create a table of contents with links to pages in an article series. | ||
− | Usage: <nowiki>{{</nowiki>article series contents|''format''=template|''template''=article series contents item}} | + | Usage: <nowiki>{{</nowiki>article series contents|''format''=template|''template''=article series contents item|''skip first page''=}} |
− | ''template'' can be explicitly set to nothing to avoid using the default (see [http://semantic-mediawiki.org/wiki/Help:Result_formats semantic mediawiki docs] for more information on formats and templates). Can currently only be used on pages in the article series, however this restriction may be lifted if need arises in the future. | + | ''template'' can be explicitly set to nothing to avoid using the default (see [http://semantic-mediawiki.org/wiki/Help:Result_formats semantic mediawiki docs] for more information on formats and templates). Set ''skip first page'' to not show the first page in the series (useful on the actual first page of the series). Can currently only be used on pages in the article series, however this restriction may be lifted if need arises in the future. |
</noinclude><includeonly>{{#ask: [[article series::{{get article series}}]] | </noinclude><includeonly>{{#ask: [[article series::{{get article series}}]] | ||
− | |? | + | |?intro |
− | |sort=article | + | |offset={{#if: {{{skip first page|}}}|1|0}} |
+ | |sort=article series page number | ||
|format={{{format|template}}} | |format={{{format|template}}} | ||
|headers=hide | |headers=hide | ||
|template={{{template|article series contents item}}} | |template={{{template|article series contents item}}} | ||
}}</includeonly> | }}</includeonly> |
Latest revision as of 14:22, 12 March 2012
Create a table of contents with links to pages in an article series.
Usage: {{article series contents|format=template|template=article series contents item|skip first page=}}
template can be explicitly set to nothing to avoid using the default (see semantic mediawiki docs for more information on formats and templates). Set skip first page to not show the first page in the series (useful on the actual first page of the series). Can currently only be used on pages in the article series, however this restriction may be lifted if need arises in the future.