Template:IllEdit This Page

From FamilySearch Wiki

Revision as of 18:01, 19 October 2011 by Cottrells (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
[view] [edit] [history] [purge] Documentation icon Template documentation

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.

If the language code passed in is the same as the CONTENTLANG, the language text is automatically made bold and will not be a link.

Syntax

  • {{ill|name of page|Language code of page}}
  • {{ill|name of page|Language code of page|dir=rtl}}

Examples

  • {{ill|Hauptseite|de}}
    Deutsch
  • {{ill|Help:Template|en}}
    English
  • {{ill|Argentina: Archivos y Bibliotecas|es}}
    Español
  • {{ill|עמוד ראשי|he|dir=rtl}}
    עברית

Example of a template using this technique

{{ ParserFunctions }} = Template:ParserFunctions.


Caveat

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

{{ H-langs:Link }}

Template:H-langs:Link

Template:Ph:MediaWiki help policy