Module:CapacityExchange/sandbox
Appearance
From Meta, a Wikimedia project coordination wiki
This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected.
This Lua module is part of the Capacity Exchange platform. It is designed to display user capacities on their user pages. The module retrieves user data and capacity information from toolforge:capx, process and generates the HTML content to present the user's known and wanted capacities.
Usage
[edit ]{{CapacityExchange}}
The above documentation is transcluded from Module:CapacityExchange/doc. (edit | history)
Editors can experiment in this module’s sandbox (edit | diff) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this module.
Editors can experiment in this module’s sandbox (edit | diff) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this module.
locallang=mw.getCurrentFrame():preprocess("{{Int:Lang}}") localmb=mw.ext.translate.messageBundle.new("Module:CapacityExchange/locale.json",lang) localct=mw.ext.translate.messageBundle.new("Module:CapacityExchange/capacities.json",lang) localp={} functionp.main(frame) return"capacities type:",tostring(type(ct)),"count:",tostring(type(ct)=="table"and#ctor"n/a") end returnp