Template:Bot: Difference between revisions
Dat Hack3r (talk | contribs) (Added "by" parameter.) |
Dat Hack3r (talk | contribs) (Added messages for administrators.) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Ombox | {{Ombox | ||
| type | | type = notice | ||
| image | | image = [[File:Gnome-system-run.svg|alt=Bot|link=]] | ||
| text | | text = '''This user account is a [[MW:Manual:Bots|bot]]{{#if:{{{by|}}}|<nowiki /> {{{by}}}|{{#if:{{{1|}}}|<nowiki /> operated by [[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]])|}}}}.''' It is not a {{wp|sock puppet account}}, but rather an account for making automated or semi-automated edits. {{{more|}}} | ||
{{#if:{{{status|}}}|{{#switch:{{{status}}} | |||
| active = {{ombox|image=[[File:{{{boximage|Check icon.svg}}}|40px|alt=Check icon|link=]]|style=background-color: #ecfcf4;|text=This bot is approved and {{bxt|active}}, meaning it is currently operational and performing automated edits.<includeonly>{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|[[Category:Active Wiki bots]]}}</includeonly>}}<small>''Administrators: if this bot is malfunctioning or causing harm, please [https://wiki.ourworldoftext.com/wiki/Special:Block/wpTarget={{BASEPAGENAME}}&wpExpiry=indefinite&wpAnonOnly=0&wpHardBlock=1&wpAutoBlock=0&wpCreateAccount=0&wpReason=other&wpReason-other=Bot%20malfunctioning:%20 block it].''</small> | |||
| inactive = {{ombox|image=[[File:{{{boximage|Ambox clock.svg}}}|40px|alt=Clock icon|link=]]|style=background-color: #d8e8ff;|text=This bot is approved but {{!bxt|inactive}}, meaning it is not currently operational but may be active in the future. {{#if:{{{last_edited|}}}|Its last automated edit was made at '''{{{last_edited}}}'''; any subsequent edits were ''not'' made automatically and should not be treated as such.}}<includeonly>{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|[[Category:Inactive Wiki bots]]}}</includeonly>}} | |||
| retired = {{ombox|image=[[File:Ambox padlock gray.svg|40px|alt=Check icon|link=]]|style=background-color: #efefef;|text=This bot is approved but {{bxtd|retired}}, meaning it is no longer in use and will not resume activity. {{#if:{{{last_edited|}}}|Its last automated edit was made at '''{{{last_edited}}}'''; any subsequent edits were ''not'' made automatically and should not be treated as such.}}<includeonly>{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|[[Category:Retired Wiki bots]]}}</includeonly>}} | |||
| unapproved = {{ombox|image=[[File:{{{boximage|Ambox question.svg}}}|40px|alt=Question mark icon|link=]]|style=background-color: #f8eaba;|text=This bot is {{bxtn|unapproved}} but awaiting approval, meaning it is not currently operational but may be active in the future.<includeonly>{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|[[Category:Wiki bots awaiting approval]]}}</includeonly>}}<small>''Administrators: to approve this bot, add {{tlx|Approval|approved}} to its [[{{TALKPAGENAME}}|talk page]] and replace this notice with {{tlx|nolink=yes|Bot{{#if:{{{1|}}}|{{!}}{{{1}}}}}{{#if:{{{by|}}}|{{!}}by{{=}}{{{by}}}}}|status{{=}}inactive{{#if:{{{last_edited|}}}|{{!}}last_edited{{=}}{{{last_edited}}}}}{{#if:{{{more|}}}|{{!}}more{{=}}{{{more}}}}}}}. To deny approval to this bot, add {{tlx|Approval|denied}} to its [[{{TALKPAGENAME}}|talk page]] and replace this notice with {{tlx|nolink=yes|Bot{{#if:{{{1|}}}|{{!}}{{{1}}}}}{{#if:{{{by|}}}|{{!}}by{{=}}{{{by}}}}}|status{{=}}denied{{#if:{{{last_edited|}}}|{{!}}last_edited{{=}}{{{last_edited}}}}}{{#if:{{{more|}}}|{{!}}more{{=}}{{{more}}}}}}}.''</small> | |||
| denied = {{ombox|image=[[File:{{{boximage|Deletion icon.svg}}}|40px|alt=X mark icon|link=]]|style=background-color: #ffdbdb;|text=This bot has been {{!bxt|denied approval}}, meaning it has not been approved to make automated edits, should not be in use, and should not be used unless the bot is reviewed again and approved.<includeonly>{{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}|[[Category:Wiki bots denied approval]]}}</includeonly>}} | |||
}}}} | |||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 13:21, 3 December 2024
This user account is a bot. It is not a sock puppet account, but rather an account for making automated or semi-automated edits. |
{{Bot}}
generates an information box that indicates that the editor is not a human and actually an automatic process assigned to do automated tasks on this Wiki. All parameters are optional.
The first unnamed parameter specifies the operator of the bot; it does not have to be specified if the operator of the bot does not have an account on this Wiki. |by=
, if specified, overrides the usual display of the operator's username in the first line generated from the first unnamed parameter.
{{Bot|John Smith}}
→
This user account is a bot operated by John Smith (talk). It is not a sock puppet account, but rather an account for making automated or semi-automated edits. |
{{Bot|John Smith|by=owned by [[User:John Smith|]] ([[User talk:John Smith|talk]]) but run by the community}}
→
This user account is a bot owned by John Smith (talk) but run by the community. It is not a sock puppet account, but rather an account for making automated or semi-automated edits. |
|status=
specifies the status of the bot, which can be either active
, inactive
, unapproved
(i.e., awaiting approval), denied
, or retired
.
{{Bot|John Smith|status=active}}
→
This user account is a bot operated by John Smith (talk). It is not a sock puppet account, but rather an account for making automated or semi-automated edits.
|
{{Bot|John Smith|status=inactive}}
→
This user account is a bot operated by John Smith (talk). It is not a sock puppet account, but rather an account for making automated or semi-automated edits.
|
{{Bot|John Smith|status=unapproved}}
→
This user account is a bot operated by John Smith (talk). It is not a sock puppet account, but rather an account for making automated or semi-automated edits.
{{Approval|approved}} to its talk page and replace this notice with {{Bot|John Smith|status=inactive}} . To deny approval to this bot, add {{Approval|denied}} to its talk page and replace this notice with {{Bot|John Smith|status=denied}} . |
{{Bot|John Smith|status=denied}}
→
This user account is a bot operated by John Smith (talk). It is not a sock puppet account, but rather an account for making automated or semi-automated edits.
|
{{Bot|John Smith|status=retired}}
→
This user account is a bot operated by John Smith (talk). It is not a sock puppet account, but rather an account for making automated or semi-automated edits.
|
If the bot is inactive or retired, |last_edited=
can be specified to indicate when the bot's last automated edit was. Use the timestamp present in the bot's user contributions page.
{{Bot|John Smith|status=inactive|last_edited=00:00, January 01, 2000}}
→
This user account is a bot operated by John Smith (talk). It is not a sock puppet account, but rather an account for making automated or semi-automated edits.
|
{{Bot|John Smith|status=retired|last_edited=00:00, January 01, 2000}}
→
This user account is a bot operated by John Smith (talk). It is not a sock puppet account, but rather an account for making automated or semi-automated edits.
|
Any additional information can be specified using |more=
.
{{Bot|John Smith|status=unapproved|more=The bot is undergoing testing.}}
→
This user account is a bot operated by John Smith (talk). It is not a sock puppet account, but rather an account for making automated or semi-automated edits. The bot is undergoing testing.
{{Approval|approved}} to its talk page and replace this notice with {{Bot|John Smith|status=inactive|more=The bot is undergoing testing.}} . To deny approval to this bot, add {{Approval|denied}} to its talk page and replace this notice with {{Bot|John Smith|status=denied|more=The bot is undergoing testing.}} . |
TemplateData
This template generates an information box that indicates that the editor is not a human and actually an automatic process assigned to do automated tasks on this Wiki. All parameters are optional.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Bot operator | 1 | The operator of the bot; does not have to be specified if the operator of the bot does not have an account on this Wiki.
| User | suggested |
Custom operator display | by | Overrides the usual display of the operator's username in the first line generated from parameter, "bot operator".
| String | optional |
Bot status | status | The status of the bot, which can be either active, inactive, unapproved (i.e., awaiting approval), denied, or retired.
| String | suggested |
Date and time of last automated edit | last_edited | Indicates when the bot's last automated edit was if the bot is inactive or retired. Use the timestamp present in the bot's contributions page.
| Date | optional |
Additional information | more | Use to specify any additional information.
| String | optional |