Difference between revisions of "Template:Wbox"
From Organic Design wiki
m |
|||
Line 24: | Line 24: | ||
Wikitext content; | Wikitext content; | ||
<pre> | <pre> | ||
− | {{ | + | {{Wbox|name=Foo|content=Fodda|colour=purple|align=center|width=100}} |
− | {{ | + | {{Wbox|name=Foo|content=Fodda|colour=green|align=center|width=100}} |
− | {{ | + | {{UWbox|name=Foo|content=Fodda|colour=blue|align=center|width=100}} |
</pre> | </pre> | ||
Renders; | Renders; | ||
{| = | {| = | ||
|- align="center" valign="top" | |- align="center" valign="top" | ||
− | | {{ | + | | {{Wbox|name=Foo|content=Fodda|colour=purple|align=center|width=100}} |
− | | {{ | + | | {{Wbox|name=Foo|content=Fodda|colour=green|align=center|width=100}} |
− | | {{ | + | | {{Wbox|name=Foo|content=Fodda|colour=blue|align=center|width=100}} |
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 22:44, 5 December 2007
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)
- align = left|center|right (default)
- width = pixel number (300 default)
Examples
Wikitext content;
{{Wbox|name=Foo|content=Fodda|colour=purple|align=center|width=100}} {{Wbox|name=Foo|content=Fodda|colour=green|align=center|width=100}} {{UWbox|name=Foo|content=Fodda|colour=blue|align=center|width=100}}
Renders;
|
|
|