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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(+cat Hatnote templates / -cat Hat notes)
imported>DePiep
m (+standard hatnote doc)
Line 1: Line 1:
{{documentation subpage}}
 
 
 
{{tlx|contrast}} is a [[Wikipedia:hatnote|hatnote]] for categories.
 
{{tlx|contrast}} is a [[Wikipedia:hatnote|hatnote]] for categories.
 
For reference, there is information about [[Wikipedia:Hatnote|hatnotes in general]], [[Wikipedia:Hatnote#Examples of proper use|when and how to use them]], a complete [[Wikipedia:Hatnote#Templates|list of the other hatnotes]] available, and [[Wikipedia:Otheruses templates (example usage)|examples of their use]].
 
  
 
== Usage ==
 
== Usage ==
Line 20: Line 16:
 
| '''Result'''
 
| '''Result'''
 
|-
 
|-
| valign="top" | <code><nowiki>{{contrast}}</nowiki></code>
+
| valign="top" | {{tlx|contrast|foo}}
| {{contrast}}
 
|-
 
| valign="top" | <code><nowiki>{{contrast|foo}}</nowiki></code>
 
 
| {{contrast|foo}}
 
| {{contrast|foo}}
 
|-
 
|-
| valign="top" | <code><nowiki>{{contrast|foo|bar}}</nowiki></code>
+
| valign="top" | {{tlx|contrast|foo|bar}}
 
| {{contrast|foo|bar}}
 
| {{contrast|foo|bar}}
 
|}
 
|}
Line 32: Line 25:
 
== See also ==
 
== See also ==
 
*[[Template:Contrast2]]
 
*[[Template:Contrast2]]
*[[Template:CatRel]] - for horizontal linkage of related categories
+
 
 +
{{hatnote templates doocumentation}}
 +
 
 
<includeonly>
 
<includeonly>
 
[[Category:Category namespace templates]]
 
[[Category:Category namespace templates]]

Revision as of 13:14, 18 January 2011

{{contrast}} is a hatnote for categories.

Usage

{{contrast
  |antonym category
  |2nd antonym category (if applicable)
}}

Example

Code Result
{{contrast|foo}}
{{contrast|foo|bar}}

See also

Template:Hatnote templates doocumentation