Jump to content

Module:Lang/data/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
uses lua
m ce;
Line 3: Line 3:


This module holds various support tables used by [[Module:Lang]]
This module holds various support tables used by [[Module:Lang]]
* <code>override</code> – this table provides language name data used in the creation of categories and, for the {{tld|lang-??}} templates, the language name annotation.
* <code>lang_name_table</code> – this table provides language name data used in the creation of categories and, for the {{tld|lang-??}} templates, the language name annotation
* <code>override</code> – this table overrides data in <code>lang_name_table</code>; commonly used when an en.wiki article title differs from the name for the standard's language
* <code>rtl_scripts</code> – a list of ISO 15924 scripts that are written right-to-left; data taken from the table at [[ISO 15924#List of codes]]
* <code>rtl_scripts</code> – a list of ISO 15924 scripts that are written right-to-left; data taken from the table at [[ISO 15924#List of codes]]
* <code>translit_title_table</code> – a table of tables that is used in the creation of the <code>title=</code> attribute of the {{tag|i}} tags that wrap transliterated text; data adapted from {{tlx|transl}}
* <code>translit_title_table</code> – a table of tables that is used in the creation of the <code>title=</code> attribute of the {{tag|i}} tags that wrap transliterated text; data adapted from {{tlx|transl}}
* <code>article_name</code> – this table overrides <code>lang_name_table</code> and <code>override</code> for (typically) disambiguated en.wiki article names


<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 13:50, 3 October 2020

This module holds various support tables used by Module:Lang

  • lang_name_table – this table provides language name data used in the creation of categories and, for the {{lang-??}} templates, the language name annotation
  • override – this table overrides data in lang_name_table; commonly used when an en.wiki article title differs from the name for the standard's language
  • rtl_scripts – a list of ISO 15924 scripts that are written right-to-left; data taken from the table at ISO 15924#List of codes
  • translit_title_table – a table of tables that is used in the creation of the title= attribute of the <i>...</i> tags that wrap transliterated text; data adapted from {{transl}}
  • article_name – this table overrides lang_name_table and override for (typically) disambiguated en.wiki article names