Template:Languages/Lang: Difference between revisions

From FamilySearch Wiki
m (→‎Template: fix template)
m (→‎Usage: remove { from template)
Line 5: Line 5:
== Usage ==
== Usage ==


This template is designed to simplify [[Template:Languages]], by allowing a simpler syntax for adding new languages.  Each language is included by calling this template with the following parameters:
This template is designed to simplify <nowiki>[[Template:Languages]]</nowiki>, by allowing a simpler syntax for adding new languages.  Each language is included by calling this template with the following parameters:


* '''Language code''' (e.g. fr)
* '''Language code''' (e.g. fr)

Revision as of 14:10, 12 January 2019

Template[edit source]

This sub-template doesn't display properly when not included. Please see [[Template:Languages]] for the complete version.

Usage[edit source]

This template is designed to simplify [[Template:Languages]], by allowing a simpler syntax for adding new languages. Each language is included by calling this template with the following parameters:

  • Language code (e.g. fr)
  • (optional) Page name - if not supplied the page is automatically worked out based on where the language template is included.

This template should not be used anywhere except in the Languages template.