Link/External – Template
Jump to navigation
Jump to search
(Added arma2base.de to the list of 'dead' sites) |
Lou Montana (talk | contribs) (Add ofpr.info (old FTP) filter) |
||
Line 6: | Line 6: | ||
{{#pos:{{{link}}}|ofp.gamezone.cz}} | {{#pos:{{{link}}}|ofp.gamezone.cz}} | ||
{{#pos:{{{link}}}|ofp.info}} | {{#pos:{{{link}}}|ofp.info}} | ||
{{#pos:{{{link}}}|ofpr.info/ofpd/}} | |||
{{#pos:{{{link}}}|ftp://ofpr.info}} | |||
{{#pos:{{{link}}}|ftp://ftp.ofpr.info}} | |||
{{#pos:{{{link}}}|ftp://www.ofpr.info}} | |||
| <span style="font-family: consolas, monospace; font-size: 1.1em; letter-spacing: -0.01em">[https://ofp-faguss.com/addonsearch.php?searchfor={{URLENCODE:{{{link}}}}} {{#if:{{{text|}}}|{{{text}}}|ofpr.info link}}]</span> <span style="background-color: #FFF; border: 0.0625em solid #EEE; border-radius: 0.25em; color: #888; display: inline-block; font-size: .75em; line-height: 1.1em; padding: 0.25em; text-align: center; vertical-align: middle">link courtesy of<br>[https://ofp-faguss.com/ OFP-Faguss.com]</span> | | <span style="font-family: consolas, monospace; font-size: 1.1em; letter-spacing: -0.01em">[https://ofp-faguss.com/addonsearch.php?searchfor={{URLENCODE:{{{link}}}}} {{#if:{{{text|}}}|{{{text}}}|ofpr.info link}}]</span> <span style="background-color: #FFF; border: 0.0625em solid #EEE; border-radius: 0.25em; color: #888; display: inline-block; font-size: .75em; line-height: 1.1em; padding: 0.25em; text-align: center; vertical-align: middle">link courtesy of<br>[https://ofp-faguss.com/ OFP-Faguss.com]</span> | ||
<!-- <div style="background-color: #FFF; border: 0.00625em solid #EEE; border-radius: 0.25em; color: #888; display: inline-block; font-size: .75em; line-height: 1.1em; padding: 0.25em; text-align: center; vertical-align: middle"> --> | <!-- <div style="background-color: #FFF; border: 0.00625em solid #EEE; border-radius: 0.25em; color: #888; display: inline-block; font-size: .75em; line-height: 1.1em; padding: 0.25em; text-align: center; vertical-align: middle"> --> | ||
Line 35: | Line 40: | ||
* ofp.gamepark.eu | * ofp.gamepark.eu | ||
* ofp.gamezone.cz | * ofp.gamezone.cz | ||
* ofp.info {{Feature|informative|[http://ofpr.info ofpr.info] domain is valid and points to http://ofpr.info.paradoxstudio.uk.}} | * ofp.info | ||
* ofpr.info FTP links (<tt>ftp:<nowiki/>//ofpr.info</tt>, <tt>ftp:<nowiki/>//ftp.ofpr.info</tt>, <tt>ofpr.info/ofpd</tt>)<!-- | |||
-->{{Feature|informative|[http://ofpr.info ofpr.info] domain itself is valid and points to http://ofpr.info.paradoxstudio.uk.}} | |||
|param1= link= | |param1= link= | ||
|descr1= (named parameter) the URL | |descr1= (named parameter) the URL | ||
Line 48: | Line 55: | ||
|example4= <nowiki>{{ExternalLink|link= https://www.bohemia.net|text= BI website}}</nowiki> | |example4= <nowiki>{{ExternalLink|link= https://www.bohemia.net|text= BI website}}</nowiki> | ||
|result4= {{ExternalLink|link= https://www.bohemia.net|text= BI website}} | |result4= {{ExternalLink|link= https://www.bohemia.net|text= BI website}} | ||
|example5 | |example5= <nowiki>{{ExternalLink|link= https://www.armaholic.com}}</nowiki> | ||
|result5= {{ExternalLink|link= https://www.armaholic.com}} | |||
|example6= <nowiki>{{ExternalLink|link= https://www.armaholic.com/page.php?id=1|text= My {{arma1}} mod}}</nowiki> | |||
| | |result6= {{ExternalLink|link= https://www.armaholic.com/page.php?id=1|text= My {{arma1}} mod}} | ||
| | |example7= <nowiki>{{ExternalLink|link= http://ofp.gamepark.cz/index.php?showthis=2302}}</nowiki> | ||
| | |result7= {{ExternalLink|link= http://ofp.gamepark.cz/index.php?showthis=2302}} | ||
| | |example8= <nowiki>{{ExternalLink|link= http://ofp.gamepark.cz/index.php?showthis=2302|text= Screen shot of the week 21}}</nowiki> | ||
| | |result8= {{ExternalLink|link= http://ofp.gamepark.cz/index.php?showthis=2302|text= Screen shot of the week 21}} | ||
| | <!-- e.g ftp://www.ofpr.info/ofpd/patches/ArmA_InternationalUpdate105_108.zip --> | ||
| | |example9= <nowiki>* {{ExternalLink|link= http://ofpr.info}}</nowiki><br> | ||
<nowiki>* {{ExternalLink|link= ftp://ofpr.info}}</nowiki> | |||
|result9= <nowiki/> | |||
* {{ExternalLink|link= http://ofpr.info}} | |||
* {{ExternalLink|link= ftp://ofpr.info}} | |||
}}</noinclude> | }}</noinclude> |
Revision as of 15:01, 14 June 2021
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 ExternalLink template usage error category in case of improper formatting.
Currently listed dead sites:
- armaholic.com
- armedassault.com
- dev-heaven.net
- flashpoint1985.com
- ofp.gamepark.cz
- ofp.gamepark.eu
- ofp.gamezone.cz
- ofp.info
- ofpr.info FTP links (ftp://ofpr.info, ftp://ftp.ofpr.info, ofpr.info/ofpd)
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 |
---|---|
{{ExternalLink}} | -no links defined- |
{{ExternalLink|link= https://www.bohemia.net}} | https://www.bohemia.net |
{{ExternalLink|text= BI website}} | -no links defined- |
{{ExternalLink|link= https://www.bohemia.net|text= BI website}} | BI website |
{{ExternalLink|link= https://www.armaholic.com}} | -dead link- |
{{ExternalLink|link= https://www.armaholic.com/page.php?id=1|text= My {{arma1}} mod}} | My Armed Assault mod (dead link) |
{{ExternalLink|link= http://ofp.gamepark.cz/index.php?showthis=2302}} | ofpr.info link link courtesy of OFP-Faguss.com |
{{ExternalLink|link= http://ofp.gamepark.cz/index.php?showthis=2302|text= Screen shot of the week 21}} | Screen shot of the week 21 link courtesy of OFP-Faguss.com |
* {{ExternalLink|link= http://ofpr.info}} * {{ExternalLink|link= ftp://ofpr.info}} |
|