K wobsahej skočić

Wikipedija:Lua/Module/Pśedłoga:LuaModuleDoc/en

Z Wikipedije
Programěrowanje pśedłogi Diskusije Lua Testy Pódboki
Modul Dolnoserbski Engelski Nimski

Modul: Dokumentacija

Pśedłoga:LuaModuleDoc – Module for support of Template:LuaModuleDoc, and doing the major work of Lua module documentation.

On all the related documentation pages Template:LuaModuleDoc is transcluded. That one provides the project and language specific adaptions.

  • The first (three) optional template parameters also pass through some page specific adaptions, if necessary.

Functions for templates

[žrědłowy tekst wobźěłaś]
nav
Generate linkbox text.
  • On the central documentation page also
    • transclusion of first detected language version
    • transclusion of assistance for template transclusion (if not noHint)
    • category, with sort code (if not noCat).
Parameters:
langRequest
(optional; for the current page)
Space separated list of explicitly requested language codes.
  • If not provided, show all from standard: langsDefault.
  • If defined, prepend all existing from langsDefault.
noCat
(optional; for the current page; any non-empty value)
Suppress categorisation of base documentation page.
noHint
(optional; for the current page; any non-empty value)
Suppress assistance for template transclusion after base documentation.
categoryDocs
Title of category for base documentation.
langsDefault
Space separated list of general language codes.
nsDocs
Number of namespace for documentation pages.
pageDocRoot
Title of base documentation page.
pageErr
Name of page for error message display.
pageNav
Name of page for navigation box.
pageTemplateInsert
Name of page for template transclusion assistance.


Nowhere than by Template:LuaModuleDoc.