Difference between revisions of "Template:Article series navigation"

From SNIC Documentation
Jump to: navigation, search
 
(28 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Usage: <nowiki>{{</nowiki>article series navigation}}
 
Usage: <nowiki>{{</nowiki>article series navigation}}
  
</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}}]]<br/>
+
}}|{{get article series}}]]{{#ask: [[article series::{{get article series}}]] [[article series page number::<<{{get article series page number}}]]
{{#ask: [[article series::{{get article series}}]] [[article order::<<{{get article order}}]]
+
|format=template
|?description
+
|template=article series navigation previous
|format=list
+
|link=none
|headers=hide
+
|sort=article series page number 
|sort=article order
 
 
|order=desc
 
|order=desc
 
|limit=1  
 
|limit=1  
 
|searchlabel=
 
|searchlabel=
|intro=Previous page:&nbsp;
+
|intro=&nbsp;&nbsp;
|outro=<br/>
+
}}{{#ask: [[article series::{{get article series}}]] [[article series page number::>>{{get article series page number}}]]
}}{{#ask: [[article series::{{get article series}}]] [[article order::>>{{get article order}}]]
+
|format=template
|?description
+
|template=article series navigation next
|format=list
+
|link=none
|headers=hide
+
|sort=article series page number 
|sort=article order
 
 
|limit=1  
 
|limit=1  
 
|searchlabel=
 
|searchlabel=
|intro=Next page:&nbsp;
+
|intro=&nbsp;&nbsp;&nbsp;&nbsp;
|outro=<br/>
 
 
}}</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}}