Template:Teachtag: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{Generictag
<includeonly>{{Generictag|tag=teaching approach|value={{{1|sample category}}}|printvalue={{{2|}}}|pageprefix=Teaching Approaches|sup=ta}}</includeonly><noinclude>
|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.
This template is for applying categories within teaching approaches. E.g.
  <nowiki>{{teachtag|sample category}}</nowiki>
  <nowiki>{{teachtag|sample category}}</nowiki>

Revision as of 08:32, 1 October 2012

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

{{teachtag|sample category}}

produces this

sample category(ta)

and places the page in Category:Sample category which is linked from the "(ta)".

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 category|some sample category}}

produces this

some sample category(ta)