Template:Dambigbox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Simpler (hopefully fix bug))
imported>J. Noel Chiappa
(Allow use of non-name args)
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:1em;">''{{{text|This article is about {{{subject}}}. For other uses of "{{{basename}}}", please see [[{{{basename}}} (disambiguation)]].}}}''</div>
<div id ="" style="width:90%; border:1px #BBB solid; background-color:#eee; padding:0.5em; margin:0.5em auto; font-size:1em;">''{{{text|This article is about {{{1|{{{subject}}}}}}. For other uses of "{{{2|{{{basename}}}}}}", please see [[{{{2|{{{basename}}}}}} (disambiguation)]].}}}''</div>
<noinclude>
<noinclude>
{{newtemplate
{{newtemplate
Line 5: Line 5:
|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|basename={base article}|subject={description of base article contents}}</nowiki></code>
<code><nowiki>{{dambigbox|<description of base article contents>|<base article name>}}</nowiki></code>
|sample=see [[Half-life]], [[Sculptor]]
|sample=see [[Half-life]], [[Sculptor]]
|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]]

Revision as of 17:28, 23 May 2008

This article is about {{{subject}}}. For other uses of "{{{basename}}}", please see [[{{{basename}}} (disambiguation)]].



Template Description

A template for displaying a disambiguation box with text

Execution

{{dambigbox|text={Text, as desired}}
or
{{dambigbox|<description of base article contents>|<base article name>}}

Sample

see Half-life, Sculptor

Caveats

none

Authors

Robert King,J. Noel Chiappa