Link/External – Template
Lou Montana (talk | contribs) m (Text replacement - "<tt>([^ =]+)<\/tt>" to "{{hl|$1}}") |
Lou Montana (talk | contribs) (Add pastebin.jonasscholz.de to the "dead links" list) |
||
Line 25: | Line 25: | ||
{{#pos:{{{link}}}|dev-heaven.net}} | {{#pos:{{{link}}}|dev-heaven.net}} | ||
{{#pos:{{{link}}}|flashpoint1985.com}} | {{#pos:{{{link}}}|flashpoint1985.com}} | ||
{{#pos:{{{link}}}|pastebin.jonasscholz.de}} | |||
| <span title="Old link: {{{link}}}">{{#if:{{{text|}}}|''{{{text}}}'' <sub>(dead link)</sub>|''-dead link-''}}</span> | | <span title="Old link: {{{link}}}">{{#if:{{{text|}}}|''{{{text}}}'' <sub>(dead link)</sub>|''-dead link-''}}</span> | ||
| | | | ||
Line 69: | Line 70: | ||
|example4= <nowiki>{{ExternalLink|link= https://www.bohemia.net|text= BI website}}</nowiki> | |example4= <nowiki>{{ExternalLink|link= https://www.bohemia.net|text= BI website}}</nowiki> | ||
|result4= {{ExternalLink|link= https://www.bohemia.net|text= BI website}} | |result4= {{ExternalLink|link= https://www.bohemia.net|text= BI website}} | ||
|example5= <nowiki>{{ExternalLink|link= https://www.armaholic.com}}</nowiki> | |example5= | ||
|result5= {{ExternalLink|link= https://www.armaholic.com}} | <nowiki>* {{ExternalLink|link= https://www.armaholic.com}}</nowiki><br> | ||
<nowiki>* {{ExternalLink|link= https://www.armedassault.com}}</nowiki><br> | |||
<nowiki>* {{ExternalLink|link= https://dev-heaven.net}}</nowiki><br> | |||
<nowiki>* {{ExternalLink|link= https://www.flashpoint1985.com}}</nowiki><br> | |||
<nowiki>* {{ExternalLink|link= https://pastebin.jonasscholz.de}}</nowiki> | |||
|result5= <nowiki/> | |||
* {{ExternalLink|link= https://www.armaholic.com}} | |||
* {{ExternalLink|link= https://www.armedassault.com}} | |||
* {{ExternalLink|link= https://dev-heaven.net}} | |||
* {{ExternalLink|link= https://www.flashpoint1985.com}} | |||
* {{ExternalLink|link= https://pastebin.jonasscholz.de}} | |||
|example6= <nowiki>{{ExternalLink|link= https://www.armaholic.com/page.php?id=1|text= My {{arma1}} mod}}</nowiki> | |example6= <nowiki>{{ExternalLink|link= https://www.armaholic.com/page.php?id=1|text= My {{arma1}} mod}}</nowiki> | ||
|result6= {{ExternalLink|link= https://www.armaholic.com/page.php?id=1|text= My {{arma1}} mod}} | |result6= {{ExternalLink|link= https://www.armaholic.com/page.php?id=1|text= My {{arma1}} mod}} |
Revision as of 14:55, 4 January 2023
External link template allows external URLs filter/styliser depending on the domain name. It also replaces spaces in links by underscores. It adds the page to ExternalLink template usage error category in case of improper formatting.
Filtered | Redirected |
---|---|
|
|
This template is used on these pages.
Usage
{{Link/External|link=|text=}}
- link=: (named parameter) the URL
- text=: (Optional, named parameter) the link's text
Code | Result |
---|---|
{{ExternalLink}} | -no links defined- |
{{ExternalLink|link= https://www.bohemia.net}} | https://www.bohemia.net |
{{ExternalLink|text= BI website}} | -no links defined- |
{{ExternalLink|link= https://www.bohemia.net|text= BI website}} | BI website |
* {{ExternalLink|link= https://www.armaholic.com}} * {{ExternalLink|link= https://www.armedassault.com}} |
|
{{ExternalLink|link= https://www.armaholic.com/page.php?id=1|text= My {{arma1}} mod}} | My Armed Assault mod (dead link) |
* {{ExternalLink|link= http://ofp.gamepark.cz/index.php?showthis=2302}} * {{ExternalLink|link= http://ofp.gamepark.cz/index.php?showthis=2302|text= Screen shot of the week 21}} |
|
* {{ExternalLink|link= http://www.armedassault.com/william/|text= William Porter's Blog}} * {{ExternalLink|link= http://web.archive.org/web/20080401075137/http://www.armedassault.com/william/|text= William Porter's Blog}} |
|