Difference between revisions of "Template:Article series contents"

From SNIC Documentation
Jump to: navigation, search
(Created page with "<noinclude> Create a table of contents with links to pages in an article series. Usage: <nowiki>{{</nowiki>article series contents|''name''}} </noinclude><includeonly>{{#ask: ...")
 
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|''name''}}
+
Usage: <nowiki>{{</nowiki>article series contents|''format''=template|''template''=article series contents item}}
 +
 
 +
''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.
  
 
</noinclude><includeonly>{{#ask: [[article series::{{get article series}}]]  
 
</noinclude><includeonly>{{#ask: [[article series::{{get article series}}]]  
 
|?description  
 
|?description  
 
|sort=article order  
 
|sort=article order  
|format=ol
+
|format={{{format|template}}}
 
|headers=hide
 
|headers=hide
 +
|template={{{template|article series contents item}}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 15:07, 7 February 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}}

template can be explicitly set to nothing to avoid using the default (see 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.