Category:LocalisationTemplates: Difference between revisions

From OER in Education
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Category for templates to create adaptations for localised content. These templates need adaptation if you add new countries.
Category for templates to create adaptations for localised content. These templates need adaptation if you add new countries.


The key template is
The key templates are
* [[Template:Local]] - see there for description.
* [[Template:Local]] to add variants of text that displays depending on the page - see there for description.
* [[Template:Includeparent]] - the template includes the text of the parent page, allowing localisations to be applied


There are some templates that provide localised place names:
There are some templates that use [[Template:Local]] to provide localised place names:
* [[Template:Capital]]
* [[Template:Capital]]
* [[Template:Country]]
* [[Template:Country]]
Line 10: Line 11:
* [[Template:Country flag]]
* [[Template:Country flag]]


[[Template:Local]] (depending on the page name) either just displays the appropriate text, or (for master pages) uses
* [[Template:Zambia]]
* [[Template:Kenya]]
* [[Template:Ghana]]
* etc
These templates in turn use [[Template:LocalisedContent]] to mark content as local content.


Also see [[:Category:Localisation]]. [[Category:Localisation]]
Also see [[:Category:Localisation]]. [[Category:Localisation]]

Latest revision as of 21:38, 18 February 2015

Category for templates to create adaptations for localised content. These templates need adaptation if you add new countries.

The key templates are

  • Template:Local to add variants of text that displays depending on the page - see there for description.
  • Template:Includeparent - the template includes the text of the parent page, allowing localisations to be applied

There are some templates that use Template:Local to provide localised place names:

Template:Local (depending on the page name) either just displays the appropriate text, or (for master pages) uses

These templates in turn use Template:LocalisedContent to mark content as local content.

Also see Category:Localisation.