Noita中文 Wiki
Advertisement
Template-info.png 模板文档

Usage

为了隐藏中文字体,所以采用了模糊化方案
Common warning text:

  • This content includes possible spoilers or secrets. Tread carefully.
{{spoiler
| warning = // Optional
| content =
}}

Examples

Default:

{{Spoiler| content= foo}}


以下内容可能含有秘密内容的剧透,小心行事。

foo

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 spoilered content.

  • Block-level content like lists and other formatted content is supported.

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.

模板参数

此模板首选参数换行格式。

参数描述类型状态
warningwarning

The text to show as a spoiler warning.

默认值
This content includes possible spoilers or secrets. Tread carefully.
示例
This content includes possible spoilers or secrets. Tread carefully.
自动值
This content includes possible spoilers or secrets. Tread carefully.
字符串推荐
contentcontent

The normal section content.

自动值
内容必填
Advertisement