Difference between revisions of "Template:Article series navigation"

From SNIC Documentation
Jump to: navigation, search
 
(13 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;&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=template
 
|format=template
 
|template=article series navigation next
 
|template=article series navigation next
 
|link=none
 
|link=none
|sort=article order
+
|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}}