Template:Noop
Documentation
This template outputs an empty <nowiki></nowiki> element (which does not end up in the final HTML rendering of the page calling the template). Its purpose is to separate pieces of text that would otherwise be misinterpreted (when adjacent to each other) as some kind of special wiki syntax (see examples below). This problem is often encountered in template code (i.e., in pages in the Template: namespace), but occasionally comes up in articles, as well.
The name of this template is based on the phrase "no operation" (i.e., don't do anything).
Usage
{{noop}}{{noop|short explantion}}
Any input to the template is ignored. This means that it can be used to place short explanatory notes to editors. When used in this way (second form above), you should generally limit yourself to explaining the purpose of the template call itself.
Two other templates that are redirects to this one, {{note to editors}} and the more emphatic {{NOTE TO EDITORS}}, can be used to leave more general notes:
{{note to editors|helpful info}}{{NOTE TO EDITORS|important warning}}
Examples
[https:/{{noop}}/tv2.no/]⇒ [https://tv2.no/][https:/{{noop|so this isn't an active link}}/tv2.no/]⇒ [https://tv2.no/]
The point here is to show the full URL in square brackets, but not as an operational link. Without the use of this template, you would get this:
[https://tv2.no/]⇒ [1]
Which is not at all what was intended.
If you want the URL to be shown as a working link, that takes some doing. It's easy to do this:
[{{noop}}https://tv2.no/]⇒ [https://tv2.no/]
But that doesn't follow the convention of this wiki to show external links in our own style. To accomplish that, you have to do something like:
[{{xl|url=https://tv2.no/|linktext=https:/{{noop}}/tv2.no/]⇒ [https://tv2.no/↗]
This is so awkward because the {{xl}} template currently doesn't provide any (automatic) way to use the URL as the linktext without having it show up as a working link. This might be changed "soon".
Note to editors
Example of how one of this template's aliases could be used to provide a note to future editors of a page:
…in a private YouTube video.{{NOTE TO EDITORS|don't link to the video}}
Aliases
{{null}}{{note to editors}}{{NOTE TO EDITORS}}