Template:Dambigbox/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
(New page: <!-- Do not remove this line. Replace the instructions below with the correct documentation. --> A template for displaying a '''d'''is'''ambig'''uation '''box''' with text. === Usage ===...)
 
imported>Derek Hodges
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!-- Do not remove this line. Replace the instructions below with the correct documentation. -->
{{tl|Dambigbox}} is a template for displaying a '''d'''is'''ambig'''uation '''box''' on articles with related [[CZ:Disambiguation|disambiguation]] pages.
A template for displaying a '''d'''is'''ambig'''uation '''box''' with text.


Please read about [[CZ:Disambiguation|Disambiguation]] and [[CZ:Naming_Conventions|Naming_Conventions]] before creating disambiguation pages.


=== Usage ===
=== Usage ===
:<code><nowiki>{{dambigbox|text=<text (as desired)>}}</nowiki></code><br>
There are various ways to use {{tl|dambigbox}}.<br />
or<br>
In all instances, the code should be placed directly below the {{tl|subpages}} template.
:<code><nowiki>{{dambigbox|<description of article contents>}}</nowiki></code> - the disambiguation page's name is automatically generated from the name of this page
or<br>
:<code><nowiki>{{dambigbox|<description of article contents>|<disambiguation page base name>}}</nowiki></code>
or<br>
:<code><nowiki>{{dambigbox||<disambiguation page base name>}}</nowiki></code> - uses full article name as description of article contents (note blank first argument)


;Standard notice
:<code><nowiki>{{dambigbox}}</nowiki></code>
:{{dambigbox}}


=== Examples ===
;Notice with article description
See [[Ku Klux Klan]], [[Leech]] and [[Johannes Gutenberg]].
:<code><nowiki>{{dambigbox|description of article contents}}</nowiki></code>
:{{dambigbox|description of article contents}}
 
;Notice with custom word
:<code><nowiki>{{dambigbox|description of article contents|word}}</nowiki></code>
:{{dambigbox|description of article contents|word}}
:or
:<code><nowiki>{{dambigbox||word}}</nowiki></code>
:{{dambigbox||word}}
 
;Notice with custom word and link
:<code><nowiki>{{dambigbox|description of article contents|word|link}}</nowiki></code>
:{{dambigbox|description of article contents|word|link}}
 
;Custom notice
:<code><nowiki>{{dambigbox|text=Completely customised [[disambiguation]] text.}}</nowiki></code>
:{{dambigbox|text=Completely customised [[disambiguation]] text.}}

Latest revision as of 08:01, 30 June 2010

{{Dambigbox}} is a template for displaying a disambiguation box on articles with related disambiguation pages.

Please read about Disambiguation and Naming_Conventions before creating disambiguation pages.

Usage

There are various ways to use {{dambigbox}}.
In all instances, the code should be placed directly below the {{subpages}} template.

Standard notice
{{dambigbox}}
This article is about Dambigbox/doc. For other uses of the term Dambigbox/doc, please see Dambigbox/doc (disambiguation).
Notice with article description
{{dambigbox|description of article contents}}
This article is about description of article contents. For other uses of the term Dambigbox/doc, please see Dambigbox/doc (disambiguation).
Notice with custom word
{{dambigbox|description of article contents|word}}
This article is about description of article contents. For other uses of the term word, please see word (disambiguation).
or
{{dambigbox||word}}
This article is about Dambigbox/doc. For other uses of the term word, please see word (disambiguation).
Notice with custom word and link
{{dambigbox|description of article contents|word|link}}
This article is about description of article contents. For other uses of the term word, please see link.
Custom notice
{{dambigbox|text=Completely customised [[disambiguation]] text.}}
Completely customised disambiguation text.