Template:Emergency-bot-shutoff/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Wikipedia port|documentation=1}}
{{doc/subpage}}
Adds a button to a user page that links to User:Username/Shutdown with the preloaded text "Shutdown"
== Parameters ==
== Parameters ==
;{{para|icon|filename}}
;{{para|icon|filename}}
: Replace default icon, for example with {{para|icon|[[:File:Shutdown button red wikimedia.svg|Shutdown button red wikimedia.svg]]}} to get [[File:Shutdown button red wikimedia.svg|x24px]], which doesn't have gradient.
: Replaces the default icon.
: Note that this template does not generate the standard link to the file description page, which is required for attribution and/or notice of license by many common image licenses. Images with [[CC0]] or in the public domain are safe.
: Note that this template does not generate the standard link to the file description page, which is required for attribution and/or notice of license by many common image licenses. Images with {{w|CC0}} or in the public domain are safe.
;{{para|shutoff|link destination}}
;{{para|shutoff|link destination}}
: Adds a note indicating that the bot has custom shutoff options for its tasks, encouraging administrators to prefer shutting off an individual task to blocking the bot. Replace ''link destination'' with either an anchor in-page, or to another page, listing the shutoff options for the tasks.
: The specific page the button links to.
;{{para|name|name of bot}}
;{{para|name|name of bot}}
: Replaces "the bot" with the ''name of bot'' parameter given.
: Replaces "the bot" with the ''name of bot'' parameter given.
;{{para|titlename|user type}}
;{{para|titlename|user type}}
: Replaces "bot" in "Emergency bot shutoff button" with the ''user'' parameter given.
: Replaces "bot" in "Emergency bot shutoff button".


== See also ==
== See also ==
* {{tl2|bot}}
* {{tl2|bot}}

Latest revision as of 17:01, 11 January 2024

Edit-copy.png
This is a documentation subpage for Template:Emergency-bot-shutoff.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Adds a button to a user page that links to User:Username/Shutdown with the preloaded text "Shutdown"

Parameters

|icon=filename
Replaces the default icon.
Note that this template does not generate the standard link to the file description page, which is required for attribution and/or notice of license by many common image licenses. Images with Wikipedia icon CC0 or in the public domain are safe.
|shutoff=link destination
The specific page the button links to.
|name=name of bot
Replaces "the bot" with the name of bot parameter given.
|titlename=user type
Replaces "bot" in "Emergency bot shutoff button".

See also