Template:Dambigbox: Difference between revisions
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= | <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= | |||
|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
Caveats
none
Authors