更多操作
小 (Cirno.9移动页面模板:Ambox/doc至模板:提示框/doc,不留重定向) |
无编辑摘要 |
||
(未显示同一用户的3个中间版本) | |||
第1行: | 第1行: | ||
这是 {{Tl| | <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. | ||
{{ | {{提示框 | ||
|nocat=true | |nocat=true | ||
| type = speedy | | type = speedy | ||
| text = type=<u>speedy</u> — Speedy deletion issues | | text = type=<u>speedy</u> — Speedy deletion issues. | ||
}} | }} | ||
{{ | {{提示框 | ||
|nocat=true | |nocat=true | ||
| type = delete | | type = delete | ||
| text = type=<u>delete</u> — Deletion issues, such as | | text = type=<u>delete</u> — Deletion issues, such as. | ||
}} | }} | ||
{{ | {{提示框 | ||
|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}}. | ||
}} | }} | ||
{{ | {{提示框 | ||
|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}}. | ||
}} | }} | ||
{{ | {{提示框 | ||
|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}}. | ||
}} | }} | ||
{{ | {{提示框 | ||
|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}}. | ||
}} | }} | ||
{{ | {{提示框 | ||
|nocat=true | |nocat=true | ||
| type = protection | | type = protection | ||
第39行: | 第40行: | ||
}} | }} | ||
If no <code>type</code> parameter is given the template defaults to | 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".