Anonymous

EWTE/nav: Difference between revisions

From OER in Education
no edit summary
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{BasePageGroup}}
{{BasePageGroupNav}}


This is an example for how the [[Template:BasePageGroup]] is used to create navigation. See [[Template:BasePageGroup]] for further information.
This is an example for how the [[Template:BasePageGroup]] is used to create navigation. See [[Template:BasePageGroup]] for further information. Simply include <nowiki>{{BasePageGroupNav}}</nowiki> on a page and sub-pages, and navigation is created automatically. The BASEPAGENAME (here {{BASEPAGENAME}}) normally acts as a 'front page' or 'introduction page' (though this is not the case here).


Navigation: {{BasePageGroupPrev}}{{BasePageGroupNext}}
"Previous" and "next" navigation links are created with <nowiki>{{BasePageGroupPrev}}{{BasePageGroupNext}}</nowiki>: {{BasePageGroupPrev}}{{BasePageGroupNext}}


{{: EWTE/nav/plusminus}}
{{: EWTE/nav/plusminus}}


= Pages =
= Pages =
Pages can be listed with <nowiki>{{BasePageGroupShow}}</nowiki>:
{{BasePageGroupShow}}
{{BasePageGroupShow}}
Alternative formatting is possible, e.g. <nowiki>{{BasePageGroupShow|format=list}}</nowiki> (see [https://semantic-mediawiki.org/wiki/Help:Result_formats]):
{{BasePageGroupShow|format=list}}