Template:PageGroup

From OER in Education
Revision as of 18:52, 12 November 2013 by Bjoern (talk | contribs)

The page group template assigns two page properties: A "PageGroup" and a weight within that group, allowing the ordering of pages. It also defines the corresponding array.

A typical use would be

 {{PageGroup|MyPageGroupName|...}}
 {{PageGroupPrev|MyPageGroupName}}
 {{PageGroupNext|MyPageGroupName}}
 {{PageGroupShow|MyPageGroupName}}

However, the page groups are just semantic properties, and can be accesses as such. For instance, OER4S pages use

{{PageGroup|OER4S|...}}

which creates the PageGroup OER4S, and an associated weight, so that

{{#ask: [[PageGroup::OER4S]]  [[PageGroup_OER4S_Version::Facilitator]]
|format=ol
|sort=PageGroupWeight_OER4S
|limit=50
}}

produces a list of pages:

  1. The OER4Schools Professional Learning Resource
  2. Session 2.3 - More on questioning
  3. Introduction to OER4Schools

For discussion and tests, see Template_talk:PageGroup