Difference between revisions of "Template:NoRedLink/doc"
Jump to navigation
Jump to search
m (Added note about when not to use the template) |
m (Ending table) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | '''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 <font color=#ba0606>red links</font>. | + | '''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 <font color=#ba0606>red links</font>. |
− | *Alternatively, you can use '''[[Template:Nrl]]''', which redirects to ''Template:NoRedLink'' | + | *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 <font color=#ba0606>red links</font> indicate a page has not yet been created, and | + | *It is recommended that you only use this template for very specific purposes. The <font color=#ba0606>red links</font> indicate a page has not yet been created, and is used to encourage readers and editors to create the page themselves. Removing the <font color=#ba0606>red links</font> could prevent the page from being created by another user. |
=== Usage === | === Usage === | ||
Line 16: | Line 16: | ||
|- | |- | ||
| style="border-right:hidden" | | | style="border-right:hidden" | | ||
− | | <code><nowiki>{{nrl| | + | | <code><nowiki>{{nrl|Main Page}}</nowiki></code> |
| style="border-left:hidden" | | | style="border-left:hidden" | | ||
| style="border-right:hidden" | | | style="border-right:hidden" | | ||
− | | {{nrl| | + | | {{nrl|Main Page}} |
| style="border-left:hidden" | | | style="border-left:hidden" | | ||
+ | |} |
Latest revision as of 00:03, 19 March 2016
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[edit]
You type | You get | ||||
---|---|---|---|---|---|
{{NoRedLink|abc123}}
|
abc123 | ||||
{{nrl|Main Page}}
|
Main Page |