Template:Collapse top: Difference between revisions

    From Nonbinary Wiki
    m>FT2
    (add "indent" option using margin-left)
    m>FT2
    (move margin to outside)
    Line 1: Line 1:
    {| <!-- Template:Collapse top --> class="navbox collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||collapsed}}" style="background: transparent; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; margin-left:{{{indent|0px}}}; {{{{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}"
    <div style="margin-left:{{{indent|0px}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section-->
    {| <!-- Template:Collapse top --> class="navbox collapsible {{{{{|safesubst:}}}#if:{{{expand|}}}||collapsed}}" style="background: transparent; text-align: left; border: {{{border|1px}}} solid {{{b-color|silver}}}; margin-top: 0.2em; {{{{{|safesubst:}}}#if:{{{width|}}}|width:{{{width}}};}}"
    |-
    |-
    ! style="background-color: {{{bg|#CFC}}}; font-size:112%;" | {{{1|{{{title|{{{reason|{{{header|Extended content}}} }}} }}} }}}     
    ! style="background-color: {{{bg|#CFC}}}; font-size:112%;" | {{{1|{{{title|{{{reason|{{{header|Extended content}}} }}} }}} }}}     
    Line 6: Line 7:
    {{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is an archived debate. <span style="color:red;">'''Please do not modify it.'''</span>}}} }}
    {{{{{|safesubst:}}}!}} style="text-align:center; font-style:italic;" {{{{{|safesubst:}}}!}} {{{2|The following is an archived debate. <span style="color:red;">'''Please do not modify it.'''</span>}}} }}
    |-
    |-
    | style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;" {{{{{|safesubst:}}}!}}<noinclude>
    | style="border: solid {{{border2|1px silver}}}; padding: {{{padding|8px}}}; background-color: {{{bg2|white}}}; font-size:112%;" {{{{{|safesubst:}}}!}}</div><noinclude>
    {{lorem ipsum|3}}
    {{lorem ipsum|3}}
    {{Collapse bottom}}
    {{Collapse bottom}}

    Revision as of 12:08, 17 May 2011

    Template documentation[create]