Difference between revisions of "Template:Article series contents"

From SNIC Documentation
Jump to: navigation, search
 
Line 9: Line 9:
 
|?intro
 
|?intro
 
|offset={{#if: {{{skip first page|}}}|1|0}}
 
|offset={{#if: {{{skip first page|}}}|1|0}}
|sort=article series order
+
|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.