Template:Dambigbox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
m (make box same width as others)
imported>Caesar Schinas
(TlDoc)
Line 1: Line 1:
<div style="border:1px #bbb solid; background-color:#eee; padding:0.5em; margin:0.5em 0">''{{{text|This article is about {{{1|{{PAGENAME}}}}}. For other uses of "{{{2|{{PAGENAME}}}}}", please see [[{{{2|{{PAGENAME}}}}} (disambiguation)]].}}}''</div><noinclude>
<div style="border:1px #bbb solid; background-color:#eee; padding:0.5em; margin:0.5em 0">''{{{text|This article is about {{{1|{{PAGENAME}}}}}. For other uses of "{{{2|{{PAGENAME}}}}}", please see [[{{{2|{{PAGENAME}}}}} (disambiguation)]].}}}''</div><noinclude>{{TlDoc}}</noinclude>
{{newtemplate
|description=A template for displaying a '''d'''is'''ambig'''uation '''box''' with text
|execution=:<code><nowiki>{{dambigbox|text=<text (as desired)>}}</nowiki></code><br>
or<br>
:<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)
|sample=see [[Ku Klux Klan]], [[Leech]] and [[Johannes Gutenberg]]
|authors=[[User:Robert_W_King|Robert King]], [[User:J. Noel Chiappa|J. Noel Chiappa]]
|caveats=none
}}
</noinclude>

Revision as of 10:05, 8 May 2009

This article is about Dambigbox. For other uses of "Dambigbox", please see Dambigbox (disambiguation).
This documentation is transcluded from Template:Dambigbox/doc (edit | history)

{{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. For other uses of "Dambigbox", please see Dambigbox (disambiguation).
Notice with article description
{{dambigbox|description of article contents}}
This article is about description of article contents. For other uses of "Dambigbox", please see Dambigbox (disambiguation).
Notice with custom word
{{dambigbox|description of article contents|word}}
This article is about description of article contents. For other uses of "word", please see word (disambiguation).
or
{{dambigbox||word}}
This article is about . For other uses of "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 "word", please see word (disambiguation).
Custom notice
{{dambigbox|text=Completely customised [[disambiguation]] text.}}
Completely customised disambiguation text.