模板: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.
| 內容 | 必填 |