Wikipedia:Scribunto experimentation

Please make private backups of your developed modules, since this is a TEST wiki.

Resources

edit
Documentation of Scribunto
MW:Extension:Scribunto
Documentation of Lua
MW:Extension:Scribunto/Lua reference manual
What we're supposed to have (but don't)
MW:Extension:Scribunto/API specification
Programmatically generated list of tables
User:Amalthea
Setting up an environment on your computer
Help:Lua development environment

Status

edit

Test article pages

edit
  • Copies of relatively current English Wikipedia articles:
    • United States — lots of citation templates, a compound infobox, conversions, headnote templates, and navboxes
    • Dnestr radar — citation templates and a simple infobox
    • The Beatles — citation templates and a compound infobox with internal headings
    • Great Lakes — lots of conversions
    • China — lots of citation templates, a compound infobox, headnote templates, and navboxes
    • India — lots of citation templates, a compound infobox, headnote templates, and navboxes

If you need something to be imported, ask an Admin.

templates that have been Scribbled

edit

Lua modules

edit
Module:Headnote
Implementation of headnote templates such as {{main}} and {{see also}}.
Module:Citation
Implementation of citation and cross-linkage templates such as {{cite book}}, {{r}}, and {{sfn}}.
Module:External links
Implementation of external link templates such as {{Allmusic}} and {{IMDB name}}.
Module:Wikitext
Common functions for generating useful wikitext that are used by multiple modules.
Module:Infobox
Generic infobox processing. Not invoked directly from templates. Invoked by custom infoboxes.
Module:Infobox radar
Custom simple (flat) infobox that implements {{infobox radar}}.
Module:Infobox country
Custom compound (boxes within boxes) infobox that implements {{infobox country}}.
Module:Coordinates
Basic coordinates conversion and rendering as by {{coord}}.
Module:Layout
Implementation of layout templates such as {{spaces}} and {{collapsible list}}.
Module:Navigation
Implementation of interwiki navigation templates such as {{subject bar}} and {{wiktionary}}.
Module:Language
Implementation of language markup templates such as {{lang}}.
Module:Author
Implementation of Wikisource author templates such as {{auteur}}.
Module:Navigation box
Generic navbox processing. Not invoked directly from templates. Invoked by custom infoboxes.
Module:Succession box
Generic succession box processing. Not invoked directly from templates. Invoked by custom succession boxes.
Module:NYRepresentatives
Custom automatic succession box that contains the data for {{NYRepresentatives}}.
Module:Title
Implementation of title fixing templates such as {{lowercase title}} and {{italic title}}.
Module:Unicode
Functions for working with Unicode data (currently just getting a Unicode codepoint from a UTF-8 character).
Module:Vi2ipa 2
Implementation of the Vietnamese Wiktionary's wikt:vi:Bản mẫu:vie-pron (Vietnamese IPA table by dialect).
Module:Zh
Implementation of Chinese text display template {{Zh}}

Editors

edit