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>Caesar Schinas
(Better documentation)
Line 1: Line 1:
<!-- Do not remove this line. Replace the instructions below with the correct documentation. -->
<!-- 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.
{{tl|Dambigbox}} is a template for displaying a '''d'''is'''ambig'''uation '''box''' with text.


=== Usage ===
There are various ways to use {{tl|dambigbox}}.<br />
In all instances, the code should be palced directly below the {{tl|subpages}} template.


=== Usage ===
;Standard notice
:<code><nowiki>{{dambigbox|text=<text (as desired)>}}</nowiki></code><br>
:<code><nowiki>{{dambigbox}}</nowiki></code>  
or<br>
:{{dambigbox}}
:<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>
;Notice with article description
:<code><nowiki>{{dambigbox|<description of article contents>|<disambiguation page base name>}}</nowiki></code>
:<code><nowiki>{{dambigbox|description of article contents}}</nowiki></code>
or<br>
:{{dambigbox|description of article contents}}
:<code><nowiki>{{dambigbox||<disambiguation page base name>}}</nowiki></code> - uses full article name as description of article contents (note blank first argument)


;Notice with custom link
:<code><nowiki>{{dambigbox|description of article contents|name}}</nowiki></code>
:{{dambigbox|description of article contents|name}}
:or
:<code><nowiki>{{dambigbox||name}}</nowiki></code>
:{{dambigbox||name}}


=== Examples ===
;Custom notice
See [[Ku Klux Klan]], [[Leech]] and [[Johannes Gutenberg]].
:<code><nowiki>{{dambigbox|text=custom [[disambiguation]] text}}</nowiki></code>
:{{dambigbox|text=custom [[disambiguation]] text}}

Revision as of 04:36, 14 May 2009

{{Dambigbox}} is a template for displaying a disambiguation box with text.

Usage

There are various ways to use {{dambigbox}}.
In all instances, the code should be palced 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 link
{{dambigbox|description of article contents|name}}
This article is about description of article contents. For other uses of the term name, please see name (disambiguation).
or
{{dambigbox||name}}
This article is about Dambigbox/doc. For other uses of the term name, please see name (disambiguation).
Custom notice
{{dambigbox|text=custom [[disambiguation]] text}}
custom disambiguation text