Template:Internationalize/doc

From Wikispecies
Jump to navigation Jump to search

A template for internationalization and/or localization via the Universal Language Selector (at the top of the screen) and Wikidata.

In all instances, the exact word(s) entered are returned; a parallel translation may also be provided.

Summary[edit]

Where the user language is en (English, the default), only the exact word(s) entered are returned.

Where a user language other than en (English) has been selected (via the Universal Language Selector), if the word(s) are included in the Wikispecies lexicon, a parallel translation is also provided (via the corresponding Wikidata item).

Internal and/or external links may be provided.

Parameters[edit]

  1. the word(s) to be internationalized/localized/translated
  2. l (internal link), x (link to Wikipedia), lx (internal link + link to Wikipedia)
  3. for the display of alternative text

Example usage[edit]

  • {{I|Argentina}} Argentina
  • {{I|Argentina+}} Argentina+
  • {{I|Argentina|l}} Argentina
  • {{I|Argentina|x}} Argentina[→wp]
  • {{I|Argentina|lx}} Argentina[→wp]
  • {{I|Argentina|n}} Argentina
  • {{I|Argentina+|l}} Argentina+
  • {{I|Argentina+|x}} Argentina+[→wp]
  • {{I|Argentina+|lx}} Argentina+[→wp]
  • {{I|Argentina+|n}} Argentina+
  • {{I|Argentina|l|test}} test
  • {{I|Argentina|x|test}} test[→wp]
  • {{I|Argentina|lx|test}} test[→wp]
  • {{I|Argentina|n|test}} Argentina
  • {{I|Argentina+|l|test}} test
  • {{I|Argentina+|x|test}} test[→wp]
  • {{I|Argentina+|lx|test}} test[→wp]
  • {{I|Argentina+|n|test}} Argentina+

N.B. Argentina is included in the Wikispecies lexicon {{WDI/Argentina}}, while Argentina+ {{Wdi/Argentina+}} is not.