Difference between revisions of "Template:Category contrast/doc"

From blackwiki
Jump to navigation Jump to search
imported>Anthony Appleyard
m (Anthony Appleyard moved page Template:Category contrasted/doc to Template:Category contrast/doc without leaving a redirect: Requested by Uanfala at WP:RM/TR: following the pattern of the related templates)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
Line 24: Line 24:
 
{{Category hatnote templates}}
 
{{Category hatnote templates}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
[[Category:Hatnote templates for category pages]]
 
[[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

{{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:

Redirects

See also