打开/关闭菜单
331
1.7K
131
11.8K
星露谷物语扩展百科
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:Alert:修订间差异

来自星露谷物语扩展百科
Sizau留言 | 贡献
移至全站
Sizau留言 | 贡献
无编辑摘要
 
(未显示同一用户的11个中间版本)
第1行: 第1行:
<includeonly><div class="markdown-alert {{#switch:{{{1|}}}
<includeonly>{{CSS|Alert}}<div class="markdown-alert markdown-alert-{{lc:{{{1|}}}}}"><p class="markdown-alert-title">{{{3|{{#switch:{{lc:{{{1|}}}}}
|Note=markdown-alert-note
|note=注意
|Tip=markdown-alert-tip
|tip=提示
|Important=markdown-alert-important
|important=重要
|Warning=markdown-alert-warning
|warning=警告
|Caution=markdown-alert-caution
|caution=谨慎
|Custom=markdown-alert-custom
|custom=备注
|#default=
}}}}}</p><p>{{{2|}}}</p></div></includeonly><noinclude>{{Documentation}}</noinclude>
}}"><p class="markdown-alert-title">{{#switch:{{{1|}}}
|Note={{#Widget:{{{1|}}} Icon}}
|Tip={{#Widget:{{{1|}}} Icon}}
|Important={{#Widget:{{{1|}}} Icon}}
|Warning={{#Widget:{{{1|}}} Icon}}
|Caution={{#Widget:{{{1|}}} Icon}}
|Custom|#default=
}}{{{3|{{{1|}}}}}}</p><p>{{{2|}}}</p></div></includeonly><noinclude><h2>Hello</h2>
{{Alert|Note|Highlights information that users should take into account, even when skimming.}}
{{Alert|Tip|Optional information to help a user be more successful.}}
{{Alert|Important|Crucial information necessary for users to succeed.}}
{{Alert|Warning|Critical content demanding immediate user attention due to potential risks.}}
{{Alert|Caution|Negative potential consequences of an action.}}
<h2>Custom</h2>
{{Alert|Note|With <code>markers: '*'</code> case of chars is not required and titles are supported.|My title}}
{{Alert|Custom|Also any other alert name is allowed.}}</noinclude>

2026年2月16日 (一) 23:32的最新版本

[ 查看 | 编辑 | 历史 | 刷新 ]文档页面

本模板用于展示提示信息。

基础用法

{{Alert|Note|即使用户快速浏览时也应考虑的重要信息|注意}}

注意

即使用户快速浏览时也应考虑的重要信息

{{Alert|Tip|帮助用户更高效完成任务的可选信息|提示}}

提示

帮助用户更高效完成任务的可选信息

{{Alert|Important|用户成功操作所必需的关键信息|重要}}

重要

用户成功操作所必需的关键信息

{{Alert|Warning|因存在潜在风险而需要用户立即关注的关键内容|警告}}

警告

因存在潜在风险而需要用户立即关注的关键内容

{{Alert|Caution|某项操作可能导致的负面后果|谨慎}}

谨慎

某项操作可能导致的负面后果

格式自定义

{{Alert|Note|支持 code 标签和自定义标题|我的标题}}

我的标题

支持 code 标签和自定义标题

{{Alert|Custom|也可以使用任意其他提示名称|自定义}}

自定义

也可以使用任意其他提示名称

[ 查看 | 编辑 | 历史 | 刷新 ]上述文档的内容来自模板:Alert/doc