Template:Spoiler/end
跳到导航
跳到搜索
This template is to be used with Template:Spoiler/start for modular spoiler containers.
模板文档
[刷新缓存]
Usage
为了隐藏中文字体,所以采用了模糊化方案
Default warning text:
- This content includes possible spoilers or secrets. Tread carefully.
Examples
- Inline spoiler
inline spoiler
in a sentence.
- Default warning
以下内容可能含有秘密内容的剧透,小心行事
点击以显示/隐藏内容
foo
- Custom warning
This is custom warning text.
点击以显示/隐藏内容
This is spoilered content.
- Block-level content like lists and other formatted content is supported.
Examples
注:这里是老的使用方法,不推荐(且下文为以前写的,不过将就着看吧)
Default:
{{Spoiler| content= foo}}
以下内容可能含有秘密内容的剧透,小心行事
点击以显示/隐藏内容
foo
Custom:
{{spoiler | warning = This is custom warning text. | content = This is spoilered content. * Block-level content like lists and other formatted content is supported. }}
This is custom warning text.
点击以显示/隐藏内容
This is spoilered content.
- Block-level content like lists and other formatted content is supported.
中文也会被模糊化显示,包括链接,如:
This is custom warning text.
点击以显示/隐藏内容
来吃我一发 终结黑洞
Template data
A spoiler block that can contain other block-level elements and display a customisable spoiler warning. Content is obscured using Noita's own glyph font until readers elect to reveal it.
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
warning | warning | The text to show as a spoiler warning.
| 字符串 | 推荐 |
content | content | The normal section content.
| 内容 | 必填 |