Difference between revisions of "Template:Bot use warning"

From blackwiki
Jump to navigation Jump to search
imported>Xiplus
imported>Hellknowz
(non-overridden default can be the actual namespace)
Line 1: Line 1:
 
{{Cmbox|
 
{{Cmbox|
 
type=notice|
 
type=notice|
text=<div style="text-align: center;"><span style="font-size: larger;">'''This {{{namespace|category}}} {{#ifeq: {{{subcats|}}} | yes | and subcategories are | is }} used by one or more [[Wikipedia:Bots|bots]].'''</span>
+
text=<div style="text-align: center;"><span style="font-size: larger;">'''This {{{namespace|{{lc:{{NAMESPACE}}}}}}} {{#ifeq: {{{subcats|}}} | yes | and subcategories are | is }} used by one or more [[Wikipedia:Bots|bots]].'''</span>
 
-----
 
-----
If you intend to change this {{{namespace|category}}} in any significant way, please inform the bot operators. {{#if:{{{bot|{{{bots|}}}}}}|The relevant bots are: {{{bot|{{{bots}}}}}}.}}</div>}}<noinclude>
+
If you intend to change this {{{namespace|{{lc:{{NAMESPACE}}}}}}} in any significant way, please inform the bot operators. {{#if:{{{bot|{{{bots|}}}}}}|The relevant bots are: {{{bot|{{{bots}}}}}}.}}</div>}}<noinclude>
 
* Use {{Para|subcats|yes}} to show "This category and subcategories are used by..." instead.
 
* Use {{Para|subcats|yes}} to show "This category and subcategories are used by..." instead.
 
* Use {{Para|bots|*[[User:ExampleBot]] operated by [[User:Example]]}} to list bot usernames
 
* Use {{Para|bots|*[[User:ExampleBot]] operated by [[User:Example]]}} to list bot usernames

Revision as of 16:39, 23 February 2019

  • Use |subcats=yes to show "This category and subcategories are used by..." instead.
  • Use |bots=*User:ExampleBot operated by User:Example to list bot usernames
  • Use |namespace=template to show "This template is...". Other values can be substituted here.