Template:AutoResourceTable: Difference between revisions
From OER in Education
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 10: | Line 10: | ||
}} | }} | ||
<!-- | |||
*** Print topic list at the top *** | |||
--> | |||
{{topiclist| | {{topiclist| | ||
{{{1|}}} | {{{1|}}} | ||
Line 16: | Line 20: | ||
{{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | -2 }} |Resources|| [[Category:{{#titleparts: {{PAGENAME}} | 1 | -2 }}]]}} | {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | -2 }} |Resources|| [[Category:{{#titleparts: {{PAGENAME}} | 1 | -2 }}]]}} | ||
}} | }} | ||
<!-- | |||
*** Print resource table *** | |||
--> | |||
{{ResourceTable| | {{ResourceTable| | ||
{{{1|}}} | {{{1|}}} | ||
[[Category:{{#titleparts: {{PAGENAME}} | 1 | -1 }}]] | [[Category:{{#titleparts: {{PAGENAME}} | 1 | -1 }}]] | ||
{{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | -2 }} |Resources|| [[Category:{{#titleparts: {{PAGENAME}} | 1 | -2 }}]]}} | {{#ifeq: {{#titleparts: {{PAGENAME}} | 1 | -2 }} |Resources|| [[Category:{{#titleparts: {{PAGENAME}} | 1 | -2 }}]]}} | ||
[[Final::yes]] | |||
}} | }} | ||
<!-- | |||
Not: "ResourceTable essentially just does formatting - the firsdt argument is passed through to an #ask query. | |||
--> | |||
[[:Category:{{#titleparts: {{PAGENAME}} | 1 | -1 }}]] | [[:Category:{{#titleparts: {{PAGENAME}} | 1 | -1 }}]] | ||
[[:Category:{{#titleparts: {{PAGENAME}} | 1 | -2 }}]] | [[:Category:{{#titleparts: {{PAGENAME}} | 1 | -2 }}]] | ||
<noinclude>[[Category:ResourceAndToolTableTemplates]]</noinclude> |