<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.stiles.casa/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://wiki.stiles.casa/index.php?action=history&amp;feed=atom&amp;title=Module%3AShortcut%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Shortcut/doc&amp;action=history"/>
	<updated>2026-05-06T22:09:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.stiles.casa/index.php?title=Module:Shortcut/doc&amp;diff=5867&amp;oldid=prev</id>
		<title>Maxwells: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Shortcut/doc&amp;diff=5867&amp;oldid=prev"/>
		<updated>2022-06-11T21:02:28Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:02, 11 June 2022&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff::1.12:old-5866:rev-5867 --&gt;
&lt;/table&gt;</summary>
		<author><name>Maxwells</name></author>
	</entry>
	<entry>
		<id>https://wiki.stiles.casa/index.php?title=Module:Shortcut/doc&amp;diff=5866&amp;oldid=prev</id>
		<title>en&gt;Izno: add deps</title>
		<link rel="alternate" type="text/html" href="https://wiki.stiles.casa/index.php?title=Module:Shortcut/doc&amp;diff=5866&amp;oldid=prev"/>
		<updated>2022-05-10T08:46:00Z</updated>

		<summary type="html">&lt;p&gt;add deps&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;
{{High-use}}&lt;br /&gt;
{{Lua|Module:Shortcut/config|Module:Yesno|Module:Arguments}}&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>en&gt;Izno</name></author>
	</entry>
</feed>