More actions
Usage
To use, simply place the following at the top of the page:
{{wrongname|workaround=}} in certain circumstances, an additional variable may be needed: {{wrongname|workaround=|title=}}
The variable, workaround, allows the user to enter a way to represent the name properly.
To remove the instructions for {{cs}}, include cs=n
.
Most cases
In most cases, characters not permitted in page titles can nevertheless be typed directly into workaround. So, to represent "Man #2" — a fairly widespread usage in the end credits of DWU credits — one would title the page Man 2 (episode name), and then add this template to the top of it, like this:
{{wrongname|workaround=Man #2 (episode name)}}
All the following characters can be used in the same fashion as the pound/hash mark seen above:
- #
- <
- >
- [
- ]
- {
- }
Use with pipes (|)
Pipes are special symbols that usually do not print. They also have special meaning with respect to page titles. Therefore, they require a slightly more elaborate use of this template. So far, the only real example of a pipe in a topic's title on this wiki is 2 entertain. Thus we shall look at it as a model of how to handle the pipe case.
The only way to get the pipe to render is to use Template:!. However, because 2|entertain requires this additional template, it also requires an additional variable to be used with template:wrongname. Thus, the full markup for use on a page that requires a pipe character follows this pattern:
-
{{wrongname
|workaround=2<nowiki>{{!}}</nowiki>entertain
|title=2{{!}}entertain}}
-
{{wrongname
In this instance, workaround requires nowiki codes in order to actually show the {{!}} markup, while title does not include nowiki codes, in order to show the title properly rendered with wiki code.
Sample output
[[Wrongname|Project: Lazarus]]
, or {{cs|Wrongname|Project: Lazarus}}
if making use of {{cite source}}.Note in the sample output at right that the template defaults to using workaround in two places. If title is defined, then it will replace the first instance of workaround.