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

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Wikipedia port|documentation=1}}
== 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 [[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"
: Replaces "bot" in "Emergency bot shutoff button".


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

Revision as of 17:59, 6 January 2024

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 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