Difference between revisions of "Template:Correct username/doc"
Jump to navigation
Jump to search
imported>Ili Sanchea (→Usage) |
imported>Shellwood m (Reverted edits by Ili Sanchea (talk) to last version by Timrollpickering) |
||
Line 6: | Line 6: | ||
* '''Attention: Please do not [[WP:SUBST|subst]] this template.''' | * '''Attention: Please do not [[WP:SUBST|subst]] this template.''' | ||
− | Simply add the tag <code>{{tl2| | + | Simply add the tag <code>{{tl2|Correct username|Correct username}}</code> at the top of a page. |
===Examples=== | ===Examples=== | ||
For issues with the ([[Number sign|#]]) sign, pass the {{para|reason|#}} parameter: | For issues with the ([[Number sign|#]]) sign, pass the {{para|reason|#}} parameter: | ||
− | :<code><nowiki>{{ | + | :<code><nowiki>{{Correct username|C# (programming language)|reason=#}}</nowiki></code> |
− | {{ | + | {{Correct username|C# (programming language)|reason=#}} |
For issues with any of ([[bracket|< > [ ] { }]]), pass the {{para|reason|bracket}} parameter: | For issues with any of ([[bracket|< > [ ] { }]]), pass the {{para|reason|bracket}} parameter: | ||
− | :<code><nowiki>{{Correct username| | + | :<code><nowiki>{{Correct username|Benzo[a]pyrene|reason=bracket}}</nowiki></code> |
− | {{ | + | {{Correct username|Benzo[a]pyrene|reason=bracket}} |
For issues with :, pass the {{para|reason|:}} parameter: | For issues with :, pass the {{para|reason|:}} parameter: | ||
− | :<code><nowiki>{{Correct username|DK: | + | :<code><nowiki>{{Correct username|DK: King of Swing|reason=:}}</nowiki></code> |
− | {{ | + | {{Correct username|DK: King of Swing|reason=:}} |
For issues with _, pass the {{para|reason|_}} parameter: | For issues with _, pass the {{para|reason|_}} parameter: | ||
:<code><nowiki>{{Correct username|FOO____BAR|reason=_}}</nowiki></code> | :<code><nowiki>{{Correct username|FOO____BAR|reason=_}}</nowiki></code> | ||
− | {{Correct username| | + | {{Correct username|FOO____BAR|reason=_}} |
Revision as of 18:51, 17 January 2020
![]() | This is a documentation subpage for Template:Correct username. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- Attention: Please do not subst this template.
Simply add the tag
at the top of a page.
{{Correct username|Correct username}}
Examples
For issues with the (#) sign, pass the |reason=#
parameter:
{{Correct username|C# (programming language)|reason=#}}
For issues with any of (< > [ ] { }), pass the |reason=bracket
parameter:
{{Correct username|Benzo[a]pyrene|reason=bracket}}
For issues with :, pass the |reason=:
parameter:
{{Correct username|DK: King of Swing|reason=:}}
For issues with _, pass the |reason=_
parameter:
{{Correct username|FOO____BAR|reason=_}}
The template can also be used without a reason, when produces:
See also