<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikimd.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AShortcut%2Fdoc</id>
	<title>Module:Shortcut/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikimd.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AShortcut%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wikimd.com/index.php?title=Module:Shortcut/doc&amp;action=history"/>
	<updated>2026-04-05T00:43:35Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wikimd.com/index.php?title=Module:Shortcut/doc&amp;diff=2355700&amp;oldid=prev</id>
		<title>Prab: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wikimd.com/index.php?title=Module:Shortcut/doc&amp;diff=2355700&amp;oldid=prev"/>
		<updated>2021-02-10T04:31:12Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|protected}}&lt;br /&gt;
{{Uses TemplateStyles|Template:Shortcut/styles.css}}&lt;br /&gt;
{{Lua sidebar}}&lt;br /&gt;
This module makes a box showing the shortcut links to a page.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
=== From wikitext ===&lt;br /&gt;
&lt;br /&gt;
From wikitext, this module should be called from a template, usually {{tl|shortcut}}. Please see the template page for documentation. However, it can also be called using the syntax &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:shortcut|main|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;arguments&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== From Lua ===&lt;br /&gt;
&lt;br /&gt;
To use this module from Lua, first load it.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local mShortcut = require(&amp;#039;Module:Shortcut&amp;#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you can create shortcut boxes with the following syntax:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mShortcut._main(shortcuts, options, frame, cfg)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;var&amp;gt;shortcuts&amp;lt;/var&amp;gt; is an array of shortcut page names. (required)&lt;br /&gt;
* &amp;lt;var&amp;gt;options&amp;lt;/var&amp;gt; is a table of options. The following keys are supported:&lt;br /&gt;
** &amp;lt;code&amp;gt;msg&amp;lt;/code&amp;gt; - a message to leave after the list of shortcuts.&lt;br /&gt;
** &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; - if set to false (or a value regarded as false by [[Module:Yesno]], such as &amp;quot;no&amp;quot;), categories are suppressed.&lt;br /&gt;
* &amp;lt;var&amp;gt;frame&amp;lt;/var&amp;gt; a frame object. This is optional, and only intended to be used internally.&lt;br /&gt;
* &amp;lt;var&amp;gt;cfg&amp;lt;/var&amp;gt; a table of config values. This is optional, and is only intended for testing.&lt;br /&gt;
&lt;br /&gt;
== Technical details ==&lt;br /&gt;
&lt;br /&gt;
This module has a configuration file at [[Module:Shortcut/config]]. It can be used to translate this module into different languages or to change details like category names.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Prab</name></author>
	</entry>
</feed>