User:Donni Iris/Sandbox/Template Collapse: Difference between revisions
Jump to navigation
Jump to search
Donni Iris (talk | contribs) changing all colors again to see what is what |
Donni Iris (talk | contribs) No edit summary |
||
| (25 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
from Wikipedia Template:Collapse | from Wikipedia Template:Collapse | ||
--> | --> | ||
{| class="mw-collapsible {{#switch:{{lc:{{{expand|no}}}}}|uncollapse|uncollapsed|expand|expanded|yes|y|1=mw-uncollapsed|#default=mw-collapsed}} {{{class|}}}" <!-- | {| class="mw-collapsible {{#switch:{{lc:{{{expand|no}}}}}|uncollapse|uncollapsed|expand|expanded|yes|y|1=mw-uncollapsed|#default=mw-collapsed}} {{{class|}}}" <!-- | ||
-->style="background-color: | -->style="background-color:inherit; <!-- outer border background color | ||
--> color:inherit; <!-- ignore ; seems to do nothing | |||
--> border:1px solid #A2A9B1; <!-- outer border color | |||
--> text-align:left; margin:0.2em auto auto; <!-- | |||
--> width:100%; clear:both; padding:1px; " | |||
|- | |- | ||
! style="background-color: | ! style="background-color:inherit; <!-- header background color | ||
<div style="background-color: | --> color:inherit; <!-- collapse button bracket color | ||
--> font-size:87%; padding:0.2em 0.3em; text-align:center; " | | |||
<div style="background-color:inherit; <!-- header text background color | |||
--> color:inherit; <!-- header text color | |||
--> display:inline; font-size: 115%;">{{{header|Collapsed content}}}</div> | |||
|- | |- | ||
| style="background-color:# | | style="background-color:#C7B08E; <!-- content background color | ||
--> color:inherit; <!-- content text color | |||
--> border:solid 1px #A2A9B1; <!-- content border color | |||
--> padding:8px; " | | |||
<div>{{{1}}}</div> | <div>{{{1}}}</div> | ||
|}<!-- | |}<!-- | ||
--></includeonly> | --></includeonly> | ||