Template:PageGroup: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
(13 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
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. It also defines the corresponding array. | ||
For instance, OER4S pages | A typical use would be | ||
<nowiki>{{PageGroup|MyPageGroupName|...}}</nowiki> | |||
<nowiki>{{PageGroupPrev|MyPageGroupName}}</nowiki> | |||
<nowiki>{{PageGroupNext|MyPageGroupName}}</nowiki> | |||
<nowiki>{{PageGroupShow|MyPageGroupName}}</nowiki> | |||
However, the page groups are just semantic properties, and can be accesses as such. For instance, OER4S pages use | |||
<nowiki>{{PageGroup|OER4S|...}}</nowiki> | <nowiki>{{PageGroup|OER4S|...}}</nowiki> | ||
so that | which creates the PageGroup OER4S, and an associated weight, so that | ||
<nowiki>{{#</nowiki>ask: <nowiki>[[</nowiki>PageGroup::OER4S]] | <nowiki>{{#</nowiki>ask: <nowiki>[[</nowiki>PageGroup::OER4S]] <nowiki>[[</nowiki>PageGroup_OER4S_Version::Facilitator]] | ||
|format=ol | |format=ol | ||
|sort=PageGroupWeight_OER4S | |sort=PageGroupWeight_OER4S | ||
Line 11: | Line 17: | ||
}} | }} | ||
produces a list of pages: | produces a list of pages: | ||
{{#ask: [[PageGroup::OER4S]] | {{#ask: [[PageGroup::OER4S]] [[PageGroup_OER4S_Version::Facilitator]] | ||
|format=ol | |format=ol | ||
|sort=PageGroupWeight_OER4S | |sort=PageGroupWeight_OER4S | ||
Line 17: | Line 23: | ||
}} | }} | ||
For discussion and tests, see [[Template_talk:PageGroup]] | |||
</noinclude><includeonly>[[PageGroup::{{{1}}}| ]][[PageGroupWeight_{{{1}}}::{{{2}}}| ]]</includeonly> | [[Category:PageGroupTemplate]] | ||
</noinclude><includeonly>[[PageGroup::{{{1}}}| ]][[PageGroupWeight_{{{1}}}::{{{2|{{PAGENAME}}}}}| ]]{{PageGroupArray|{{{1}}}| [[PageGroup::{{{1}}}]]| PageGroupWeight_{{{1}}} }}</includeonly> |
Latest revision as of 18:56, 12 November 2013
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:
- The OER4Schools Professional Learning Resource
- Session 2.3 - More on questioning
- Introduction to OER4Schools
For discussion and tests, see Template_talk:PageGroup