跳至內容

模板: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.