打开/关闭菜单
Toggle preferences menu
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:提示框/doc:修订间差异

来自医林拾薪
(Cirno.9移动页面模板:Ambox/doc模板:提示框/doc,不留重定向)
无编辑摘要
第3行: 第3行:
=== <code>type</code> ===
=== <code>type</code> ===
The <code>type</code> parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.
The <code>type</code> parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below.
{{Ambox
{{提示框
|nocat=true
|nocat=true
| type  = speedy
| type  = speedy
| text  = type=<u>speedy</u> — Speedy deletion issues, such as {{tl|speedy}}.
| text  = type=<u>speedy</u> — Speedy deletion issues, such as {{tl|speedy}}.
}}
}}
{{Ambox
{{提示框
|nocat=true
|nocat=true
| type  = delete
| type  = delete
| text  = type=<u>delete</u> — Deletion issues, such as {{tl|delete}}.
| text  = type=<u>delete</u> — Deletion issues, such as {{tl|delete}}.
}}
}}
{{Ambox
{{提示框
|nocat=true
|nocat=true
| type  = content
| type  = content
| text  = type=<u>content</u> — Content issues, such as {{tl|Update}} and {{tl|Expand}}.
| text  = type=<u>content</u> — Content issues, such as {{tl|Update}} and {{tl|Expand}}.
}}
}}
{{Ambox
{{提示框
|nocat=true
|nocat=true
| type  = style
| type  = style
| text  = type=<u>style</u> — Style issues, such as {{tl|cleanup}} and {{tl|Documentation needed}}.
| text  = type=<u>style</u> — Style issues, such as {{tl|cleanup}} and {{tl|Documentation needed}}.
}}
}}
{{ambox
{{提示框
|nocat=true
|nocat=true
| type  = notice
| type  = notice
| text  = type=<u>notice</u> — Notices, such as {{tl|Extension exception}} and {{tl|Translating}}.
| text  = type=<u>notice</u> — Notices, such as {{tl|Extension exception}} and {{tl|Translating}}.
}}
}}
{{Ambox
{{提示框
|nocat=true
|nocat=true
| type  = move
| type  = move
| text  = type=<u>move</u> — Merge, split and transwiki proposals, such as {{tl|Merge}} and {{tl|Move to Commons}}.
| text  = type=<u>move</u> — Merge, split and transwiki proposals, such as {{tl|Merge}} and {{tl|Move to Commons}}.
}}
}}
{{Ambox
{{提示框
|nocat=true
|nocat=true
| type  = protection
| type  = protection

2023年5月29日 (一) 02:17的版本

这是 {{Ambox}} (文章提示信息框)模板的源模板。这个模板依赖一下CSS配置:MediaWiki:Gadget-enwp-boxes.css ,这些配置已经被加载在Common.css中。

type

The type parameter defines the colour of the left bar, and the image that is used by default. The type is chosen not on aesthetics but is based on the type of issue that the template describes. The seven available types and their default images are shown below. Lua错误:无法创建进程:proc_open(/home/pi/LUA/error.log): Failed to open stream: 权限不够 Lua错误:无法创建进程:proc_open(/home/pi/LUA/error.log): Failed to open stream: 权限不够 Lua错误:无法创建进程:proc_open(/home/pi/LUA/error.log): Failed to open stream: 权限不够 Lua错误:无法创建进程:proc_open(/home/pi/LUA/error.log): Failed to open stream: 权限不够 Lua错误:无法创建进程:proc_open(/home/pi/LUA/error.log): Failed to open stream: 权限不够 Lua错误:无法创建进程:proc_open(/home/pi/LUA/error.log): Failed to open stream: 权限不够 Lua错误:无法创建进程:proc_open(/home/pi/LUA/error.log): Failed to open stream: 权限不够

If no type parameter is given the template defaults to 模板:Para.