Template:PageGroup: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 20: Line 20:


[[Category:PageGroupTemplate]]
[[Category:PageGroupTemplate]]
</noinclude><includeonly>[[PageGroup::{{{1}}}| ]][[PageGroupWeight_{{{1}}}::{{{2}}}| ]]</includeonly>
</noinclude><includeonly>[[PageGroup::{{{1}}}| ]][[PageGroupWeight_{{{1}}}::{{{2}}}| ]]{{PageGroupArray}}</includeonly>

Revision as of 13:43, 11 May 2012

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

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