Template:Teachtag: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{Generictag|tag=teaching approach|value={{{1|sample category}}}|printvalue={{{2|}}}|pageprefix=Teaching Approaches|sup=ta}}</includeonly><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.
This template is for applying categories within teaching approaches. E.g.
  <nowiki>{{teachtag|sample category}}</nowiki>
  <nowiki>{{teachtag|sample approach}}</nowiki>
produces this
produces this
  {{teachtag|sample category}}
  {{teachtag|sample approach}}
and places the page in [[:Category:Sample category]] which is linked from the "(ta)".
and places the page in [[:Category:Sample approach]], and creates a link from the "(ta)", to "teaching approaches/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:
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>{{teachtag|sample category|some sample category}}</nowiki>
  <nowiki>{{teachtag|sample approach|some other way to refer to sample approach}}</nowiki>
produces this
produces this
  {{teachtag|sample category|some sample category}}
  {{teachtag|sample approach|some other way to refer to sample approach}}




</noinclude><noinclude>[[Category:Tagging]]</noinclude>
</noinclude><noinclude>[[Category:Tagging]]</noinclude>

Revision as of 15:44, 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 approaches/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)