Difference between revisions of "Template:Boxright"

From MidrangeWiki
Jump to: navigation, search
m (created like Template:Shortcut to create a box floating on the right side of the page, but without automagic wikilinks of parameters)
 
m (try to add color green font to 1st parm using <span>)
 
Line 1: Line 1:
 
<table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint">
 
<table style="border: 1px solid #999; background: #fff; margin: .3em .3em .3em 1em; padding: 3px; float: right" class="noprint">
<th id="shortcut" class="noprint" align="center" valign="top"><small>{{#ifexist:{{{1|}}}|{{{1}}}|{{{1|}}} }}{{#if:{{{2|}}}|<br />{{{2}}}}}{{#if:{{{3|}}}|<br />{{{3}}}}}{{#if:{{{4|}}}|<br />{{{4}}}}}{{#if:{{{5|}}}|<br />{{{5}}}}}</small>
+
<th id="shortcut" class="noprint" align="center" valign="top"><small><span style="color:green">{{#ifexist:{{{1|}}}|{{{1}}}|{{{1|}}} }}</span>{{#if:{{{2|}}}|<br />{{{2}}}}}{{#if:{{{3|}}}|<br />{{{3}}}}}{{#if:{{{4|}}}|<br />{{{4}}}}}{{#if:{{{5|}}}|<br />{{{5}}}}}</small>
 
</th></table><noinclude>{{/doc}}</noinclude>
 
</th></table><noinclude>{{/doc}}</noinclude>

Latest revision as of 16:26, 10 January 2008