Template:PageGroupNext: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 1: Line 1:
[[{{#arrayindex:{{{1}}}|
[[{{#arrayindex:{{{1}}}|
{{#expr: {{#arraysearch:{{{1}}}|{{PAGENAME}}|default}} + 1}}
{{#expr: {{#arraysearch:{{{1}}}|{{PAGENAME}}|default}} + 1}}
|some page|{{{2|>>>}}}]]<noinclude>
|{{{default}}}|{{{2|>>>}}}]]<noinclude>


  <nowiki>{{{PageGroupNext|oer4schap}}}</nowiki>
  <nowiki>{{{PageGroupNext|oer4schap}}}</nowiki>

Revision as of 13:07, 11 May 2012

[[{{#arrayindex:{{{1}}}| 1 |{{{default}}}|>>>]]

{{{PageGroupNext|oer4schap}}}
{{{PageGroupNext|oer4schap|Next}}}
{{{PageGroupNext|oer4schap|Next|default=OER4Schools}}}

where default is the default page to show if the page entry cannot be found.