Difference between revisions of "Template:Wbox"

From Organic Design wiki
(Add {{{align}}} to main table)
(margin)
Line 1: Line 1:
{| align={{{align|right}}} style="border-spacing:8px; margin:-8px -8px;"
+
{| align={{{align|right}}} style="border-spacing:8px; margin:8px;"
 
{{#switch: {{{colour|purple}}} |
 
{{#switch: {{{colour|purple}}} |
 
green={{!}} style="width:{{{width|300}}}px; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;"{{!}} |
 
green={{!}} style="width:{{{width|300}}}px; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;"{{!}} |

Revision as of 02:16, 2 December 2007

[[{{{name}}}]]
{{:{{{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)