Шаблон:Pageframecollapse: различия между версиями

СРП: стили приведены к теме вики (цвета, рамки, контраст)
СРП: убраны сворачиваемые блоки, единый вид
 
Строка 2: Строка 2:
<div class="pageframe-header" style="background-color: {{ColorPalette|{{{color}}}|Primary}}; border-bottom: 2px solid {{ColorPalette|{{{color}}}|Opaque}}; color: var(--color-text); padding: 0.75em 0.5em 0; border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0"><center style="color: var(--color-white)">{{#if:{{{image|}}}|[[file:{{{image}}}|left|24px]]|}}'''{{{title}}}'''{{#if:{{{image|}}}|[[file:{{{image}}}|right|24px]]|}}</center></div>
<div class="pageframe-header" style="background-color: {{ColorPalette|{{{color}}}|Primary}}; border-bottom: 2px solid {{ColorPalette|{{{color}}}|Opaque}}; color: var(--color-text); padding: 0.75em 0.5em 0; border-radius: var(--border-radius-medium) var(--border-radius-medium) 0 0"><center style="color: var(--color-white)">{{#if:{{{image|}}}|[[file:{{{image}}}|left|24px]]|}}'''{{{title}}}'''{{#if:{{{image|}}}|[[file:{{{image}}}|right|24px]]|}}</center></div>
<div style="background: {{ColorPalette|{{{color}}}|Transparent}}; border-radius: 0 0 .2em .2em">
<div style="background: {{ColorPalette|{{{color}}}|Transparent}}; border-radius: 0 0 .2em .2em">
{| class="mw-collapsible mw-collapsed wikitable" style="background: transparent; border: 0; padding: 0.5em; width: 100%"
{| class="wikitable" style="background: transparent; border: 0; padding: 0.5em; width: 100%"
|-
|-
! style="background: transparent; border: 0; width: 100%; text-align: left; font-weight: normal" | {{{header}}}
! style="background: transparent; border: 0; width: 100%; text-align: left; font-weight: normal" | {{{header}}}

Текущая версия от 10:36, 22 сентября 2026

{{{title}}}
{{{header}}}
{{{content}}}