Template:PageGroup: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 2: Line 2:
The page group template assigns two page properties: A "PageGroup" and a weight within that group, allowing the ordering of pages.  
The page group template assigns two page properties: A "PageGroup" and a weight within that group, allowing the ordering of pages.  


For use, see [[Template_talk:PageGroup]]
For instance, OER4S pages use  
<nowiki>{{PageGroup|OER4S|...}}</nowiki>
which creates the PageGroup OER4S, and an associated weight, so that
<nowiki>{{#</nowiki>ask: <nowiki>[[</nowiki>PageGroup::OER4S]]  <nowiki>[[</nowiki>PageGroup_OER4S_Version::Facilitator]]
|format=ol
|sort=PageGroupWeight_OER4S
|limit=50
}}
produces a list of pages:
{{#ask: [[PageGroup::OER4S]] [[PageGroup_OER4S_Version::Facilitator]]
|format=ol
|sort=PageGroupWeight_OER4S
|limit=50
}}
 
For discussion and tests, see [[Template_talk:PageGroup]]


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

Revision as of 13:40, 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