Difference between revisions of "Template:Article series navigation"

From SNIC Documentation
Jump to: navigation, search
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 series 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 series order::<<{{get article series 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 series 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 series order::>>{{get article series order}}]]
+
}}{{#ask: [[article series::{{get article series}}]] [[article series order::>>{{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 series order  
+
|sort=article series page number  
 
|limit=1  
 
|limit=1  
 
|searchlabel=
 
|searchlabel=
 
|intro=&nbsp;&nbsp;&nbsp;&nbsp;
 
|intro=&nbsp;&nbsp;&nbsp;&nbsp;
 
}}</small></includeonly>
 
}}</small></includeonly>

Revision as of 14:24, 12 March 2012

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

Usage: {{article series navigation}}