From Fedora Project Wiki
(Initial doc) |
m (Add another failure example) |
||
Line 8: | Line 8: | ||
==Examples== | ==Examples== | ||
<code><nowiki>{{noredirect|Test_Day:Current}}</nowiki></code> returns '''{{noredirect|Test_Day:Current}}'''. | <code><nowiki>{{noredirect|Test_Day:Current}}</nowiki></code> returns '''{{noredirect|Test_Day:Current}}'''. | ||
<code><nowiki>{{noredirect|Test_Day:Current|testing 1 2 3}}</nowiki></code> returns '''{{noredirect|Test_Day:Current|testing 1 2 3}}'''. | <code><nowiki>{{noredirect|Test_Day:Current|testing 1 2 3}}</nowiki></code> returns '''{{noredirect|Test_Day:Current|testing 1 2 3}}'''. | ||
<code><nowiki>{{noredirect}}</nowiki></code> returns '''{{noredirect}}'''. | |||
<code><nowiki>{{noredirect|page that doesn't exist}}</nowiki></code> returns '''{{noredirect|page that doesn't exist}}'''. |
Latest revision as of 19:43, 19 April 2010
Provide a short-hand for linking to a redirect page. You'll want to use this template as follows:
{{noredirect | Wiki Page | ''(optional)'' alternative name to use for link }}
Examples
{{noredirect|Test_Day:Current}}
returns Test_Day:Current.
{{noredirect|Test_Day:Current|testing 1 2 3}}
returns testing 1 2 3.
{{noredirect}}
returns Example.
{{noredirect|page that doesn't exist}}
returns page that doesn't exist.