更多操作
创建页面,内容为“<onlyinclude>{{#if: {{{1|{{{content|{{{text|{{{demo|<noinclude>demo</noinclude>}}}}}}}}}}}} | <templatestyles src="Info/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}} |gotcha=error |warning=warn |notice=info |=info |#default={{{2|{{{type|}}}}}} }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{content|{{{text}}}}}}}}}</div> | 18px|alt=<!--T:1--> 注 '''<!--T:…” |
小 已保护“模板:Info”:高流量页面([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)) |
||
(未显示同一用户的1个中间版本) | |||
第6行: | 第6行: | ||
|#default={{{2|{{{type|}}}}}} | |#default={{{2|{{{type|}}}}}} | ||
}} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{content|{{{text}}}}}}}}}</div> | }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{content|{{{text}}}}}}}}}</div> | ||
| [[File:Fontawesome-lightbulb-solid.svg|18px|alt=<!--T:1--> 注]] '''<!--T:2--> 注:''' }}<!-- | | [[File:Fontawesome-lightbulb-solid.svg|18px|alt=<!--T:1--> 注|link=]] '''<!--T:2--> 注:''' }}<!-- | ||
--></onlyinclude> | --></onlyinclude> | ||
<noinclude> | <noinclude> |
2025年5月24日 (六) 18:19的最新版本
{{{text}}}
用于显示提示。(复制自 MediaWiki.org Template:Note) 以 CC BY-SA 4.0 发布。
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
文本 | text 1 content | 提示信息 | 内容 | 必需 |
类型 | type 2 | “info”“reminder”“warn”“error”中的一个。此设置将影响背景颜色和图标。
| 字符串 | 可选 |
内联格式 | inline | 显示提示时前后无换行符。
| 数字 | 可选 |