Template:Tag: Difference between revisions

From OER in Education
No edit summary
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[:Category:{{{1|Sample Category}}}|Sample Category]]
{{#ifeq:{{{2|}}}||{{{1|sample category}}}|{{{2}}}}}<sup>[[:Category:{{{1|Sample Category}}}|(i)]]</sup>[[Category:{{{1|Sample Category}}}|{{{1|Sample Category}}}]][[Category:TaggedWithTag]]<noinclude>
This template is for applying categories within teaching approaches. E.g.
<nowiki>{{tag|sample category}}</nowiki>
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}}
 
[[Category:Tagging]]
</noinclude>

Latest revision as of 09:07, 1 October 2012

sample category(i) 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 "(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:

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

produces this

some sample category(i)