Template:Tagexplanation: Difference between revisions

From OER in Education
(Created page with "This template is for applying categories within teaching approaches. E.g. <nowiki>{{{{{1|teachtag}}}|sample {{{2|approach}}}}}</nowiki> produces this {{{{{1|teachtag}}}|samp...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template is for applying categories within teaching approaches. E.g.
This template is for applying categories within teaching approaches. E.g.
  <nowiki>{{{{{1|teachtag}}}|sample {{{2|approach}}}}}</nowiki>
  <nowiki>{{</nowiki>{{{1|teachtag}}}|sample {{{2|approach}}}<nowiki>}}</nowiki>
produces this
produces this
  {{{{{1|teachtag}}}|sample {{{2|approach}}}}}
  {{{{{1|teachtag}}}|sample {{{2|approach}}}}}
Line 6: Line 6:


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>{{{{{1|teachtag}}}|sample {{{2|approach}}}|{{{5|some other way to refer to sample approach}}}}}</nowiki>
  <nowiki>{{</nowiki>{{{1|teachtag}}}|sample {{{2|approach}}}|{{{5|some other way to refer to sample approach}}}<nowiki>}}</nowiki>
produces this
produces this
  {{{{{1|teachtag}}}|sample {{{2|approach}}}|{{{5|some other way to refer to sample approach}}}}}
  {{{{{1|teachtag}}}|sample {{{2|approach}}}|{{{5|some other way to refer to sample approach}}}}}
<noinclude>[[Category:Tagging]]</noinclude>

Latest revision as of 15:54, 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)