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

Bearbeiten
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)

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, 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()

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

Dependencies

Bearbeiten