Template:Collapse top: Difference between revisions
Appearance
m 1 revision imported |
get dark mode fixes from enwiki |
||
| Line 1: | Line 1: | ||
<templatestyles src="Template:Collapse_top/styles.css"/> | |||
<div style="margin-left:{{{indent|0}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section --> | <div style="margin-left:{{{indent|0}}}"><!-- NOTE: width renders incorrectly if added to main STYLE section --> | ||
{| <!-- Template:Collapse top --> class="mw-collapsible {{ | {| <!-- Template:Collapse top --> class="mw-collapsible mw-archivedtalk {{<includeonly>safesubst:</includeonly>#if:{{{expand|{{{collapse|}}}}}}||mw-collapsed}} {{{class|}}}" style="color:inherit; background: {{{bg1|transparent}}}; text-align: left; border: {{{border|1px}}} solid {{{b-color|Silver}}}; margin: 0.2em auto auto; width:{{<includeonly>safesubst:</includeonly>#if:{{{width|}}}|{{{width}}}|100%}}; clear: {{{clear|both}}}; padding: 1px;" | ||
|- | |- | ||
! style=" | ! class="{{main other|cot-header-mainspace|cot-header-other}}" style="{{#if: {{{bg|}}} | color:#202122;}} background: {{{bg}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{<includeonly>safesubst:</includeonly>#if:{{{left|}}}|left|{{<includeonly>safesubst:</includeonly>#if:{{{align|}}}|left|center}}}}; {{<includeonly>safesubst:</includeonly>#if:{{{fc|}}}|color: {{{fc}}};|}}" | <div style="font-size:115%;{{<includeonly>safesubst:</includeonly>#if:{{{left|}}}||margin:0 4em}}">{{{1|{{{title|{{{reason|{{{header|{{{heading|{{{result|{{Collapse top/load|1}}}}}}}}}}}}}}}}}}}}</div> | ||
{{ | {{<includeonly>safesubst:</includeonly>#if:{{{warning|{{{2|}}}}}} | ||
|{{ | |{{<includeonly>safesubst:</includeonly>!}}- | ||
{{ | {{<includeonly>safesubst:</includeonly>!}} style="text-align:center; font-style:italic;" {{<includeonly>safesubst:</includeonly>!}} {{{2|{{Collapse top/load|2}} }}} }} | ||
|- | |- | ||
| style="border: solid {{{border2|1px Silver}}}; padding: {{{padding|0.6em}}}; background: {{{bg2| | | style="color:inherit; border: solid {{{border2|1px Silver}}}; padding: {{{padding|0.6em}}}; background: {{{bg2|var(--background-color-base, #fff)}}};" {{<includeonly>safesubst:</includeonly>!}}<noinclude> | ||
{{lorem ipsum|3}} | {{lorem ipsum|3}} | ||
{{Collapse bottom}} | {{Collapse bottom}} | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> | ||