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...")
 
 
(17 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
Tag a page as part of an article series with an intended read order.  
 
Tag a page as part of an article series with an intended read order.  
  
Usage: <nowiki>{{</nowiki>article series|''name''|''description''|''order''}}
+
Usage: <nowiki>{{</nowiki>part of article series | ''series'' | ''intro'' | ''page number'' | ''quiet'' }}
 +
 
 +
''series'' is the name of the article series (mind the capitalization!) and ''page number'' indicates the intended read order (ascending). Protip: set this sparsely to make it easier to add or reorder pages later. ''intro'' is a brief description of what the page is about, at most a couple of sentences but preferably less, and is for example displayed in [[Template:Article series contents]]. If ''quiet'' is not set, this template will create home/previous/next links using [[Template:Article series navigation]].
  
 
Example:
 
Example:
  <nowiki>{{</nowiki>article series
+
  <nowiki>{{</nowiki>part of article series
  |name=My article series
+
  |series=My article series
  |description=Practical implications of using advanced technologies.
+
  |intro=Practical implications of using advanced technologies.
  |order=50}}
+
  |page number=500}}
 
 
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 }}
 
  
</noinclude><includeonly>{{set category|article series|{{{name}}}|quiet=true}}{{#set:article order={{{order}}}}} {{#if: {{{description|}}}|{{#set:description={{{description}}}}}}}</includeonly>
+
</noinclude><includeonly>{{#set:article series={{{series}}}|article series page number={{{page number}}}|intro={{{intro|}}}}}{{#if: {{{quiet|}}}||{{article series navigation}}}}</includeonly>

Latest revision as of 13:57, 12 March 2012

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

Usage: {{part of article series | series | intro | page number | quiet }}

series is the name of the article series (mind the capitalization!) and page number indicates the intended read order (ascending). Protip: set this sparsely to make it easier to add or reorder pages later. intro is a brief description of what the page is about, at most a couple of sentences but preferably less, and is for example displayed in Template:Article series contents. If quiet is not set, this template will create home/previous/next links using Template:Article series navigation.

Example:

{{part of article series
|series=My article series
|intro=Practical implications of using advanced technologies.
|page number=500}}