Template:Collapse top: Difference between revisions
Jump to navigation
Jump to search
imported>SMcCandlish (re-re-re-tested, now working. I need coffeee...) |
imported>SMcCandlish (Support the |result parameter used by many discussion closure templates; compacted the code a little (doing }}} }} is often helpful, to tell var closure from if closure, but }}} }}} }}} is not useful).) |
||
Line 2: | Line 2: | ||
{| <!-- Template:Collapse top --> class="mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{{{{|safesubst:}}}#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}}; padding: 1px;" | {| <!-- Template:Collapse top --> class="mw-collapsible {{{{{|safesubst:}}}#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}}" style="background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{{{{|safesubst:}}}#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}}; padding: 1px;" | ||
|- | |- | ||
! style="background: {{{bg|#{{main other|F0F2F5|CCFFCC}}}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{{{{|safesubst:}}}#if:{{{left|}}}|left|center}}; {{{{{|safesubst:}}}#if:{{{fc|}}}|color: {{{fc}}};|}}" | <span style="font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|Extended content}}} }}} }}} }}} }}}</span> | ! style="background: {{{bg|#{{main other|F0F2F5|CCFFCC}}}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{{{{|safesubst:}}}#if:{{{left|}}}|left|center}}; {{{{{|safesubst:}}}#if:{{{fc|}}}|color: {{{fc}}};|}}" | <span style="font-size:115%">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result|Extended content}}}}}}}}}}}}}}}}}}</span> | ||
{{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}} | {{{{{|safesubst:}}}#if:{{{warning|{{{2|}}}}}} | ||
|{{{{{|safesubst:}}}!}}- | |{{{{{|safesubst:}}}!}}- |
Revision as of 12:54, 26 July 2018
Extended content |
---|
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]