Difference between revisions of "Template:Category contrast/doc"
Jump to navigation
Jump to search
imported>Dalba m (fa:الگو:تقابل) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (13 intermediate revisions by 10 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{documentation subpage}} |
| + | {{tlp|contrast}} is a [[Wikipedia:Hatnotes|hatnote]] for categories. | ||
== Usage == | == Usage == | ||
| − | + | : {{tlx|contrast |''antonym category'' (|''second antonym category'')}} | |
| − | |||
| − | {{contrast | ||
| − | |||
| − | |||
| − | |||
| − | }} | ||
| − | |||
| − | + | {{tlf|contrast|X}} produces: {{contrast|X}} | |
| − | + | i.e. the category contrasted is taken to be {{[[WP:VAR|PAGENAME]]}} (the name of the page on which {{tlf|contrast}} is [[Wikipedia:Transclusion|transcluded]]). | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | {{ | + | {{tlf|contrast|X|Y}} produces: {{contrast|X|Y}} |
| − | <includeonly> | + | To change the [[Copula (linguistics)|copula]] from "is" to "are", include {{para|copula|are}} or {{para|plural|true}} (or "<code>on</code>", "<code>yes</code>", etc).<br/>For example, {{tlf|contrast|copula{{=}}are|Y|Z}} produces: {{contrast|copula=are|Y|Z}} |
| + | |||
| + | __TOC__ | ||
| + | |||
| + | == Redirects == | ||
| + | * {{tl|Cat contrast}} | ||
| + | * {{tl|Category contrast}} | ||
| + | * {{tl|Contrast category}} | ||
| + | |||
| + | == See also == | ||
| + | * {{tl|Cat distinguish}} | ||
| + | |||
| + | {{Category hatnote templates}} | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
| + | [[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> | ||
Latest revision as of 00:55, 24 April 2020
| This is a documentation subpage for Template:Category contrast. It contains usage information, categories and other content that is not part of the original template page. |
{{contrast}} is a hatnote for categories.
Usage
{{contrast |antonym category (|second antonym category)}}
{{contrast|X}} produces:
i.e. the category contrasted is taken to be {{PAGENAME}} (the name of the page on which {{contrast}} is transcluded).
{{contrast|X|Y}} produces:
To change the copula from "is" to "are", include |copula=are or |plural=true (or "on", "yes", etc).
For example, {{contrast|copula=are|Y|Z}} produces:
Contents
Redirects
- {{Cat contrast}}
- {{Category contrast}}
- {{Contrast category}}
See also
- {{Cat distinguish}}