Difference between revisions of "Template:Category contrast/doc"
Jump to navigation
Jump to search
imported>Vadmium (→Usage: If you have to use a <code> font, at least use it consistently) |
imported>SporkBot m (Replace template per TFD outcome; no change in content) |
||
| Line 5: | Line 5: | ||
{{tcpl|contrast|X}} produces: {{contrast|X}} | {{tcpl|contrast|X}} produces: {{contrast|X}} | ||
| − | i.e. the category contrasted is taken to be | + | i.e. the category contrasted is taken to be {{[[WP:VAR|PAGENAME]]}} (the name of the page on which {{tnf|contrast}} is [[Wikipedia:Transclusion|transcluded]]). |
{{tcpl|contrast|X|Y}} produces: {{contrast|X|Y}} | {{tcpl|contrast|X|Y}} produces: {{contrast|X|Y}} | ||
Revision as of 04:57, 26 November 2014
Template:Tlxpl is a hatnote for categories.
Usage
{{contrast |antonym category (|second antonym category)}}
Template:Tcpl produces:
i.e. the category contrasted is taken to be {{PAGENAME}} (the name of the page on which Template:Tnf is transcluded).
Template:Tcpl produces:
To change the copula from "is" to "are", include |copula=are or |plural=true (or "on", "yes", etc).
For example, Template:Tcpl produces:
Contents