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

From SNIC Documentation
Jump to: navigation, search
(Created page with "<noinclude> Tag a page as part of an article series with an intended read order. Usage: <nowiki>{{</nowiki>article series|''name''|''description''|''order''}} Example: <nowik...")
 
Line 12: Line 12:
 
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:
 
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:
  
<nowiki>{{#ask: [[</nowiki>Category:''name'']] |?description |sort=article order |format=ol }}
+
<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>
 
</noinclude><includeonly>{{set category|article series|{{{name}}}|quiet=true}}{{#set:article order={{{order}}}}} {{#if: {{{description|}}}|{{#set:description={{{description}}}}}}}</includeonly>

Revision as of 13:08, 7 February 2012

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

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

Example:

{{article series
|name=My article series
|description=Practical implications of using advanced technologies.
|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:

{{#ask: [[Category:name]] |?description |sort=article order |format=ol |headers=hide}}