"साचा:Side box" च्या विविध आवृत्यांमधील फरक
Appearance
Content deleted Content added
imported>Thumperward add plainlist class, which makes adds semantic value when multiple elements are used. any problems with this, please let me know |
Happy-melon (चर्चा | योगदान) make metadata optional - this metatemplate 1is used to create content boxes (eg {{listen}}) as well as maintenance templates (ambox-small etc) |
||
ओळ १: | ओळ १: | ||
<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|}}}"> |
१७:०१, २३ ऑगस्ट २०१३ ची आवृत्ती
{{{text}}} |
This template is used on २२०,०००+ pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in its /sandbox or /testcases subpages or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing any changes on the talk page before implementing them. |
This template is a meta-template that can be used to create nicely-styled floating content boxes.
Usage
|text=
– the text to display in the box|image=
– a full image tag (or other content)|imageright=
– a full image tag (or other content) to display in a separate table cell on the right of the box|position=
– if set toleft
, floats the box on the left side of the page rather than the right|style=
– styles to apply to the box|textstyle=
– styles to apply to the text cells only|below=
– content to appear in a separate row underneath the main cell (and spanning the entire width of the box)
See also
{{mbox}}