Template:Teachtag: Difference between revisions

From OER in Education
No edit summary
No edit summary
Line 4: Line 4:
produces this
produces this
  {{tag|sample category}}
  {{tag|sample category}}
and places the page in [[:Category:Sample category]] which is linked from the "(i)".
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:
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:

Revision as of 11:02, 28 September 2012

sample topic(ta) This template is for applying categories within teaching approaches. E.g.

{{tag|sample category}}

produces this

sample category(i)

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:

{{tag|sample category|some sample category}}

produces this

some sample category(i)