Link/External – Template
Lou Montana (talk | contribs) m (Fix) |
Lou Montana (talk | contribs) (Add Twitter/X link icon) |
||
Line 50: | Line 50: | ||
{{#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> | ||
<!-- Twitter / X --> | |||
|{{#if: | |||
{{#pos:{{{link}}}|.x.com}} | |||
{{#pos:{{{link}}}|/x.com}} | |||
{{#pos:{{{link}}}|.twitter.com}} | |||
{{#pos:{{{link}}}|/twitter.com}} | |||
|1|0}}= <span class="twitter-x" title="Twitter/X link">[{{{link}}} {{#if:{{{text|}}}|{{{text}}}|{{{link}}}}}]</span> | |||
<!-- YouTube --> | <!-- YouTube --> | ||
Line 143: | Line 151: | ||
* web.archive.org | * web.archive.org | ||
* youtube.com / youtu.be | * youtube.com / youtu.be | ||
* twitter.com / x.com | |||
* drive.google.com | * drive.google.com | ||
* onedrive.live.com / 1drv.ms | * onedrive.live.com / 1drv.ms | ||
Line 242: | Line 251: | ||
<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><br> | <nowiki>* {{Link/External|link= https://discord.com/invite/arma|Arma Discord Server}}</nowiki><br> | ||
<nowiki>* {{Link/External|link= https://x.com/}}</nowiki><br> | |||
<nowiki>* {{Link/External|link= https://twitter.com/}}</nowiki><br> | |||
<nowiki>* {{Link/External|link= https://twitter.com/ArmaPlatform}}</nowiki><br> | |||
<nowiki>* {{Link/External|link= https://youtube.com/}}</nowiki><br> | <nowiki>* {{Link/External|link= https://youtube.com/}}</nowiki><br> | ||
<nowiki>* {{Link/External|link= https://youtu.be/|text= Short YouTube link}}</nowiki><br> | <nowiki>* {{Link/External|link= https://youtu.be/|text= Short YouTube link}}</nowiki><br> | ||
Line 272: | Line 284: | ||
* {{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://x.com/}} | |||
* {{Link/External|link= https://twitter.com/}} | |||
* {{Link/External|link= https://twitter.com/ArmaPlatform}} | |||
* {{Link/External|link= https://www.twitter.com/}} | |||
* {{Link/External|link= https://youtube.com/}} | * {{Link/External|link= https://youtube.com/}} | ||
* {{Link/External|link= https://youtu.be/|text= Short YouTube link}} | * {{Link/External|link= https://youtu.be/|text= Short YouTube link}} |
Revision as of 22:47, 17 March 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}} |