Template:Dambigbox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Chris Day
No edit summary
imported>J. Noel Chiappa
(Update documentation, use examples which actually call this)
Line 3: Line 3:
{{newtemplate
{{newtemplate
|description=A template for displaying a '''d'''is'''ambig'''uation '''box''' with text
|description=A template for displaying a '''d'''is'''ambig'''uation '''box''' with text
|execution=:<code><nowiki>{{dambigbox|text={Text, as desired}}</nowiki></code><br>
|execution=:<code><nowiki>{{dambigbox|text=<text (as desired)>}}</nowiki></code><br>
or<br>
or<br>
:<code><nowiki>{{dambigbox||<ambiguous article name>}}</nowiki></code> (uses full article name as description of article contents)
:<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>
or<br>
:<code><nowiki>{{dambigbox|<description of base article contents>|<ambiguous article name>}}</nowiki></code>
:<code><nowiki>{{dambigbox|<description of article contents>|<disambiguation page base name>}}</nowiki></code>
|sample=see [[Ku Klux Klan]], [[Scarborough, North Yorkshire]] and [[Sculptor]]
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]]
|authors=[[User:Robert_W_King|Robert King]], [[User:J. Noel Chiappa|J. Noel Chiappa]]
|caveats=none
|caveats=none
}}
}}
</noinclude>
</noinclude>

Revision as of 13:20, 23 October 2008

This article is about Dambigbox. For other uses of "Dambigbox", please see Dambigbox (disambiguation).



Template Description

A template for displaying a disambiguation box with text

Execution

{{dambigbox|text=<text (as desired)>}}

or

{{dambigbox|<description of article contents>}} - the disambiguation page's name is automatically generated from the name of this page

or

{{dambigbox|<description of article contents>|<disambiguation page base name>}}

or

{{dambigbox||<disambiguation page base name>}} - uses full article name as description of article contents (note blank first argument)

Sample

see Ku Klux Klan, Leech and Johannes Gutenberg

Caveats

none

Authors

Robert King, J. Noel Chiappa