Template:LinkEdit: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
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 because the parameter contains special characters (++) and a space instead of an underscore.


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

Revision as of 07:27, 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:

Edit



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

Examples&action=edit Edit



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