<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="sv">
	<id>https://xn--jrnvgshistoria-5hbd.se/index.php?action=history&amp;feed=atom&amp;title=Modul%3AURL%2Fdoc</id>
	<title>Modul:URL/doc - Versionshistorik</title>
	<link rel="self" type="application/atom+xml" href="https://xn--jrnvgshistoria-5hbd.se/index.php?action=history&amp;feed=atom&amp;title=Modul%3AURL%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://xn--jrnvgshistoria-5hbd.se/index.php?title=Modul:URL/doc&amp;action=history"/>
	<updated>2026-06-30T07:40:53Z</updated>
	<subtitle>Versionshistorik för denna sida på wikin</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://xn--jrnvgshistoria-5hbd.se/index.php?title=Modul:URL/doc&amp;diff=60624&amp;oldid=prev</id>
		<title>Jan Karlsson: 1 version importerades</title>
		<link rel="alternate" type="text/html" href="https://xn--jrnvgshistoria-5hbd.se/index.php?title=Modul:URL/doc&amp;diff=60624&amp;oldid=prev"/>
		<updated>2021-01-05T08:11:26Z</updated>

		<summary type="html">&lt;p&gt;1 version importerades&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;sv&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Versionen från 5 januari 2021 kl. 08.11&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key hviqzheq_jarnvagshistoria22:diff::1.12:old-60623:rev-60624 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jan Karlsson</name></author>
	</entry>
	<entry>
		<id>https://xn--jrnvgshistoria-5hbd.se/index.php?title=Modul:URL/doc&amp;diff=60623&amp;oldid=prev</id>
		<title>jarnvagsdata&gt;RexxS: /* Example */ typo</title>
		<link rel="alternate" type="text/html" href="https://xn--jrnvgshistoria-5hbd.se/index.php?title=Modul:URL/doc&amp;diff=60623&amp;oldid=prev"/>
		<updated>2020-12-14T20:51:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Example: &lt;/span&gt; typo&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ny sida&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{High-risk|354,000+}}&lt;br /&gt;
{{module rating|protected}}&lt;br /&gt;
&lt;br /&gt;
This module implements {{tl|URL}} and {{tl|URL2}}. Please see the template page for documentation.&lt;br /&gt;
&lt;br /&gt;
== Lua interface ==&lt;br /&gt;
The &amp;lt;code&amp;gt;p._url(url, text, msg)&amp;lt;/code&amp;gt; function may be used by other Lua modules. It returns a formatted Wikitext for the given URL, made suitable for line wrapping using {{tag|wbr|x}}. It takes the following parameters:&lt;br /&gt;
&lt;br /&gt;
; url : '''REQUIRED.''' The URL to format.&lt;br /&gt;
; text : '''OPTIONAL.''' Display text to put in the Wikitext link. Defaults to a pretty version of the URL.&lt;br /&gt;
; msg : '''OPTIONAL.''' String. If content is &amp;lt;samp&amp;gt;false&amp;lt;/samp&amp;gt;, &amp;lt;samp&amp;gt;n&amp;lt;/samp&amp;gt; or &amp;lt;samp&amp;gt;N&amp;lt;/samp&amp;gt;, do not emit a help message (using {{tlx|tlx}}) when URL is not given.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
The following module emits a prettified link to log the user out. It will wrap correctly to most widths.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=lua&amp;gt;&lt;br /&gt;
local url = require('Module:URL')._url&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
p.main = function(frame)&lt;br /&gt;
    return url(&amp;quot;https://en.wikipedia.org/wiki/Special:UserLogout&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{ml|WikidataIB|url2}}&lt;/div&gt;</summary>
		<author><name>jarnvagsdata&gt;RexxS</name></author>
	</entry>
</feed>