Link/External – Template
Lou Montana (talk | contribs) (Fix community.bistudio.com & community.bohemia.net "bad template usage" category to avoid the few valid cases) |
Lou Montana (talk | contribs) (Add sprocketidea.com to dead links) |
||
Line 42: | Line 42: | ||
<!-- dead links --> | <!-- dead links --> | ||
|{{#if: | |{{#if: | ||
{{#pos:{{{link}}}|6thsense.eu}} | |||
{{#pos:{{{link}}}|armaholic.com}} | {{#pos:{{{link}}}|armaholic.com}} | ||
{{#pos:{{{link}}}|armaholic.eu}} | {{#pos:{{{link}}}|armaholic.eu}} | ||
Line 48: | Line 49: | ||
{{#pos:{{{link}}}|flashpoint1985.com}} | {{#pos:{{{link}}}|flashpoint1985.com}} | ||
{{#pos:{{{link}}}|pastebin.jonasscholz.de}} | {{#pos:{{{link}}}|pastebin.jonasscholz.de}} | ||
{{#pos:{{{link}}}| | {{#pos:{{{link}}}|sprocketidea.com}} | ||
|1|0}}= <span title="Old link: {{{link}}}">{{#if:{{{text|}}}|''{{{text}}}'' <sub style="font-size: .8em">(dead link)</sub>|''-dead link-''}}</span> | |1|0}}= <span title="Old link: {{{link}}}">{{#if:{{{text|}}}|''{{{text}}}'' <sub style="font-size: .8em">(dead link)</sub>|''-dead link-''}}</span> | ||
Revision as of 17:54, 28 April 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 Link template usage error category in case of improper formatting or BIKI link.
Filtered | Redirected | Decorated |
---|---|---|
|
|
|
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 |
---|---|
{{Link/External}} | -no link provided- |
{{Link/External|link= https://www.bohemia.net}} | https://www.bohemia.net |
{{Link/External|text= {{Name|bi}} website}} | -no link provided- |
* {{Link/External|link= https://www.bohemia.net|text= {{Name|bi}} website}} |
|
* {{Link/External|link= https://www.armaholic.com}} |
|
* {{Link/External|link= http://ofp.gamepark.cz/index.php?showthis=2302}} |
|
* {{Link/External|link= enfusion://ScriptEditor/scripts/Game/generated/EPlayerRole.c;13|text= EPlayerRole}} |