Difference between revisions of "Template:Wbox"

From Organic Design wiki
m
m
Line 16: Line 16:
 
{|style="border-spacing:8px; margin:0px -8px;"
 
{|style="border-spacing:8px; margin:0px -8px;"
 
|class="MainPageBG" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;"|
 
|class="MainPageBG" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;"|
 +
{|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5fffa;"
 
green =! <h2 style="margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Today's featured article</h2>
 
green =! <h2 style="margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Today's featured article</h2>
  

Revision as of 01:26, 28 November 2007

[[{{{name}}}]]

{{#if: | {{{content}}} | {{ {{{name}}} }}

Usage

  • name = article name, name used in box, if {{{contents}}} is omitted, then the name is a link, and {{{name}}} is transcluded under the box
  • contents = optional, if supplied the wikitext is placed under the box
  • colour = green|blue|purple (default)