Template:BasePageGroup: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>[[PageGroup::{{BASEPAGENAME}}| ]][[PageGroupWeight_{{BASEPAGENAME}}::{{{1|{{PAGENAME}}}}}| ]]</includeonly><noinclude> | <includeonly>[[PageGroup::{{BASEPAGENAME}}| ]][[PageGroupWeight_{{BASEPAGENAME}}::{{{1|{{PAGENAME}}}}}| ]]{{BasePageGroupArray}}</includeonly><noinclude> | ||
This template creates a "page group" with the name of the base page, optionally assigning a weight: | This template creates a "page group" with the name of the base page, optionally assigning a weight: | ||
<nowiki>{{BasePageGroup}}</nowiki> | <nowiki>{{BasePageGroup}}</nowiki> | ||
<nowiki>{{BasePageGroup|weight}}</nowiki> | <nowiki>{{BasePageGroup|weight}}</nowiki> | ||
It also defines the "page group array", needed for menus / prev / next. | |||
[[Category:PageGroupTemplate]] | [[Category:PageGroupTemplate]] | ||
</noinclude> | </noinclude> | ||
Revision as of 12:25, 11 May 2012
This template creates a "page group" with the name of the base page, optionally assigning a weight:
{{BasePageGroup}}
{{BasePageGroup|weight}}
It also defines the "page group array", needed for menus / prev / next.
