跳转到内容

模板:Hint

来自天灾之下:危险连接资料站
wiki>P858snake2024年12月27日 (五) 20:03的版本 (Reference types in examples)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
{{{1}}}
模板文档

Usage

{{Hint|Foo}}
{{Hint|Foo|info}}
{{Hint|Foo|question}}
{{Hint|Foo|history}}
{{Hint|Foo|reminder}}
{{Hint|Foo|warn}}
{{Hint|Foo|error}}
{{Hint}} Loose test

* Text {{Hint|Foo|block=1}}
Foo
Foo (info)
Foo (question)
Foo (history)
Foo (reminder)
Foo (warn)
Foo (error)

Hint  Hint:

Loose test
  • Text
    Foo


TemplateData

Show a hint in a box. Based on Template:Note.

模板参数[编辑模板数据]

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

参数描述类型状态
Text1

Payload

默认值
Just icon and keyword related to type
内容推荐
Type2

One of 'info', 'question', 'history', 'reminder', 'warn', or 'error'. This setting affects the color and icon.

默认值
info
单行文本可选
Large text block formattingblock

Show template with the icon arranged neatly at the top left if any value provided.

默认值
No
单行文本可选