Difference between revisions of "Template:Correct username/doc"
Jump to navigation
Jump to search
imported>Timrollpickering m (update cat) |
imported>Ili Sanchea |
||
| 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|Benzo[a]pyrene|reason=bracket}}</nowiki></code> | :<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: King of Swing|reason=:}}</nowiki></code> | :<code><nowiki>{{Correct username|DK: King of Swing|reason=:}}</nowiki></code> | ||
| − | {{ | + | {{correct username|DK: king of Swing|reason=:}} |
Revision as of 18:46, 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