Difference between revisions of "Template:NoRedLink"

From comp.tf
Jump to navigation Jump to search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifexist:{{{1|}}}|[[{{{1|}}}|{{{2}}}]]|{{{1|}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
+
<includeonly>{{#ifexist:{{{1|}}}|[[{{{1|}}}]]|{{{1|}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 09:12, 14 May 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