Link/External – Template
Lou Montana (talk | contribs) m (Fix potential "?id=" in Steam link) |
Lou Montana (talk | contribs) (Add steamstatic.com to Steam links) |
||
Line 45: | Line 45: | ||
{{#pos:{{{link}}}|steampowered.com}} | {{#pos:{{{link}}}|steampowered.com}} | ||
{{#pos:{{{link}}}|steamcommunity.com}} | {{#pos:{{{link}}}|steamcommunity.com}} | ||
{{#pos:{{{link}}}|steamstatic.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 {{#replace:{{#explode:{{{link}}}|/filedetails/|1}}|?id=}}|{{{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 {{#replace:{{#explode:{{{link}}}|/filedetails/|1}}|?id=}}|{{{link}}}}}}}]</span> | ||
Line 159: | Line 160: | ||
* bistudio.com / bohemia.net / arma2.com / arma3.com / armareforger.com / arma4.com / armaplatform.com / enfusionengine.com / dayz.com / takeonthegame.com / silicagame.com / vigorgame.com | * bistudio.com / bohemia.net / arma2.com / arma3.com / armareforger.com / arma4.com / armaplatform.com / enfusionengine.com / dayz.com / takeonthegame.com / silicagame.com / vigorgame.com | ||
* enfusion:// links | * enfusion:// links | ||
* steampowered.com / steamcommunity.com | * steampowered.com / steamcommunity.com / steamstatic.com | ||
* discord.com / discord.gg | * discord.com / discord.gg | ||
* wikipedia.org / wiktionary.org | * wikipedia.org / wiktionary.org | ||
Line 270: | Line 271: | ||
<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= https://steamcommunity.com/sharedfiles/filedetails/?id=2206040060}}</nowiki><br> | <nowiki>** {{Link/External|link= https://steamcommunity.com/sharedfiles/filedetails/?id=2206040060}}</nowiki><br> | ||
<nowiki>** {{Link/External|link= http://cdn.akamai.steamstatic.com/steam/apps/107410/manuals/Arma_3_keylayout_ENG.pdf|text= {{arma3}} keyboard layout}}</nowiki><br> | |||
<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= 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/}}</nowiki><br> | ||
Line 304: | Line 306: | ||
** {{Link/External|link= https://steamcommunity.com/sharedfiles/filedetails/2206040060}} | ** {{Link/External|link= https://steamcommunity.com/sharedfiles/filedetails/2206040060}} | ||
** {{Link/External|link= https://steamcommunity.com/sharedfiles/filedetails/?id=2206040060}} | ** {{Link/External|link= https://steamcommunity.com/sharedfiles/filedetails/?id=2206040060}} | ||
** {{Link/External|link= http://cdn.akamai.steamstatic.com/steam/apps/107410/manuals/Arma_3_keylayout_ENG.pdf|text= {{arma3}} keyboard layout}} | |||
* {{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/}} |
Revision as of 15:35, 18 November 2024
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 for Bohemia Interactive website- |
* {{Link/External|link= https://www.bohemia.net|text= {{Name|bi}} website}} |
|
* {{Link/External|link= https://www.6thsense.eu}} |
|
* {{Link/External|link= http://ofp.gamepark.cz/index.php?showthis=2302}} |
|
* {{Link/External|link= https://bistudio.com}} |
|
* {{Link/External|link= https://drive.google.com}} |