模板:测试:修订间差异
(创建页面,内容为“<includeonly><div class="accordion" id="accordionExample"> <div class="accordion-item"> <div class="accordion-header"> <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne"> {{{标题1}}} </button> </div> <div id="collapseOne" class="accordion-collapse collapse show" data-bs-parent="#accordionExample"> <div class="accordion-b…”) |
无编辑摘要 |
||
(未显示同一用户的16个中间版本) | |||
第1行: | 第1行: | ||
<includeonly><div class="accordion | <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">}}</includeonly><includeonly>{{#css:.accordion{ margin-bottom: 20px}.accordion .accordion-item{ position: relative;margin-bottom: 2px;font-size: 1rem;}.accordion .accordion-header{ font-weight: bold; color: #915d2e; background: #dfcdad;}.accordion .accordion-button:not(.collapsed){color: #915d2e;}.accordion .accordion-button{ background-color: #dfcdad !important; color: #915d2e;}.accordion-body{ color: #666; background: #fbf9f1; }.accordion-body p { line-height: 1.6;}} | ||
</includeonly><noinclude> | |||
{{信息 | |||
|class=success | |||
|text=如果是第一次来,按"Ctrl+D"可以收藏随时查看更新~觉得WIKI好玩的话,请推荐给朋友哦~(◕ω<)☆<br> | |||
按右上角“WIKI功能→编辑”即可修改页面内容。 | |||
|leftimage=thumbs-up | |||
|color=#3c763d | |||
}} | |||
{{测试|模板}}[[分类:模板]]{{模板说明}}</noinclude> | |||