Difference between revisions of "Template:Category contrast/doc"
Jump to navigation
Jump to search
imported>DixonDBot m (Migrating 5 interwiki links, now provided by Wikidata on d:Q6401533) |
imported>Sardanaphalus (update (copula) and formatting) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{tlxpl|contrast}} is a [[Wikipedia:Hatnotes|hatnote]] for categories. |
== Usage == | == Usage == | ||
| − | + | : {{tlx|contrast |''antonym category'' (|''second antonym category'')}} | |
| − | |||
| − | {{contrast | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | + | {{tcpl|contrast|X}} produces: {{contrast|X}} | |
| − | + | i.e. the category contrasted is taken to be {{95%|{{[[WP:VAR|PAGENAME]]}}}} (the name of the page on which {{tnf|contrast}} is [[Wikipedia:Transclusion|transcluded]]). | |
| − | { | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | {{ | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | {{ | + | {{tcpl|contrast|X|Y}} produces: {{contrast|X|Y}} |
| + | |||
| + | To change the [[Copula (linguistics)|copula]] from "is" to "are", include {{para|copula|are}} or {{para|plural|true}} (or "on", "yes", etc).<br/>For example, {{tcpl|contrast|copula{{=}}are|Y|Z}} produces: {{contrast|copula=are|Y|Z}} | ||
| + | |||
| + | __TOC__ | ||
| + | |||
| + | {{Hatnote templates documentation}} | ||
<includeonly> | <includeonly> | ||
| + | [[Category:Hatnote templates for category pages]] | ||
[[Category:Category namespace templates]] | [[Category:Category namespace templates]] | ||
| − | [[Category:Disambiguation and redirection templates | + | [[Category:Disambiguation and redirection templates]] |
| − | |||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 21:15, 26 September 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 Template:95% (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