Link/External – Template

From Bohemia Interactive Community
< Template:Link
Revision as of 15:41, 30 May 2021 by Lou Montana (talk | contribs) (Template creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External link template allowing to act as a filter/styliser depending on the domain name. It will also replace spaces in links by underscores.

Currently listed dead sites:

  • armaholic.com
  • armedassault.com
  • ofp.gamepark.cz
  • ofp.gamepark.eu
  • ofp.gamezone.cz
  • ofp.info // ofpr.info is valid

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
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://en.wikipedia.org/wiki/Bohemia Interactive|text= BI on Wikipedia}} BI on Wikipedia
{{ExternalLink|link= https://www.armaholic.com}} -dead link-
{{ExternalLink|link= https://www.armaholic.com/page.php?id=1|text= My {{Name|arma2}} mod}} My Arma 2 mod (dead link)