Template:Collapse: Difference between revisions
Template page
More actions
the parenthesses instead of curly braces are dismissing, changed the string "Pages using ((collsape)) without content" into "Pages using "Collapse" template without content". |
actual dark mode fixes, not just skin-invert |
||
| (5 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
<onlyinclude> | <onlyinclude> | ||
{| class="mw-collapsible mw-{{{{{|safesubst:}}}#ifeq:{{{expand|<includeonly>no</includeonly>}}}|no||un}}collapsed {{{class|}}}" style="<!-- | {|class="mw-collapsible mw-{{{{{|safesubst:}}}#ifeq:{{{expand|<includeonly>no</includeonly>}}}|no||un}}collapsed {{{class|}}}" style="<!-- | ||
-->background:{{{background-c|#FFF}}};<!-- | -->clear:{{{clear|both}}};<!-- | ||
-->margin:{{{margin|2px auto}}};<!-- | |||
-->background:{{{background-c|var(--background-color-base, #FFF)}}};<!-- | |||
-->color:{{{color|inherit}}};<!-- | |||
-->border:{{{border-w|1px}}} {{{border-s|solid}}} {{{border-c|#AAA}}};<!-- | -->border:{{{border-w|1px}}} {{{border-s|solid}}} {{{border-c|#AAA}}};<!-- | ||
-->padding:1px;<!-- | -->padding:1px;<!-- | ||
-->width:{{{width|100%}}}<!-- | -->width:{{{width|100%}}}<!-- | ||
-->" | -->" | ||
|- | |- | ||
! style=" | !scope="col" style="<!-- | ||
-->font-size:{{{header-fs|{{{font-size|88%}}}}}};<!-- | -->font-size:{{{header-fs|{{{font-size|88%}}}}}};<!-- | ||
-->background:{{{header-c|var(--background-color-neutral, #eaecf0)}}};<!-- | |||
-->border:none;<!-- | |||
-->color:{{{header-fc|inherit}}};<!-- | |||
-->padding:0 .2em;<!-- | |||
-->text-align:{{{header-align|center}}}<!-- | -->text-align:{{{header-align|center}}}<!-- | ||
-->"| {{{{{|safesubst:}}}#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | |||
-->" | {{{{{|safesubst:}}}#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | |||
|- | |- | ||
| class="mw-collapsible-content" style="<!-- | |class="mw-collapsible-content" style="<!-- | ||
-->font-size:{{{font-size|88%}}};<!-- | -->font-size:{{{font-size|88%}}};<!-- | ||
-->border:none;<!-- | -->border:none;<!-- | ||
-->padding:0;<!-- | -->padding:0;<!-- | ||
-->{{{{{|safesubst:}}}#if:{{{align|}}}|text-align:{{{align}}}}}<!-- | -->{{{{{|safesubst:}}}#if:{{{align|}}}|text-align:{{{align|}}}}}<!-- | ||
-->" | | -->"|<includeonly>{{{1}}}</includeonly><noinclude>{{Lorem Ipsum}}</noinclude> | ||
<includeonly>{{{1}}}</includeonly><noinclude>{{ | |||
|}<includeonly>{{{{{|safesubst:}}}#if:{{{1|}}}||[[Category:Pages using "Collapse" template without content]]}}</includeonly></onlyinclude> | |}<includeonly>{{{{{|safesubst:}}}#if:{{{1|}}}||[[Category:Pages using "Collapse" template without content]]}}</includeonly></onlyinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | <!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! --> | ||