Difference between revisions of "Template:NoRedLink"

From comp.tf
Jump to navigation Jump to search
(Created page with "{{#ifexist:{{{1|}}}|[[{{{1|}}}]]|{{{1|}}}}}")
 
m (Added documentation)
Line 1: Line 1:
{{#ifexist:{{{1|}}}|[[{{{1|}}}]]|{{{1|}}}}}
+
<includeonly>{{#ifexist:{{{1|}}}|[[{{{1|}}}]]|{{{1|}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 06:08, 15 March 2016

(view - edit) Documentation

Template:NoRedLink applies a hyperlink to a piece of text only if it links to an existing page on the comp.tf wiki; therefore getting rid of those nasty red links.

  • Alternatively, you can use Template:Nrl, which redirects to Template:NoRedLink.
  • It is recommended that you only use this template for very specific purposes. The red links indicate a page has not yet been created, and is used to encourage readers and editors to create the page themselves. Removing the red links could prevent the page from being created by another user.

Usage

You type You get
{{NoRedLink|abc123}} abc123
{{nrl|Main Page}} Main Page