User:Chao

gallery Produces:

Main Artwork

<!--

Modules

 * Overview of WikiMedia Lua
 * Getting Started with MediaWiki Lua
 * Basic Guide to Wikipedia Lua
 * How to Write Readable Code
 * Debugging Lua

Semantic MediaWiki

 * Documentation for the Lua Module"s implementation of #ask, mw.smw.ask
 * How to use SMW (#ask) to sort and query unions of categories
 * How to use arbitrary variables in an SMW (#ask) query ie

DPL

 * https://en.wikinews.org/wiki/Wikinews:DynamicPageList
 * https://www.mediawiki.org/wiki/Extension:DynamicPageList_(Wikimedia)
 * http://followthescore.org/dpldemo/index.php?title=DPL:FAQ

Templated DPL (DynamicPageList) Example:

 Other things to look into later: 
 * CategoryTree extension
 * https://meta.wikimedia.org/wiki/Help:Category
 * categories of categories

Note: I believe it"s good wikimedia practice to use only ==H2== and beyond (in essence, to avoid using =H1=)

Easy Gallery Project
Welcome to the planning page of the Easy Gallery Project, a project that aims to make Galleries on this wiki easy to use, maintain, and update.

The idea is to leverage the wiki"s categories and various automation tools to simplify the making and maintaining of galleries. Eventually, the average wiki editor should only have to tag an image properly, and the relevant galleries will automatically update themselves.

Why Modules?
The other option: Templated DPL (DynamicPageList)
 * DPL could slow the wiki down, especially if caching is disallowed
 * Templates are not scalable - they become difficult to read and maintain as they grow larger.
 * With DPL/Templates, what you can do is restricted:
 * Can"t rearrange pictures in a gallery
 * Can"t change a specific gallery"s number of items per row
 * Can"t add captions
 * It"s messy to add unique galleries for a page (ie Mantenbo for Litchi"s gallery)

However, modules:
 * Do everything that templates & DPL do: They...
 * are self-maintaining (they update automatically)
 * keep pages consistent (allow changes to be made in only one place, but affect all galleries)
 * make it easy to add new categories
 * AND they provide more options:
 * can add captions
 * can change specific gallery"s items per row
 * it"s easy and clean to add a unique gallery for a page
 * However, there is a bit of a learning curve (since it"s written in Lua)
 * good documentation and clean code will help solve this.

Progress
COMPLETE!!! IN PROGRESS -->