Vorlage:LanguageExisting

Aus OpenSeaMap-dev
Version vom 10. Dezember 2009, 20:27 Uhr von Markus (Diskussion | Beiträge) (Die Seite wurde neu angelegt: <includeonly>{{{1}}}{{#ifexist: {{{1}}}:{{{2}}} |e|m}}</includeonly><noinclude> == Purpose == This template is used in Template:Languages. If a page exists in a pa...)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Purpose

This template is used in Template:Languages.

If a page exists in a particular language, this template generates a parameter name for Template:Languages/Interface to show the existence. Don't use this for "en". "en" case has a special naming rule, then it was separated to Template:LanguageExistingEn.

Input parameters

  • 1st: language code (must be inputed)
  • 2nd: Page name (must be inputed)

Return

  • {{{1}}}e if it exists.
  • {{{1}}}m if it doesn't exist.