Template:Dambigbox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Derek Harkness
(Convert table to div. Simplify CSS code. Center box using margin:auto. Use em for font and margin sizes rather than px (accessability issue))
imported>Caesar Schinas
mNo edit summary
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div id ="" style="width:90%; border:1px #BBB solid; background-color:#eee; padding:0.5em; margin:0.5em auto; font-size:0.8em;">''{{{text}}}''</div>
<includeonly><div style="border:1px #bbb solid; background-color:#eee; padding:0.5em; margin:0.5em 0">''{{{text|This article is about '''{{#if:{{{1|}}}|{{{1}}}|{{PAGENAME}}}}'''. For other uses of the term '''{{{2|{{PAGENAME}}}}}''', please see [[{{{3|{{{2|{{PAGENAME}}}}} (disambiguation)}}}]].}}}''</div></includeonly><noinclude>{{TlDoc}}</noinclude>
<noinclude>
{{newtemplate
|description=A template for displaying a '''d'''is'''ambig'''uation '''box''' with text
|execution=<code><nowiki>
{{dambigbox
|text= (text goes here)
}}
</nowiki></code>
|sample=see [[Half-life]]
|authors=*[[User:Robert_W_King|Robert King]]
|caveats=none
}}
</noinclude>

Latest revision as of 02:14, 16 May 2009

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 the term 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 the term 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 the term word, please see word (disambiguation).
or
{{dambigbox||word}}
This article is about Dambigbox. 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.