Template:Teachtag: Difference between revisions

From OER in Education
No edit summary
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#ifeq:{{{2|}}}||{{{1|sample topic}}}|{{{2}}}}}<sup>[[Teaching Approach/{{{1|Sample topic}}}|(ta)]]</sup>[[Category:{{{1|Sample topic}}}|{{{1|Sample topic}}}]]{{setprop|teaching approach|{{{1|sample topic}}}}}<noinclude>
<includeonly>{{Generictag|tag=teaching approach|value={{{1|sample category}}}|printvalue={{{2|}}}|pageprefix=Teaching Approaches|sup=ta}}</includeonly><noinclude>
This template is for applying categories within teaching approaches. E.g.
{{tagexplanation|teachtag|approach|ta|teaching approach|some other way to refer to sample approach}}
<nowiki>{{tag|sample category}}</nowiki>
</noinclude><noinclude>[[Category:Tagging]]</noinclude>
produces this
{{tag|sample category}}
and places the page in [[:Category:Sample category]] which is linked from the "(i)".
 
If you want to tag a word with a category, but cannot use the exact name of the category in the flow of the text, then you can supply a second argument:
<nowiki>{{tag|sample category|some sample category}}</nowiki>
produces this
{{tag|sample category|some sample category}}
 
 
</noinclude>

Latest revision as of 16:13, 31 January 2015

This template is for applying categories within teaching approaches. E.g.

{{teachtag|sample approach}}

produces this

sample approach(ta)

and places the page in Category:Sample approach, and creates a link from the "(ta)", to "teaching approach/sample approach".

If you want to tag a word with a category, but cannot use the exact name of the category in the flow of the text, then you can supply a second argument:

{{teachtag|sample approach|some other way to refer to sample approach}}

produces this

some other way to refer to sample approach(ta)