Template:Wrongname/doc: Difference between revisions
(→Usage) |
(→Usage) |
||
Line 4: | Line 4: | ||
<pre> | <pre> | ||
{{Name impossible | {{Name impossible | ||
|workaround= | |workaround= | ||
}} | }} | ||
</pre> | |||
The variable, '''''workaround''''' allows the user to enter a way to represent the name properly. This generally involves using a tiny template to allow for the proper inclusion of a special character. In the case of [[2 entertain]], the pipe is rendered using [[:Template:!]], thus making the value of '''''workaround''''': <nowiki>2{{!}}entertain</nowiki> | |||
===Future development=== | |||
Though at present this template is really only necessary on this wiki for the one page, it's possible that there may be other cases where it will be necessary to use this template, and to create new templates like [[:template:!]] to allow for the proper rendering of a name. | |||
The following symbols cannot be used in a page title, and would thus require this template, should they be used in the proper spelling/punctuation of a topic's name: | |||
*<nowiki>#</nowiki> - workaround [[:Template:pound]] (also redirected through [[:Template:hash]], for Br. Eng. speakers) | |||
*< - workaround [[:Template:bracketed]] | |||
*> - workaround [[:Template:bracketed]] | |||
*[ - workaround [[:Template:bracketed]] | |||
*] - workaround [[:Template:bracketed]] | |||
*| - workaround [[:Template:!]] | |||
*{ - workaround [[:Template:bracketed]] | |||
*} - workaround [[:Template:bracketed]] | |||
==Sample output== | ==Sample output== | ||
{{Name impossible}} | {{Name impossible}} |
Revision as of 14:58, 12 May 2010
This template should be placed at the top of articles whose names cannot be represented on this wikia due to limitations of the MediaWiki software. A prime example is the article on 2 entertain. The proper spelling of the name involves a pipe (2|entertain, which is not an allowed character in MediaWiki page names.
Usage
To use, simply place the following at the top of the page:
{{Name impossible |workaround= }}
The variable, workaround allows the user to enter a way to represent the name properly. This generally involves using a tiny template to allow for the proper inclusion of a special character. In the case of 2 entertain, the pipe is rendered using Template:!, thus making the value of workaround: 2{{!}}entertain
Future development
Though at present this template is really only necessary on this wiki for the one page, it's possible that there may be other cases where it will be necessary to use this template, and to create new templates like template:! to allow for the proper rendering of a name.
The following symbols cannot be used in a page title, and would thus require this template, should they be used in the proper spelling/punctuation of a topic's name:
- # - workaround Template:pound (also redirected through Template:hash, for Br. Eng. speakers)
- < - workaround Template:bracketed
- > - workaround Template:bracketed
- [ - workaround Template:bracketed
- ] - workaround Template:bracketed
- | - workaround Template:!
- { - workaround Template:bracketed
- } - workaround Template:bracketed