Template:ExternalLink

From Bohemia Interactive Community
Jump to navigation Jump to search

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.

Filtered Redirected
  • 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)
    ofpr.info domain itself is valid and points to http://ofpr.info.paradoxstudio.uk.
    ofp.gamepark.cz → ofp.info redirections are possible thanks to OFP-Faguss.com!

This template is used on these pages.

Usage

{{ExternalLink|link=|text=}}

  • link=: (named parameter) the URL
  • text=: (Optional, named parameter) the link's text
Examples
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}}