Link/External – Template
Lou Montana (talk | contribs) m (Fix silica → silicagame) |
Lou Montana (talk | contribs) (Add YouTube icon) |
||
Line 12: | Line 12: | ||
{{#pos:{{{link}}}|silicagame.com}} | {{#pos:{{{link}}}|silicagame.com}} | ||
{{#pos:{{{link}}}|vigorgame.com}} | {{#pos:{{{link}}}|vigorgame.com}} | ||
|1|0}}= <span class="bohemia">{ | |1|0}}= <span class="bohemia">[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]</span> | ||
<!-- enfusion:// --> | <!-- enfusion:// --> | ||
Line 44: | Line 44: | ||
{{#pos:{{{link}}}|discord.com}} | {{#pos:{{{link}}}|discord.com}} | ||
|1|0}}= <span class="discord" title="Discord link">[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]</span> | |1|0}}= <span class="discord" title="Discord link">[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]</span> | ||
<!-- YouTube --> | |||
|{{#if: | |||
{{#pos:{{{link}}}|youtu.be}} | |||
{{#pos:{{{link}}}|youtube.com}} | |||
|1|0}}= <span class="youtube">[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]</span> | |||
<!-- ofp.info fallback --> | <!-- ofp.info fallback --> | ||
Line 194: | Line 200: | ||
<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> | ||
<nowiki>* {{Link/External|link= https://discord.com/invite/arma|Arma Discord Server}}</nowiki> | <nowiki>* {{Link/External|link= https://discord.com/invite/arma|Arma Discord Server}}</nowiki><br> | ||
<nowiki>* {{Link/External|link= https://youtube.com/}}</nowiki><br> | |||
<nowiki>* {{Link/External|link= https://youtu.be/|text= Short YouTube link}}</nowiki><br> | |||
|result7= <nowiki/> | |result7= <nowiki/> | ||
* {{Link/External|link= https://bistudio.com}} | * {{Link/External|link= https://bistudio.com}} | ||
Line 218: | Line 226: | ||
* {{Link/External|link= https://discord.com/}} | * {{Link/External|link= https://discord.com/}} | ||
* {{Link/External|link= https://discord.com/invite/arma|text= Arma Discord Server}} | * {{Link/External|link= https://discord.com/invite/arma|text= Arma Discord Server}} | ||
* {{Link/External|link= https://youtube.com/}} | |||
* {{Link/External|link= https://youtu.be/|text= Short YouTube link}} | |||
}}</noinclude> | }}</noinclude> |
Revision as of 13:22, 28 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= https://bistudio.com}} |