Template:Ill

From WikiNASIOC
Jump to: navigation, search

This template generates a link to an alternate language of the page.

Usage:

Use this on Template:H-langs:NAMEOFPAGE style pages. Always finish off with a {{edi|NAMEOFTEMPLATE}}, so that you have an edit link and a "terminator" required by older layouts. For details see Help page footer templates.

Syntax:
  • {{ill|Link to page|Language code of page}}
  • {{ill|Link to page|Language code of page|dir=rtl}}
Examples:
  • {{ill|Hauptseite|de}}
    Deutsch (de)
  • {{ill|Help:Template|en}}
    English (en)
  • {{ill|עמוד ראשי|he|dir=rtl}}
    עברית (he)

Example of a template using this technique:

"{{ParserFunctions}}" gives "Deutsch (de) English (en) español (es) français (fr) italiano (it) 日本語 (ja) 한국어 (ko) Nederlands (nl) polski (pl) português (pt) русский (ru) slovenščina (sl) Tiếng Việt (vi) 中文 (zh) עברית (he) العربية (ar) +/-" [1]</small>.


Caveat:

Templates using ill on separate lines can't be used within a list, e.g.

"{{H-langs:Link|:}}" gives "Deutsch (de) português do Brasil (pt-br) English (en) français (fr) italiano (it) Nederlands (nl) русский (ru) shqip (sq) 中文 (zh) 日本語 (ja) +/-" [2]


Edit Ph:MediaWiki help policy

This list of templates used on help pages, but not yet covered by the handbook, is not complete. Please add what you find, or try to remove what's not really needed worldwide: