Warning: proc_open(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/www/wwwroot/test.bnswiki.com/:/tmp/) in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160

Warning: proc_open(/dev/null): Failed to open stream: Operation not permitted in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160

Warning: proc_open(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/www/wwwroot/test.bnswiki.com/:/tmp/) in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160

Warning: proc_open(/dev/null): Failed to open stream: Operation not permitted in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160

Warning: proc_open(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/www/wwwroot/test.bnswiki.com/:/tmp/) in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160

Warning: proc_open(/dev/null): Failed to open stream: Operation not permitted in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160

Warning: proc_open(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/www/wwwroot/test.bnswiki.com/:/tmp/) in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160

Warning: proc_open(/dev/null): Failed to open stream: Operation not permitted in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160

Warning: proc_open(): open_basedir restriction in effect. File(/dev/null) is not within the allowed path(s): (/www/wwwroot/test.bnswiki.com/:/tmp/) in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160

Warning: proc_open(/dev/null): Failed to open stream: Operation not permitted in /www/wwwroot/test.bnswiki.com/extensions/Scribunto/includes/Engines/LuaStandalone/LuaStandaloneInterpreter.php on line 160
模板:折叠面板 - 剑灵百科-剑灵wiki

模板:折叠面板

描述


这是生成一个选项组的框架


语法

{{折叠面板|开始|主框=1}}
{{折叠面板|标题=测试标题1|选项=1|主框=1|样式=info|展开=是}}
测试内容
{{折叠面板|内容结束}}
{{折叠面板|结束}}

主框: 数字或者英文,可选,如果存在多个不同的折叠组时必选.注意!标题与开始的主框参数必须一致.
选项:数字或者英文,可选,一个组里面大于一个选项是必选.且选项值不能相同
样式:固定参数,可选,可选范围:primary,success,info,warning,danger. 默认:primary
展开:值任意,可选.是否直接展开
badge:任意值,可选.标题样式与右侧的折叠样式一致.


示例

范例 运行结果
{{折叠面板|开始|主框=1}}
{{折叠面板|标题=测试标题1|选项=1|主框=1|样式=info|展开=是}}
测试内容
{{折叠面板|内容结束}}
{{折叠面板|标题=测试标题2|选项=2|主框=1|样式=info}}
测试内容
{{折叠面板|内容结束}}
{{折叠面板|结束}}
<span class="show panel-title" data-toggle="collapse" data-parent="#mc_accordion-1" data-target="#mc_collapse-Lua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permitted" style="cursor: pointer;overflow:auto">测试标题1展开/折叠
<div id="mc_collapse-Lua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permitted" class="panel-body panel-collapse collapse in" style="padding:10px;">测试内容
<span class="show panel-title" data-toggle="collapse" data-parent="#mc_accordion-1" data-target="#mc_collapse-Lua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permitted" style="cursor: pointer;overflow:auto">测试标题2展开/折叠
<div id="mc_collapse-Lua错误:无法创建进程:proc_open(/dev/null): Failed to open stream: Operation not permitted" class="panel-body panel-collapse collapse " style="padding:10px;">测试内容