Munurin millum rættingarnar hjá "Module:Shortcut/doc"

36 bytes løgd afturat ,  7 mánaðir síðan
s
Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html]
(Stovnaði síðu við "This module makes a box showing the shortcut links to a page. == Usage == === From wikitext === From wikitext, this module should be called from a template, usually {{t...")
 
s (Bot: Erstatt forældet <source> -tag og parameteren "enclose" [https://lists.wikimedia.org/pipermail/wikitech-ambassadors/2020-April/002284.html])
 
To use this module from Lua, first load it.
 
<sourcesyntaxhighlight lang="lua">
local mShortcut = require('Module:Shortcut')
</syntaxhighlight>
</source>
 
Then you can create shortcut boxes with the following syntax:
 
<sourcesyntaxhighlight lang="lua">
mShortcut._main(shortcuts, options, frame, cfg)
</syntaxhighlight>
</source>
 
* <var>shortcuts</var> is an array of shortcut page names. (required)
14.816

rættingar