Template:LinkEdit: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:


<pre>Here's an example:  
<pre>Here's an example:  
If you use this code in a page:


{{LinkEdit|Weibull%2B%2B_Examples}}
{{LinkEdit|Weibull%2B%2B_Examples}}


it will create an external link to http://www.reliawiki.org/index.php/Weibull%2B%2B_Examples. However, if you use this:
{{LinkEdit|Weibull++ Examples}}
the link won't work properly because the parameter contains special characters (++) and a space instead of an underscore.</pre>


[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 07:30, 10 August 2012

Edit

Usage

You can use this template to create an external link to any wiki page. It has one parameter:

  • Parameter 1 = Wiki page name (must be entered without any spaces and with special characters converted)
Here's an example: 

If you use this code in a page:

{{LinkEdit|Weibull%2B%2B_Examples}}

it will create an external link to http://www.reliawiki.org/index.php/Weibull%2B%2B_Examples. However, if you use this:

{{LinkEdit|Weibull++ Examples}}

the link won't work properly because the parameter contains special characters (++) and a space instead of an underscore.