Template talk:HideH wno
編輯請求 2024-07-22
请求已处理
migrate NavFrame to mw-collapsible, see H:COLL#弃用说明.
<includeonly>{{#switch: {{{2|}}}<!--旧式定义
-->| old =
<div class="mw-collapsible {{#switch: {{{3}}} | open | no = | yes | #default = mw-collapsed }}" style="padding: 4px; border: 1px solid #a2a9b1; text-align: center; font-size: 95%; color: inherit; {{{framestyle|}}}">
<div style="line-height: 1.6em; font-weight: bold; background-color: #ccf; color: var(--color-emphasized,#000); {{{headstyle|}}}"><div style="margin: 0 4em;">{{{1}}}</div></div>
<div class="mw-collapsible-content" style="font-size: 100%; text-align: left; {{{contentstyle|}}}"><!--新式定义
-->| new | #default =
<div class="toccolours mw-collapsible {{#switch: {{{3}}} | open | no = | yes | #default = mw-collapsed }}" style="{{{framestyle|}}}">
<div style="text-align: center; font-weight: bold; {{{headstyle|}}}">{{{1}}}</div>
<div class="mw-collapsible-content" style="{{{contentstyle|}}}">
}}</includeonly>
--Dabao qian℡ 2024年7月22日 (一) 15:40 (UTC)
編輯請求 2024-09-04
正在請求他人代為編輯受保護的頁面(連鎖保護 编辑:仅允许管理员 移动:仅允许管理员) 注意:本模板不是用於請求開放頁面給予編輯,相關請求請至请求解除保护頁申請;本模板是用於請求可以編輯的用户幫忙修改內容。 請求時請列明理由及內容,对于模板、模块、MediaWiki命名空间的修改请求,请阅读相关方针。(工具:處理、申請解除保護) 如果您想直接展示给管理员修改后的页面及清楚地列出编辑差异,请将本模板改为 {{Editprotected|patch=}} ,点击「显示预览」并按照提示进一步操作。 |
参照{{HideH}}绑定CollapsibleToggle小工具,同时修正部分样式。
<includeonly><templatestyles src="HideH/styles.css" />{{#switch: {{{2|}}}<!--旧式定义
-->| old =
<div class="hidden-div mw-collapsible {{#switch: {{{3}}} | open | no = | yes | #default = mw-collapsed }}" style="padding: 4px; border: 1px solid var(--border-color-base,#a2a9b1); text-align: center; font-size: 95%; color: inherit; {{{framestyle|}}}">
<div class="skin-nightmode-reset-color collapsible-title" style="line-height: 1.6em; font-weight: bold; background-color: #ccf; color: var(--color-emphasized,#000); width: 100%; position: relative; {{{headstyle|}}}">{{{1}}}<span style="position: absolute; top: 0; right: 3px;"><span class="mw-collapsible-toggle-placeholder"><!-- 会被替换 --></span></span></div>
<div style="clear:both;"></div>
<div class="mw-collapsible-content" style="font-size: 100%; text-align: left; {{{contentstyle|}}}"><!--新式定义
-->| new | #default =
<div class="hidden-div toccolours mw-collapsible {{#switch: {{{3}}} | open | no = | yes | #default = mw-collapsed }}" style="{{{framestyle|}}}">
<div class="collapsible-title" style="text-align: center; font-weight: bold; {{{headstyle|}}}">{{{1}}}</div>
<div class="mw-collapsible-content" style="{{{contentstyle|}}}">
}}</includeonly>