Difference between revisions of "Template:Bot operator topicon/doc"

From blackwiki
Jump to navigation Jump to search
(000)
imported>Bsherr
(Improving documentaton for parameter, converting to BASEPAGENAME, correcting template name in one instance)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories go where indicated at the boSAttom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
+
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
  
 
This template is not blank, it adds a little icon in the top-right corner. See?
 
This template is not blank, it adds a little icon in the top-right corner. See?
Line 7: Line 7:
  
 
== Usage ==
 
== Usage ==
Place {{Tl|Bot operator topicon}} anywhere on your user page. If specified with an unnamed parameter, the param is assumed to be the bot. A wikilink is generated to <code>User:{{{1}}}</code>.
+
Place {{Tlc|{{BASEPAGENAME}}}} anywhere on your user page.
 +
 
 +
{| class="wikitable"
 +
|-
 +
! Use !! Top icon [[Help:Link#Wikilinks|links]] to !! Tooltip displays
 +
|-
 +
| {{tlc|{{BASEPAGENAME}}}} || [[Wikipedia:Bots]] || This user is a bot operator.
 +
|-
 +
| {{tlc|{{BASEPAGENAME}}|<var>Example Bot</var>}} || User:<var>Example Bot</var> || This user operates a bot, <var>Example Bot</var>.
 +
|}
  
 
This icon is based on {{Tl|Top icon}}.
 
This icon is based on {{Tl|Top icon}}.
 
<pre style="overflow:auto">
 
<pre style="overflow:auto">
{{Bot topicon
+
{{Bot operator topicon
 
| nocat = yes        = disables the automatically added category (default = no)
 
| nocat = yes        = disables the automatically added category (default = no)
 
| sortkey =          = custom sorting - the relative position of topicons on the page (alphabetical)
 
| sortkey =          = custom sorting - the relative position of topicons on the page (alphabetical)
Line 27: Line 36:
 
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
 
<!-- Categories go below this line, please; interwikis go to Wikidata, thank you! -->
 
[[Category:User top icon usergroup templates]]
 
[[Category:User top icon usergroup templates]]
[[Category:Wikipedia bot-related templates]]
+
[[Category:Bot user templates]]
[[Category:Wikipedia-related user templates]]
 
  
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 17:23, 30 November 2018

This template is not blank, it adds a little icon in the top-right corner. See?

This template adds your username to Category:Wikipedia bot operators.

Usage

Place {{Bot operator topicon}} anywhere on your user page.

Use Top icon links to Tooltip displays
{{Bot operator topicon}} Wikipedia:Bots This user is a bot operator.
{{Bot operator topicon|Example Bot}} User:Example Bot This user operates a bot, Example Bot.

This icon is based on {{Top icon}}.

{{Bot operator topicon
| nocat = yes         = disables the automatically added category (default = no)
| sortkey =           = custom sorting - the relative position of topicons on the page (alphabetical)
}}

See also