Wikipedia:Lua/Modul/ISO15924/table/en

VorlagenprogrammierungDiskussionenLuaTestUnterseiten
ModulDeutschEnglish

Modul:Dokumentation

ISO15924/table – Module to generate survey tables for wikitext pages mapping script systems and languages.

Functions for templates

f
Generate survey table body
Parameters (optional):
  • languages1 to include all known languages
  • lang – language code for names
  • add – language dependant additional information
  • lang2 – 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)

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, boolean
  • alien – language code for names, string
  • add – language dependant additional information, any type
  • alien2 – 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

Mostly maintenance issues, but could be used within encyclopedic article as well.

Dependencies