模板討論: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>