Wikipedia:Lua/Modul/ISO15924/table/en
Vorlagenprogrammierung | Diskussionen | Lua | Test | Unterseiten | |||
Modul | Deutsch | English
|
Modul: | Dokumentation |
ISO15924/table
– Module to generate survey tables for wikitext pages mapping script systems and languages.
Functions for templates
[Quelltext bearbeiten]- f
- Generate survey table body
- Parameters (optional):
languages
–1
to include all known languageslang
– language code for namesadd
– language dependant additional informationlang2
– language code for names in second language
- Result: Wikitext, table body without table head
- failsafe
- Version ID (local):
2019-10-22
etc.
Functions for Lua modules (API)
[Quelltext bearbeiten]The functions described above can be used by other modules. The sub module is to be transcluded by require()
in the same way as the root module.
- ISO15924.fire( all, alien, add, alien2 )
- Generate survey table body
- Parameters (optional):
all
– include all known languages, booleanalien
– language code for names, stringadd
– language dependant additional information, any typealien2
– language code for names in second language, string or not
- Returns: Wikitext, table body without table head, string
- ISO15924.fiat( … )
- Internal; generate wikitext with table row
- ISO15924.failsafe( atleast )
- failsafe()
Usage
[Quelltext bearbeiten]Mostly maintenance issues, but could be used within encyclopedic article as well.
Dependencies
[Quelltext bearbeiten]- Module:ISO15924/commons – Data (live)
- Module:ISO15924/codes – Data (snapshot)
- Module:ISO15924/config – Project configuration, recommended
- Module:ISO15924/translate – translations