Template:Dambigbox: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Derek Harkness
(tweak font size)
imported>J. Noel Chiappa
(Add common wording stuff)
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}}}''</div>
<div id ="" style="width:90%; border:1px #BBB solid; background-color:#eee; padding:0.5em; margin:0.5em auto; font-size:1em;">''{{#if:{{{text|}}}|{{{text}}}|This article is about {{{subject}}}. For other uses of "{{{basename}}}", please see [[{{{basename}}} (disambiguation)]].''</div>
<noinclude>
<noinclude>
{{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>
|execution=<code><nowiki>{{dambigbox|text={Text, as desired}}</nowiki></code><br>
{{dambigbox
or<br>
|text= (text goes here)
<code><nowiki>{{dambigbox|basename={base article}|subject={description of base article contents}}</nowiki></code>
}}
|sample=see [[Half-life]], [[Sculptor]]
</nowiki></code>
|authors=[[User:Robert_W_King|Robert King]],[[User:J. Noel Chiappa|J. Noel Chiappa]]
|sample=see [[Half-life]]
|authors=*[[User:Robert_W_King|Robert King]]
|caveats=none
|caveats=none
}}
}}
</noinclude>
</noinclude>

Revision as of 17:23, 19 May 2008

{{#if:|{{{text}}}|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|basename={base article}|subject={description of base article contents}}

Sample

see Half-life, Sculptor

Caveats

none

Authors

Robert King,J. Noel Chiappa