Template:Emergency-bot-shutoff: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<div class="plainlinks plainlinks2" style="text-align:center;">
<div class="plainlinks plainlinks2" style="text-align:center;">
<strong style="font-size: 2em;">{{#if:{{{titlename|}}|{{emergency-bot-shutoff/strings|title|{{{titlename}}} }}|{{emergency-bot-shutoff/strings|title}} }}</strong>
<strong style="font-size: 2em;">{{#if:{{{titlename|}}|{{emergency-bot-shutoff/strings|title|titlename={{{titlename}}} }}|{{emergency-bot-shutoff/strings|title}} }}</strong>


[[{{{icon|File:Shutdown button.png}}}|{{{buttonsize|128}}}px|{{emergency-bot-shutoff/strings|alt button text}}|link={{#ifeq:{{FULLPAGENAME}}|Template:Emergency-bot-shutoff||{{{shutoff|{{fullurl:User:{{BASEPAGENAMEE}}/Shutdown|action=edit&section=new&preload=Template:emergency-bot-shutoff/preload}} }}} }}]]
[[{{{icon|File:Shutdown button.png}}}|{{{buttonsize|128}}}px|{{emergency-bot-shutoff/strings|alt button text}}|link={{#ifeq:{{FULLPAGENAME}}|Template:Emergency-bot-shutoff||{{{shutoff|{{fullurl:User:{{BASEPAGENAMEE}}/Shutdown|action=edit&section=new&preload=Template:emergency-bot-shutoff/preload}} }}} }}]]


{{emergency-bot-shutoff/strings|description|{{#if:{{{name|}}|{{emergency-bot-shutoff/strings|title|{{{name}}} }}|{{emergency-bot-shutoff/strings|title}} }} }}
{{emergency-bot-shutoff/strings|description|{{#if:{{{name|}}|{{emergency-bot-shutoff/strings|title|name={{{name}}} }}|{{emergency-bot-shutoff/strings|title}} }} }}
</div><noinclude>{{doc}}</noinclude>
</div><noinclude>{{doc}}</noinclude>

Revision as of 17:52, 6 January 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

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