Difference between revisions of "Template:Article series navigation"

From SNIC Documentation
Jump to: navigation, search
 
(16 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
</noinclude><includeonly><small>Article series: [[{{#ask: [[article series::{{get article series}}]]  
 
</noinclude><includeonly><small>Article series: [[{{#ask: [[article series::{{get article series}}]]  
|sort=article order
+
|sort=article series page number
 
|limit=1  
 
|limit=1  
 
|searchlabel=
 
|searchlabel=
 
|link=none
 
|link=none
}}|{{get article series}}]]{{#ask: [[article series::{{get article series}}]] [[article order::<<{{get article order}}]]
+
}}|{{get article series}}]]{{#ask: [[article series::{{get article series}}]] [[article series page number::<<{{get article series page number}}]]
 
|format=template
 
|format=template
 
|template=article series navigation previous
 
|template=article series navigation previous
 
|link=none
 
|link=none
|sort=article order
+
|sort=article series page number 
 
|order=desc
 
|order=desc
 
|limit=1  
 
|limit=1  
 
|searchlabel=
 
|searchlabel=
|intro=,&nbsp;
+
|intro=&nbsp;&nbsp;
}}{{#ask: [[article series::{{get article series}}]] [[article order::>>{{get article order}}]]
+
}}{{#ask: [[article series::{{get article series}}]] [[article series page number::>>{{get article series page number}}]]
|format=list
+
|format=template
|sort=article order
+
|template=article series navigation next
 +
|link=none
 +
|sort=article series page number 
 
|limit=1  
 
|limit=1  
 
|searchlabel=
 
|searchlabel=
|intro=,&nbsp;Next page:&nbsp;
+
|intro=&nbsp;&nbsp;&nbsp;&nbsp;
 
}}</small></includeonly>
 
}}</small></includeonly>

Latest revision as of 14:35, 12 March 2012

Create home/previous/next links for articles within a series.

Usage: {{article series navigation}}