Template:Rt-monaco

From Traveller Wiki - Science-Fiction Adventure in the Far future
Revision as of 15:38, 12 June 2008 by Tjoneslo (talk | contribs) (update info)
Jump to navigation Jump to search

This is an update of the Template:Rt to produce rounded corner boxes but using the Monaco .color1 css colors.

<span class="content-bg rtop" style="{{#if:{{{2|}}}|background: {{{2}}}|}}">
  <span class="r1" style="background: {{{1}}}"></span>
  <span class="r2" style="background: {{{1}}}"></span>
  <span class="r3" style="background: {{{1}}}"></span>
  <span class="r4" style="background: {{{1}}}"></span>
</span>

Note: This relies upon the Rounded Corners classes in the MediaWiki:Common.css.