模板:PBB Controls

维基百科,自由的百科全书


前言[编辑]

由于该模板翻译自英文维基百科,并且在英文维基百科中该模板是由相关的机器人使用的,而中文维基百科并没有这样的机器人,因此很可能该模板在现在并不会发挥其原有的作用。然而为了翻译方便,例如不会出现不存在模板,以及未来可能引入该机器人等,因此该模板仍然被翻译并创建。

使用方法[编辑]

该模板除了给蛋白质信息框机器人设定指令之外,没有更多作用。它不会输出任何信息,尽管未来可能会有所改变,例如会显示一个小图标来表明该页面受PBB机器人的监控。

例子:

{{PBB_Controls
| update_page = <yes/no>
| require_manual_inspection = <yes/no>
| update_protein_box = <yes/no>
| update_summary = <yes/no>
| update_citations = <yes/no>
}}

参数解释[编辑]

由于目前该模板实际上并不发挥作用,因此具体参数解释暂不进行翻译,以下为原文内容:

update_page[编辑]

  • This field indicates whether or not User:ProteinBoxBot should update the protein page this control in located in. A value of "Yes" (not caps-sensitive) indicates that this page should be updated. Any other value indicates that this page will not be automatically updated. This value supersedes all other update values on the page when not equal to "yes". Effectively updates are turned off for this page no matter what other update values on the page may indicate. When the value is left as "yes", then it is still possible to stop updates of other sections by setting their values to "no". The default for this value is "yes".

require_manual_inspection[编辑]

  • Even if it is desirable to have Protein Box Bot update the page, a user may feel more comfortable requiring a human operator to look over the changes before those changes are made to the page during an update. Setting this field to a value other than "no" (not caps-sensitive) indicates that protein box bot should require a human operator to approve the potential update to this page. A value of "no" indicates that the bot may continue updating the protein page without seeking human operator approval.

update_protein_box[编辑]

  • If this value is set to "yes", then the Protein Box on this page will be automatically updated by the bot. Any other value indicates that any protein boxes will not be updated.

update_summary[编辑]

  • If this value is set to "yes", then the Protein Summary on this page will be automatically updated by the bot. Any other value indicates that any summaries will not be updated.

update_citations[编辑]

  • If this value is set to "yes", then the bot controlled Citations on this page will be automatically updated by the bot. Any other value indicates that any citation templates will not be updated.

参见[编辑]

Template:GNF_Protein_box, Template:PBB_Further_reading, Template:PBB_Summary.