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

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

来自医林拾薪
wmuwiki>Cirno.9
无编辑摘要
 
无编辑摘要
 
(未显示同一用户的5个中间版本)
第1行: 第1行:
这是 {{Tl|Ambox}} (文章提示信息框)模板的源模板。这个模板依赖一下CSS配置:[[MediaWiki:Gadget-enwp-boxes.css]] ,这些配置已经被加载在Common.css中。
<noinclude>[[分类:提示框模板]]</noinclude>
这是 {{Tl|提示框}} (文章提示信息框)模板的源模板。这个模板依赖以下CSS配置:[[模板:提示框/styles.css]]  


=== <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.
}}
}}
{{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.
}}
}}
{{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
第39行: 第40行:
}}
}}


If no <code>type</code> parameter is given the template defaults to {{para|type|notice}}.
If no <code>type</code> parameter is given the template defaults to "notice".

2023年5月29日 (一) 03:05的最新版本

这是 {{提示框}} (文章提示信息框)模板的源模板。这个模板依赖以下CSS配置:模板:提示框/styles.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 "notice".