Difference between revisions of "Template:Pager/next"

From Erfwiki
Jump to navigation Jump to search
m (Undo revision 48350 by 213.215.46.62 (Talk))
 
Line 1: Line 1:
<includeonly>{{#ifeq: {{{{Blrep|{{{1}}}|TBFGK}}_page_info|pagenumber={{{2}}}|paramname=next}}|END||'''Next''' [[{{Blrep|{{{1}}}|TBFGK}} {{{{Blrep|{{{1}}}|TBFGK}}_page_info|pagenumber={{{2}}}|paramname=next}}]]}}</includeonly><noinclude>{{ {{PAGENAME}}/doc }}</noinclude>
+
<includeonly>{{#ifeq: {{{{{1|TBFGK}}}_page_info|pagenumber={{{2}}}|paramname=next}}|END||'''Next''' [[{{Blrep|{{{1}}}|TBFGK}} {{{{Blrep|{{{1}}}|TBFGK}}_page_info|pagenumber={{{2}}}|paramname=next}}]]}}</includeonly><noinclude>{{ {{PAGENAME}}/doc }}</noinclude>

Latest revision as of 10:37, 19 January 2019

Documentation is at Template:Pager/next/doc. edit

Usage

{{Pager/next
 |article name that goes before the page number (TBFGK, Klog, etc)
 |page number
}}

Example

{{Pager/next|TBFGK|3}}

Next TBFGK 4

The last page (Epilogue 21 for book 1, 74 for book 2) doesn't display a next option, triggered by having the next page be "END" in the books' *_pager_info lookup table.

{{Pager/next|TBFGK|Epilogue 21}}