Difference between revisions of "Template:Part of article series"

From SNIC Documentation
Jump to: navigation, search
Line 3: Line 3:
  
 
Usage: <nowiki>{{</nowiki>article series|''name''|''description''|''order''}}
 
Usage: <nowiki>{{</nowiki>article series|''name''|''description''|''order''}}
 +
 +
''name'' is the name of the article series, and ''order'' is a number that shows the intended reading order (ascending). ''description'' is only set if given, and is a shortest possible style description of what the page is about, and is for example displayed in <nowiki>{{</nowiki>article series contents}} and <nowiki>{{</nowiki>article series navigation}}. This template produces no visible output itself, but you can use other templates like <nowiki>{{</nowiki>article series contents}} and <nowiki>{{</nowiki>article series navigation}} to do this as necessary.
  
 
Example:
 
Example:
Line 10: Line 12:
 
  |order=50}}
 
  |order=50}}
  
Tags the page with the given category and hidden [[Property:article order]] and [[Property:Description]] (only if given). ''description'' is a shortest possible description of what the page is about, and ''order'' can later be used to sort the pages in the article series using a semantic search, such as:
+
</noinclude><includeonly>{{#set:article series={{{name}}}|article order={{{order}}}}} {{#if: {{{description|}}}|{{#set:description={{{description}}}}}}}</includeonly>
 
 
<nowiki>{{#ask: [[</nowiki>Category:''name'']] |?description |sort=article order |format=ol |headers=hide}}
 
 
 
</noinclude><includeonly>{{set category|article series|{{{name}}}|quiet=true}}{{#set:article order={{{order}}}}} {{#if: {{{description|}}}|{{#set:description={{{description}}}}}}}</includeonly>
 

Revision as of 13:57, 7 February 2012

Tag a page as part of an article series with an intended read order.

Usage: {{article series|name|description|order}}

name is the name of the article series, and order is a number that shows the intended reading order (ascending). description is only set if given, and is a shortest possible style description of what the page is about, and is for example displayed in {{article series contents}} and {{article series navigation}}. This template produces no visible output itself, but you can use other templates like {{article series contents}} and {{article series navigation}} to do this as necessary.

Example:

{{article series
|name=My article series
|description=Practical implications of using advanced technologies.
|order=50}}