模板:测试:修订间差异

无编辑摘要
无编辑摘要
第1行: 第1行:
<includeonly>{{#ifeq:{{{1|}}}|开始|<div class="accordion accordion-flush" id="accordion-{{{主框|1}}}">}}{{#ifeq:{{{1}}}|结束|</div>}}{{#ifeq:{{{1}}}|内容结束|</div></div></div>}}{{#if:{{{标题|}}}|<div class="accordion-item"><div class="accordion-header"><div class="accordion-button collapsed" data-bs-toggle="collapse" data-bs-target="#flush-collapse{{{选项|1}}}" aria-expanded="false" aria-controls="flush-collapse{{{选项|1}}}">{{{标题}}}</div></div><div id="flush-collapse{{{选项|1}}}" class="accordion-collapse collapse {{#if:{{{展开|}}}|show}}" data-bs-parent="#accordion-{{{主框|1}}}"><div class="accordion-body">}}{{#css:.accordion{ margin-bottom: 20px}.accordion-item{ position: relative;margin-bottom: 2px;font-size: 1rem;}.accordion-header{ font-weight: bold; color: #915d2e; background: #dfcdad;}.accordion-button:not(.collapsed){color: #915d2e;}.accordion-button{ background-color: #dfcdad !important;}.accordion-body{ color: #666; background: #fbf9f1;}.accordion-body p { line-height: 1.6; }}}
<includeonly>{{#ifeq:{{{1|}}}|开始|<div class="accordion accordion-flush" id="accordion-{{{主框|1}}}">}}{{#ifeq:{{{1}}}|结束|</div>}}{{#ifeq:{{{1}}}|内容结束|</div></div></div>}}{{#if:{{{标题|}}}|<div class="accordion-item"><div class="accordion-header"><div class="accordion-button collapsed" data-bs-toggle="collapse" data-bs-target="#flush-collapse{{{选项|1}}}" aria-expanded="false" aria-controls="flush-collapse{{{选项|1}}}">{{{标题}}}</div></div><div id="flush-collapse{{{选项|1}}}" class="accordion-collapse collapse {{#if:{{{展开|}}}|show}}" data-bs-parent="#accordion-{{{主框|1}}}"><div class="accordion-body">}}
{{#css:.accordion{ margin-bottom: 20px}.accordion-item{ position: relative;margin-bottom: 2px;font-size: 1rem;}.accordion-header{ font-weight: bold; color: #915d2e; background: #dfcdad;}.accordion-button:not(.collapsed){color: #915d2e;}.accordion-button{ background-color: #dfcdad !important;}.accordion-body{ color: #666; background: #fbf9f1;}.accordion-body p { line-height: 1.6; }
}}
</includeonly>
</includeonly>

2024年5月30日 (四) 14:18的版本