Difference between revisions of "Template:Side box"
Jump to navigation
Jump to search
imported>Thumperward (add plainlist class, which makes adds semantic value when multiple elements are used. any problems with this, please let me know) |
imported>Happy-melon (make metadata optional - this metatemplate 1is used to create content boxes (eg {{listen}}) as well as maintenance templates (ambox-small etc)) |
||
Line 1: | Line 1: | ||
− | <table class="metadata mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}"> | + | <table class="{{#ifeq:{{lc:{{{metadata|}}}}}|no||metadata}} mbox-small{{#ifeq:{{lc:{{{position|}}}}}|left|-left}} {{{class|}}}" style="border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}"> |
{{#if:{{{above|}}} | {{#if:{{{above|}}} | ||
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}{{{abovestyle|}}}"> | | <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}{{{abovestyle|}}}"> |
Revision as of 12:31, 23 August 2013
Template:Td
{{{text}}} |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |