Module:Shortcut/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
m
19 revisions imported: Originally imported from Wikipedia.
(+uses templatestyles) |
m (19 revisions imported: Originally imported from Wikipedia.) |
||
(11 intermediate revisions by 10 users not shown) | |||
Line 14:
To use this module from Lua, first load it.
<
local mShortcut = require('Module:Shortcut')
</syntaxhighlight>
Then you can create shortcut boxes with the following syntax:
<
mShortcut._main(shortcuts, options, frame, cfg)
</syntaxhighlight>
* <var>shortcuts</var> is an array of shortcut page names. (required)
|