Difference between revisions of "Template:Category contrast"

From blackwiki
Jump to navigation Jump to search
imported>PanchoS
(add |subject parameter)
imported>Fgnievinski
Line 1: Line 1:
{{Hatnote |extraclasses=boilerplate |{{{subject|{{PAGENAME}}}}} {{{copula|{{#if:{{{plural|}}}|are|is}}}}} often contrasted with [[:Category:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|&nbsp;or [[:Category:{{{2}}}|{{{2}}}]]}}.}}<noinclude>{{Documentation}}</noinclude>
+
{{Hatnote |extraclasses=boilerplate |This [[Help:Categories|category]] {{{copula|{{#if:{{{plural|}}}|are|is}}}}} often contrasted with [[:Category:{{{1}}}|{{{1}}}]]{{#if:{{{2|}}}|&nbsp;or [[:Category:{{{2}}}|{{{2}}}]]}}.}}<noinclude>{{Documentation}}</noinclude>

Revision as of 17:01, 25 January 2020

Template documentation[view] [edit] [history] [purge]

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