<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ABroader%2Fdoc</id>
	<title>Module:Broader/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ABroader%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Module:Broader/doc&amp;action=history"/>
	<updated>2026-04-04T20:10:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.limswiki.org/index.php?title=Module:Broader/doc&amp;diff=27286&amp;oldid=prev</id>
		<title>Shawndouglas: Created as needed.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Module:Broader/doc&amp;diff=27286&amp;oldid=prev"/>
		<updated>2016-08-19T19:25:44Z</updated>

		<summary type="html">&lt;p&gt;Created as needed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This module produces a &amp;quot;for a broader coverage related to this topic&amp;quot; link. It implements the {{tl|broader}} template.&lt;br /&gt;
&lt;br /&gt;
== Use from wikitext ==&lt;br /&gt;
&lt;br /&gt;
This module cannot be used directly from #invoke. Instead, it can only be used through the {{tl|broader}} template. Please see the template page for documentation.&lt;br /&gt;
&lt;br /&gt;
== Use from other Lua modules ==&lt;br /&gt;
&lt;br /&gt;
Load the module:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local mBroader = require('Module:Broader')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can then use the _broader function like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mBroader._broader(page, topic, options)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;var&amp;gt;page&amp;lt;/var&amp;gt; variable is the page to be linked to, and is required. The page name can include a section link if desired. If the page includes a section link, it is automatically formatted as ''page § section'', rather than the MediaWiki default of ''page#section''.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;var&amp;gt;topic&amp;lt;/var&amp;gt; variable is a description of the topic, and is optional. The default topic value is &amp;quot;this topic&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;var&amp;gt;options&amp;lt;/var&amp;gt; table can be used to configure the function's output. At current, the only option available is &amp;quot;selfref&amp;quot;, which is used when the output is a self-reference to LIMSwiki. to set this option, use {{code|1={selfref = true}|2=lua}}. (See the {{tl|selfref}} template for more details on self-references.)&lt;br /&gt;
&lt;br /&gt;
; Example 1&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mBroader._broader('Carbon dioxide data')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Produces:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;hatnote&amp;quot;&amp;gt;For a broader coverage related to this topic, see [[Carbon dioxide data]].&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Displays as:&lt;br /&gt;
{{broader|Carbon dioxide data}}&lt;br /&gt;
&lt;br /&gt;
; Example 2&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mBroader._broader('Carbon dioxide data', 'the physical properties of carbon dioxide')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
Produces:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;div class=&amp;quot;hatnote&amp;quot;&amp;gt;For a broader coverage related to the physical properties of carbon dioxide, see [[Carbon dioxide data]].&amp;lt;/div&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
Displays as:&lt;br /&gt;
{{broader|Carbon dioxide data|the physical properties of carbon dioxide}}&lt;br /&gt;
&lt;br /&gt;
== Technical details ==&lt;br /&gt;
&lt;br /&gt;
This module uses [[Module:Hatnote]] to format the hatnote text and [[Module:Arguments]] to fetch the arguments from wikitext.&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>Shawndouglas</name></author>
	</entry>
</feed>