Wikipedia:Lua/Modul/Vorlage:LuaModuleDoc/en
Wikipedia:Lua Modul Vorlage:LuaModuleDoc en
| Vorlagen- programmierung |
Diskussionen | Lua | Unterseiten | ||||||
| Modul | Deutsch | English
|
Esperanto | Dolnoserbski | Hornjoserbsce | Modul: | WP:Lua | ||
Vorlage: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
- 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).
- On the central documentation page also
- Parameters:
- langsRequest
- (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.
- If not provided, show all from standard:
- 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 existing category for base documentation.
- langsDefault
- Space separated list of general language codes.
- Order of codes does not matter.
- langsMore
- Space separated list of additional language codes, completing
langsDefault, for which pages will be searched. - Only such codes can be displayed in the presentation.
- Order of codes does not matter.
- May be empty or undefined.
- 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.
- subTest
- Name of subpage for tests.
- Might be provided with uppercase letters; will be searched in lowercase as well.
- Default:
Test
| Parameter | deutschsprachige Wikipedia |
|---|---|
| categoryDocs | Wikipedia:Lua/Modul
|
| categoryWikiData | Wikipedia:Lua/Modul/Global via WikiData
|
| categoryWikiDataChild | Wikipedia:Lua/Modul/Global via WikiData/Kind
|
| categoryWikiDataParent | Wikipedia:Lua/Modul/Global via WikiData/Mutter
|
| categoryWikiDataReplication | Wikipedia:Lua/Modul/Global via WikiData/Abgleich
|
| langsDefault | de en
|
| langsMore | dsb eo fr hsb
|
| nsDocs | 4
|
| pageDocRoot | Lua/Modul
|
| pageErr | Wikipedia:Lua/Modul-Navigationsfehler
|
| pageNav | Vorlage:LuaModuleDoc/Navigation
|
| pageTemplateInsert | Wikipedia:Lua/Vorlagenprogrammierung
|
| preloadCentral | Vorlage:LuaModuleDoc/preload-central
|
| preloadRedir | Vorlage:LuaModuleDoc/preload-redir
|
| subTest | Test
|
| templateGlobal | LuaModuleDoc/Global
|
Usage
Nowhere than by Template:LuaModuleDoc.
Dependencies
Exporting into other Wiki
- Import the following pages into your project (this keeps version history and credits):
- Modul:Vorlage:LuaModuleDoc and rename as appropriate
- Modul:LuaWiki
- Template:LuaModuleDoc
- Create files similar to the following, translate and adapt as you like:
- Edit your version of Template:LuaModuleDoc and adjust the settings to your needs.
- Create description page for categoryDocs if you want to categorize.
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.