For faster navigation, this Iframe is preloading the Wikiwand page for Template:HideH wno.

Template:HideH wno

标题
隱藏內容
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

簡介

本模版可用於隱藏指定內容。

本模版的原型((hideH))曾于2011年10月10日改用新折叠样式,後來由于部分维基人仍偏好旧有样式故于2011年10月15日改回旧样式。为了方便喜欢新样式的维基人,所以此模板提供参数type,設置typenew或默认可得新样式,設置為old則可得旧样式。如有需要,可以利用参数即时切换新旧样式。

用法

簡單版

((HideH wno|變數1|變數2|變數3))
欲隐藏的内容
((hideF))

所有變數均可省略,等同於使用預設。

變數1(標題)
預設為“標題”。
變數2(樣式設定,見以下範例)
預設或“new”:使用新版外觀。
“old”:使用舊版外觀。
變數3(摺疊狀態)
預設或“yes”:一開始時隱藏內容。
“open”或“no”:一開始時不隱藏內容。

完整版

((HideH wno
|head         = 
|headstyle    = 
|framestyle   = 
|contentstyle = 
|type         = 
|collapsed    = 
))
欲隐藏的内容
((hideF))

如上,所有變數均可省略,等同於使用預設。

head(标题)
預設為“標題”。
headstyle(标题格式)
framestyle(框架格式)
contentstyle(内容格式)
以上三項可填上CSS格式設定。
type(樣式設定,見以下範例)
預設為“new”:使用新版外觀。
“old”:使用舊版外觀。
collapsed(摺疊狀態)
預設為“yes”:一開始時隱藏內容。
“open”或“no”:一開始時不隱藏內容。

範例

例一(預設新版外觀、預設隱藏內容、自定義各格式)

例二(預設新版外觀、不隱藏內容)

例三(舊版外觀、預設隱藏內容、自定義標題及內容格式)

参见

  • ((hideH)),此模板的原型。
  • ((Hidden)),功能相似,参数有所不同。
{{bottomLinkPreText}} {{bottomLinkText}}
Template:HideH wno
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?