Wikipedia – Template

From Bohemia Interactive Community
Revision as of 10:19, 18 September 2019 by Lou Montana (talk | contribs) (Add language argument)
Jump to navigation Jump to search

Creates a Wikipedia link.

Usage

{{Wikipedia|article|text|lang}}

  • article: article's name on Wikipedia (required)
  • text: link text (optional, article is used if not present)
  • lang: Wikipedia language code on two letters: the https://{lang}.wikipedia.org/ part. (optional, default "en")
Examples
Code Result
{{Wikipedia}} -Wikipedia article not defined-
{{Wikipedia|article}} article
{{Wikipedia|ARMA_3|Arma 3}} Arma 3
{{Wikipedia|ARMA_III|Arma 3|fr}} Arma 3 (fr)