Difference between revisions of "Template:Bot/doc"
Jump to navigation
Jump to search
imported>Dispenser m (Copied from Talk page) |
imported>Dispenser (Updated documentation) |
||
| Line 6: | Line 6: | ||
<!-- explain what this template does; use it in a sentence --> | <!-- explain what this template does; use it in a sentence --> | ||
| − | == | + | == Parameters == |
| − | + | ; 1 : The first unnamed parameter specifies the operator of the bot. | |
| − | + | ; site : The two letter code for those operators that do not have an account on the English language Wikipedia. | |
| − | |||
== Example == | == Example == | ||
<!-- for the documentation don't subst the result --> | <!-- for the documentation don't subst the result --> | ||
{| {{easytable}} | {| {{easytable}} | ||
| − | + | ! Code | |
| − | + | ! Result | |
|- | |- | ||
| − | | valign="top" | {{tlp|{{PAGENAME}}| | + | | valign="top" | <code>{{tlp|{{PAGENAME}}|John Smith}}</code> |
| − | {{msg:{{ | + | | |
| + | {{msg:{{BASEPAGENAME}}|John Smith}} | ||
|- | |- | ||
| − | | valign="top" | {{tlp|{{PAGENAME}}|<nowiki> | + | | valign="top" | <code>{{tlp|{{PAGENAME}}|<nowiki>John Smith|site=en</nowiki>}}</code> |
| − | {{msg:{{ | + | | |
| + | {{msg:{{BASEPAGENAME}}|John Smith|site=en}} | ||
|} | |} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<includeonly> | <includeonly> | ||
Revision as of 15:35, 17 May 2007
Template:Template doc page viewed directly
{{bot/doc}} — An information box indication a user as a bot
Parameters
- 1
- The first unnamed parameter specifies the operator of the bot.
- site
- The two letter code for those operators that do not have an account on the English language Wikipedia.
Example
| Code | Result | |||
|---|---|---|---|---|
{{Bot/doc|John Smith}}
|
| |||
{{Bot/doc|John Smith|site=en}}
|
|
