Link/External – Template
Lou Montana (talk | contribs) (Add sprocketidea.com to dead links) |
Lou Montana (talk | contribs) (Add Discord link) |
||
Line 27: | Line 27: | ||
{{#pos:{{{link}}}|steamcommunity.com}} | {{#pos:{{{link}}}|steamcommunity.com}} | ||
|1|0}}= <span class="steam" title="{{#if:{{#pos:{{{link}}}|steamcommunity.com}}|Steam Community file|Steam link}}">[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{#if:{{#explode:{{{link}}}|/filedetails/|1}}|Steam File {{#explode:{{{link}}}|/filedetails/|1}}|{{{link}}}}}}}]</span> | |1|0}}= <span class="steam" title="{{#if:{{#pos:{{{link}}}|steamcommunity.com}}|Steam Community file|Steam link}}">[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{#if:{{#explode:{{{link}}}|/filedetails/|1}}|Steam File {{#explode:{{{link}}}|/filedetails/|1}}|{{{link}}}}}}}]</span> | ||
<!-- Discord --> | |||
|{{#if: | |||
{{#pos:{{{link}}}|discord.gg}} | |||
{{#pos:{{{link}}}|discord.com}} | |||
|1|0}}= <span class="discord" title="Discord link">[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]</span> | |||
<!-- ofp.info fallback --> | <!-- ofp.info fallback --> | ||
Line 86: | Line 92: | ||
* ofp.gamezone.cz | * ofp.gamezone.cz | ||
* ofp.info | * ofp.info | ||
* ofpr.info FTP links ({{hl|ftp:<nowiki/>//ofpr.info}}, {{hl|ftp:<nowiki/>//ftp.ofpr.info}}, {{hl|ofpr.info/ofpd}}) | * ofpr.info FTP links ({{hl|ftp:<nowiki/>//ofpr.info}}, {{hl|ftp:<nowiki/>//ftp.ofpr.info}}, {{hl|ofpr.info/ofpd}}) | ||
{{Feature|informative| | |||
[http://ofpr.info ofpr.info] domain itself is valid and points to http://ofpr.info.paradoxstudio.uk.<br> | |||
ofp.gamepark.cz → ofp.info redirections are possible thanks to [https://ofp-faguss.com OFP-Faguss.com]! | |||
}} | |||
{{!}} | {{!}} | ||
* enfusion:// links | * enfusion:// links | ||
* steampowered.com / steamcommunity.com | * steampowered.com / steamcommunity.com | ||
* discord.com / discord.gg | |||
* wikipedia.org / wiktionary.org | * wikipedia.org / wiktionary.org | ||
* web.archive.org | * web.archive.org | ||
Line 164: | Line 173: | ||
<nowiki>* {{Link/External|link= https://steampowered.com/}}</nowiki><br> | <nowiki>* {{Link/External|link= https://steampowered.com/}}</nowiki><br> | ||
<nowiki>** {{Link/External|link= https://steamcommunity.com/sharedfiles/filedetails/2206040060}}</nowiki><br> | <nowiki>** {{Link/External|link= https://steamcommunity.com/sharedfiles/filedetails/2206040060}}</nowiki><br> | ||
<nowiki>* {{Link/External|link= http://web.archive.org/web/20080401075137/http://www.armedassault.com/william/|text= William Porter's Blog}}</nowiki> | <nowiki>* {{Link/External|link= http://web.archive.org/web/20080401075137/http://www.armedassault.com/william/|text= William Porter's Blog}}</nowiki><br> | ||
<nowiki>* {{Link/External|link= https://discord.com/}}</nowiki><br> | |||
<nowiki>* {{Link/External|link= https://discord.com/invite/arma|Arma Discord Server}}</nowiki> | |||
|result7= <nowiki/> | |result7= <nowiki/> | ||
* {{Link/External|link= enfusion://ScriptEditor/scripts/Game/generated/EPlayerRole.c;13|text= EPlayerRole}} | * {{Link/External|link= enfusion://ScriptEditor/scripts/Game/generated/EPlayerRole.c;13|text= EPlayerRole}} | ||
Line 179: | Line 190: | ||
** {{Link/External|link= https://steamcommunity.com/sharedfiles/filedetails/2206040060}} | ** {{Link/External|link= https://steamcommunity.com/sharedfiles/filedetails/2206040060}} | ||
* {{Link/External|link= http://web.archive.org/web/20080401075137/http://www.armedassault.com/william/|text= William Porter's Blog}} | * {{Link/External|link= http://web.archive.org/web/20080401075137/http://www.armedassault.com/william/|text= William Porter's Blog}} | ||
* {{Link/External|link= https://discord.com/}} | |||
* {{Link/External|link= https://discord.com/invite/arma|text= Arma Discord Server}} | |||
}}</noinclude> | }}</noinclude> |
Revision as of 16:53, 1 June 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}} |