Template:OfficialLangUnderline

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Meant to be called by other templates.

Usage: {{OfficialLangUnderline|German|German|French|Italian}} → German. The second parameter (de) is what we the switch is testing for; the other parameters will be piped in from another template. Examples:

  • {{OfficialLangUnderline|Text|de|de|fr|it}}Text
  • {{OfficialLangUnderline|Text|fr|de|fr|it}}Text
  • {{OfficialLangUnderline|Text|it|de|fr|it}}Text
  • {{OfficialLangUnderline|Text|es|de|fr|it}} → Text
  • {{OfficialLangUnderline|Text|es|de}} → Text
  • {{OfficialLangUnderline|Text|es|de||}} → Text
  • {{OfficialLangUnderline|Text||es|ka}}Text