Link/External – Template
Lou Montana (talk | contribs) (Add Enfusion link) |
Lou Montana (talk | contribs) m (Add decorated links list) |
||
Line 3: | Line 3: | ||
{{#switch:1 | {{#switch:1 | ||
<!-- enfusion :// --> | <!-- enfusion:// --> | ||
<!-- {{#ifeq:{{#sub:{{{link}}}|0|43}}|https://enfusionengine.com/api/redirect?to=|class="enfusion-redirect"|class="enfusion"}} --> | <!-- {{#ifeq:{{#sub:{{{link}}}|0|43}}|https://enfusionengine.com/api/redirect?to=|class="enfusion-redirect"|class="enfusion"}} --> | ||
|{{#if: | |{{#if: | ||
Line 58: | Line 58: | ||
It also replaces spaces in links by underscores. It adds the page to [[:Category:Link template usage error|Link template usage error]] category in case of improper formatting. | It also replaces spaces in links by underscores. It adds the page to [[:Category:Link template usage error|Link template usage error]] category in case of improper formatting. | ||
{{{!}} class="wikitable" | {{{!}} class="wikitable valign-top" | ||
! Filtered | ! Filtered | ||
! Redirected | ! Redirected | ||
{{!}}- | ! Decorated | ||
{{!}}- | |||
{{!}} | {{!}} | ||
* armaholic.com | * armaholic.com | ||
Line 77: | Line 78: | ||
-->{{Feature|informative|[http://ofpr.info ofpr.info] domain itself is valid and points to http://ofpr.info.paradoxstudio.uk.<br><!-- | -->{{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]!}} | -->ofp.gamepark.cz → ofp.info redirections are possible thanks to [https://ofp-faguss.com OFP-Faguss.com]!}} | ||
{{!}} | |||
* enfusion:// links | |||
* steampowered.com / steamcommunity.com | |||
* wikipedia.org / wiktionary.org | |||
* web.archive.org | |||
{{!}}} | {{!}}} | ||
|param1= link= | |param1= link= |
Revision as of 14:04, 12 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.
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}} | Bohemia Interactive 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}} |