Template:Side box: Difference between revisions

    From Nonbinary Wiki
    m (Protected Template:Side box: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
    (allow image=none)
    Line 1: Line 1:
    <table class="metadata plainlinks ombox-small" style="{{#ifeq:{{lc:{{{position|}}}}}|left|clear:left; float:left; margin:4px 1em 4px 0;}} border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
    <table class="metadata plainlinks ombox-small" style="{{#ifeq:{{lc:{{{position|}}}}}|left|clear:left; float:left; margin:4px 1em 4px 0;}} border:1px solid #aaa; background-color:#f9f9f9; {{{style|}}}">
    <tr>
    <tr>
    {{#if:{{{image|}}}
    {{#switch:{{{image|}}}
    |<!--BLANK-->|none={{td}}
    |<td class="mbox-image">{{{image}}}</td>
    |<td class="mbox-image">{{{image}}}</td>
    |<!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 0px; width: 1px;"></td>
    }}
    }}
    <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
    <td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>

    Revision as of 16:00, 28 December 2008

    Template:Td

    Template:Pp-template

    Template documentation[create]