{{portal maintenance status}}提供主题首页维护状态,应置于主题首页或其讨论页顶部。

用法

编辑
{{Portal maintenance status |{{subst:DATE}} |maintainer1= |maintainer2= |maintainer3= |maintainer4= |manual= |upgrade= |notes= |update= |broken= |nonstandard= |incomplete= |subpages= 
}}

{{Portal maintenance status 
|{{subst:DATE}} 
|maintainer1= 
|maintainer2= 
|maintainer3= 
|maintainer4= 
|manual= 
|upgrade= 
|notes=
|update=
|broken= 
|nonstandard= 
|incomplete= 
|subpages= 
}}

可选参数

编辑

The following parameters should be populated, where possible:

  • |date= Date of last template update
  • |maintainer[1-4]=Example: Used to specify users who look after the portal in question.
  • |subpages= Subpage triage status
    Set to untriaged or yes (or leave unset) if the subpages have not yet been checked.
    Once a portal's subpages have been checked, set to:
    checked or triaged or keep (or any other value): if any unneeded subpages have been removed.
    none or single or singlepage or no: if the portal has a single page layout (no subpages exist).

This template can also hold miscellaneous notes:

  • |notes=Text goes here: to record notes in plain text or even wikitext markup.

Include the following parameters, if they are applicable; otherwise, omit the parameter (or set to no)

  • |manual=yes (or any other value): Portal is manually maintained. You should specify at least one maintainer using the |maintainer[1-4]= parameter.
  • |upgrade=yes (or any other value): Portal needs upgrading. Use the |notes= field to elaborate.
  • |update=yes (or any other value): Portal needs updating. Use the |notes= field to elaborate.
  • |broken= Portal has issues needing attention. Use the |notes= field to elaborate.
    Set to yes, major or serious: for portals that have errors or major problems, such as Lua timeouts, template parsing limits exceeded, or completely wrecked layout
    Set to minor, access or layout: for portals that have minor problems, such as accessibility issues or minor layout issues
  • |nonstandard=yes (or any other value): Portal has a nonstandard layout
  • |incomplete=yes (or any other value): Portal is under construction or incomplete

别名

编辑

Template:WPBannerDoc/alias

如何更新主题的维护信息

编辑

To change the maintenance information for a portal:

  1. Edit the portal using source editor (edit source tab on the portal)
  2. In the first few lines of the edit box (not inside of a table or another template), there should be this template ({{Portal maintenance status}})
  3. Edit the parameters of this template to change the information as needed; what each parameter does is described above in #Usage.

Tracking categories

编辑

When in portal space, this template populates the following hidden categories (or their subcategories):

显示

编辑

默认情况下,本模板在主题页面不输出显示内容

  • To show hidden categories, enable that setting in your preferences ("Appearance" tab, checkbox under "Advanced options")
  • To show a message box like the examples below, add the following line to your personal CSS:
    div.portal-maintenance-status { display:block !important }
    
  • Alternatively, the messages may be viewed on portal talk pages, inside the {{WikiProject Portals}} banner (which automatically transcludes them)

示例

编辑

{{Portal maintenance status|date=2024年11月|maintainer1=Example}}

{{Portal maintenance status|date=2024年11月|manual=yes}}

{{Portal maintenance status|date=2024年11月|broken=yes}}

{{Portal maintenance status|date=2024年11月|broken=minor}}

{{Portal maintenance status|date=2024年11月|nonstandard=yes}}

{{Portal maintenance status|date=2024年11月|incomplete=yes}}

{{Portal maintenance status|date=2024年11月|subpages=checked}}

{{Portal maintenance status|date=2024年11月|subpages=none}}

{{Portal maintenance status|date=2024年11月|upgrade=yes}}

{{Portal maintenance status|date=2024年11月|update=yes}}

{{Portal maintenance status|date=2024年11月|notes=This is a test note.}}

{{Portal maintenance status|date=2024年11月|manual=yes|maintainer1=Example|broken=yes|nonstandard=yes|incomplete=yes|subpages=checked|notes=(some lorem text, you get the idea)}}

模板数据

编辑
TemplateData
以下是该模板的模板数据,适用于可视化编辑器等工具。

Portal maintenance status模板数据

Hidden notice box used to record portal maintenance metadata

模板参数

此模板首选参数不换行的行内格式。

参数描述类型状态
Manually maintainedmanual

Mark portals that are manually maintained

默认值
no
示例值
manual=yes
布尔可选
Brokenbroken

Mark portals with errors or layout issues needing attention

默认值
(empty)
示例值
broken=yes, broken=minor
字符串可选
Non-standardnonstandard

Mark portals with significantly unique layout or markup

默认值
no
示例值
nonstandard=yes
布尔可选
Subpagessubpages

Subpage triage status

默认值
untriaged
示例值
subpages=single, subpages=triaged
字符串推荐
Incompleteincomplete

Mark portals that are incomplete or under construction

默认值
no
示例值
incomplete=yes
布尔可选
Datedate

Date of template placement

示例值
date=April 2018, date={{subst:DATE}}
日期推荐
Embedembed

Used to embed this template in the WikiProject Portals banner

默认值
no
示例值
embed=yes
布尔可选
Additional Notenote notes

Free-form notes field, can accept wikitext.

默认值
(empty)
示例值
note=This is a test note.
字符串可选
Portal Maintainermaintainer maintainer1

Name of primary portal maintainer. Marks the portal as manually maintained.

默认值
(empty)
示例值
maintainer=Example
用户推荐
Portal Maintainer 2maintainer2

See 'maintainer'

默认值
(empty)
用户可选
Portal Maintainer 3maintainer3

See 'maintainer'

默认值
(empty)
用户可选
Portal Maintainer 4maintainer4

See 'maintainer'

默认值
(empty)
用户可选
upgradeupgrade

无描述

未知可选
updateupdate

无描述

未知可选

参见

编辑