<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikistudy.byjuho.fi/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ANavbar</id>
	<title>Module:Navbar - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikistudy.byjuho.fi/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ANavbar"/>
	<link rel="alternate" type="text/html" href="https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;action=history"/>
	<updated>2026-04-06T01:13:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=2114&amp;oldid=prev</id>
		<title>Jukeboksi: 1 revision: Importing citation templates based on the ones shown in  w:Wikipedia:Citation templates</title>
		<link rel="alternate" type="text/html" href="https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=2114&amp;oldid=prev"/>
		<updated>2015-01-30T17:06:26Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Importing citation templates based on the ones shown in  &lt;a href=&quot;https://www.wikipedia.org/wiki/Wikipedia:Citation_templates&quot; class=&quot;extiw&quot; title=&quot;w:Wikipedia:Citation templates&quot;&gt;w:Wikipedia:Citation templates&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
local getArgs&lt;br /&gt;
&lt;br /&gt;
function p._navbar(args)&lt;br /&gt;
	local titleArg = 1&lt;br /&gt;
&lt;br /&gt;
	if args.collapsible then&lt;br /&gt;
		titleArg = 2&lt;br /&gt;
		if not args.plain then&lt;br /&gt;
			args.mini = 1&lt;br /&gt;
		end&lt;br /&gt;
		if args.fontcolor then&lt;br /&gt;
			args.fontstyle = &amp;#039;color:&amp;#039; .. args.fontcolor .. &amp;#039;;&amp;#039;&lt;br /&gt;
		end&lt;br /&gt;
		args.style = &amp;#039;float:left; text-align:left; width:6em;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local titleText = args[titleArg] or (&amp;#039;:&amp;#039; .. mw.getCurrentFrame():getParent():getTitle())&lt;br /&gt;
	local title = mw.title.new(mw.text.trim(titleText), &amp;#039;Template&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
	if not title then&lt;br /&gt;
		error(&amp;#039;Invalid title &amp;#039; .. titleText)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local talkpage = title.talkPageTitle and title.talkPageTitle.fullText or &amp;#039;&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
	local div = mw.html.create():tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
	div&lt;br /&gt;
		:addClass(&amp;#039;plainlinks&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;hlist&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;navbar&amp;#039;)&lt;br /&gt;
		:cssText(args.style)&lt;br /&gt;
&lt;br /&gt;
	if args.mini then div:addClass(&amp;#039;mini&amp;#039;) end&lt;br /&gt;
&lt;br /&gt;
	if not (args.mini or args.plain) then&lt;br /&gt;
		div&lt;br /&gt;
			:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
				:css(&amp;#039;word-spacing&amp;#039;, 0)&lt;br /&gt;
				:cssText(args.fontstyle)&lt;br /&gt;
				:wikitext(args.text or &amp;#039;This box:&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039; &amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if args.brackets then&lt;br /&gt;
		div&lt;br /&gt;
			:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
				:css(&amp;#039;margin-right&amp;#039;, &amp;#039;-0.125em&amp;#039;)&lt;br /&gt;
				:cssText(args.fontstyle)&lt;br /&gt;
				:wikitext(&amp;#039;&amp;amp;#91;&amp;#039;)&lt;br /&gt;
				:newline();&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local ul = div:tag(&amp;#039;ul&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
	ul&lt;br /&gt;
		:tag(&amp;#039;li&amp;#039;)&lt;br /&gt;
			:addClass(&amp;#039;nv-view&amp;#039;)&lt;br /&gt;
			:wikitext(&amp;#039;[[&amp;#039; .. title.fullText .. &amp;#039;|&amp;#039;)&lt;br /&gt;
			:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
				:attr(&amp;#039;title&amp;#039;, &amp;#039;View this template&amp;#039;)&lt;br /&gt;
				:cssText(args.fontstyle)&lt;br /&gt;
				:wikitext(args.mini and &amp;#039;v&amp;#039; or &amp;#039;view&amp;#039;)&lt;br /&gt;
				:done()&lt;br /&gt;
			:wikitext(&amp;#039;]]&amp;#039;)&lt;br /&gt;
			:done()&lt;br /&gt;
		:tag(&amp;#039;li&amp;#039;)&lt;br /&gt;
			:addClass(&amp;#039;nv-talk&amp;#039;)&lt;br /&gt;
			:wikitext(&amp;#039;[[&amp;#039; .. talkpage .. &amp;#039;|&amp;#039;)&lt;br /&gt;
			:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
				:attr(&amp;#039;title&amp;#039;, &amp;#039;Discuss this template&amp;#039;)&lt;br /&gt;
				:cssText(args.fontstyle)&lt;br /&gt;
				:wikitext(args.mini and &amp;#039;t&amp;#039; or &amp;#039;talk&amp;#039;)&lt;br /&gt;
				:done()&lt;br /&gt;
			:wikitext(&amp;#039;]]&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
	if not args.noedit then&lt;br /&gt;
		ul&lt;br /&gt;
			:tag(&amp;#039;li&amp;#039;)&lt;br /&gt;
				:addClass(&amp;#039;nv-edit&amp;#039;)&lt;br /&gt;
				:wikitext(&amp;#039;[&amp;#039; .. title:fullUrl(&amp;#039;action=edit&amp;#039;) .. &amp;#039; &amp;#039;)&lt;br /&gt;
				:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
					:attr(&amp;#039;title&amp;#039;, &amp;#039;Edit this template&amp;#039;)&lt;br /&gt;
					:cssText(args.fontstyle)&lt;br /&gt;
					:wikitext(args.mini and &amp;#039;e&amp;#039; or &amp;#039;edit&amp;#039;)&lt;br /&gt;
					:done()&lt;br /&gt;
				:wikitext(&amp;#039;]&amp;#039;);&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if args.brackets then&lt;br /&gt;
		div&lt;br /&gt;
			:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
				:css(&amp;#039;margin-left&amp;#039;, &amp;#039;-0.125em&amp;#039;)&lt;br /&gt;
				:cssText(args.fontstyle)&lt;br /&gt;
				:wikitext(&amp;#039;&amp;amp;#93;&amp;#039;)&lt;br /&gt;
				:newline();&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	if args.collapsible then&lt;br /&gt;
		div&lt;br /&gt;
			:done()&lt;br /&gt;
		:tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
			:css(&amp;#039;font-size&amp;#039;, &amp;#039;110%&amp;#039;)&lt;br /&gt;
			:cssText(args.fontstyle)&lt;br /&gt;
			:wikitext(args[1])&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	return tostring(div:done())&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.navbar(frame)&lt;br /&gt;
	if not getArgs then&lt;br /&gt;
		getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs&lt;br /&gt;
	end&lt;br /&gt;
	return p._navbar(getArgs(frame))&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Jukeboksi</name></author>
	</entry>
	<entry>
		<id>https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1215&amp;oldid=prev</id>
		<title>Jukeboksi: 7 revisions: trying it again</title>
		<link rel="alternate" type="text/html" href="https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1215&amp;oldid=prev"/>
		<updated>2014-07-26T19:48:31Z</updated>

		<summary type="html">&lt;p&gt;7 revisions: trying it again&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 19:48, 26 July 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikistudy:diff:1.41:old-1214:rev-1215 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jukeboksi</name></author>
	</entry>
	<entry>
		<id>https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1214&amp;oldid=prev</id>
		<title>Jukeboksi: 1 revision: batch importing all relevant navboxen from w:Category:Finance templates</title>
		<link rel="alternate" type="text/html" href="https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1214&amp;oldid=prev"/>
		<updated>2013-09-05T09:58:44Z</updated>

		<summary type="html">&lt;p&gt;1 revision: batch importing all relevant navboxen from &lt;a href=&quot;https://www.wikipedia.org/wiki/Category:Finance_templates&quot; class=&quot;extiw&quot; title=&quot;w:Category:Finance templates&quot;&gt;w:Category:Finance templates&lt;/a&gt;&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 09:58, 5 September 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikistudy:diff:1.41:old-1213:rev-1214 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jukeboksi</name></author>
	</entry>
	<entry>
		<id>https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1213&amp;oldid=prev</id>
		<title>141.114.96.84: hrmm</title>
		<link rel="alternate" type="text/html" href="https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1213&amp;oldid=prev"/>
		<updated>2013-09-03T14:57:28Z</updated>

		<summary type="html">&lt;p&gt;hrmm&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 14:57, 3 September 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function getTitle( pageName )&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function getTitle( pageName )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pageName = trim( pageName );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pageName = trim( pageName );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.log(pageName);&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local page_title, talk_page_title;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local page_title, talk_page_title;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikistudy:diff:1.41:old-1212:rev-1213:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>141.114.96.84</name></author>
	</entry>
	<entry>
		<id>https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1212&amp;oldid=prev</id>
		<title>141.114.96.84 at 14:57, 3 September 2013</title>
		<link rel="alternate" type="text/html" href="https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1212&amp;oldid=prev"/>
		<updated>2013-09-03T14:57:08Z</updated>

		<summary type="html">&lt;p&gt;&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 14:57, 3 September 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l21&quot;&gt;Line 21:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 21:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function getTitle( pageName )&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;function getTitle( pageName )&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pageName = trim( pageName );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pageName = trim( pageName );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.log(pageName);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local page_title, talk_page_title;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     local page_title, talk_page_title;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if mw.ustring.sub(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.config.get(&#039;&lt;/del&gt;pageName&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;)&lt;/del&gt;, 1, 1) == &#039;:&#039; then&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if mw.ustring.sub(pageName, 1, 1) == &#039;:&#039; then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         page_title = mw.title.new( mw.ustring.sub(pageName, 2) );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         page_title = mw.title.new( mw.ustring.sub(pageName, 2) );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     else&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     else&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikistudy:diff:1.41:old-1211:rev-1212:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>141.114.96.84</name></author>
	</entry>
	<entry>
		<id>https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1211&amp;oldid=prev</id>
		<title>141.114.96.84: test</title>
		<link rel="alternate" type="text/html" href="https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1211&amp;oldid=prev"/>
		<updated>2013-09-03T14:55:04Z</updated>

		<summary type="html">&lt;p&gt;test&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
 &lt;br /&gt;
local HtmlBuilder = require(&amp;#039;Module:HtmlBuilder&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
function trim(s)&lt;br /&gt;
    return mw.ustring.match( s, &amp;quot;^%s*(.-)%s*$&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function error(s)&lt;br /&gt;
    local span = HtmlBuilder.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
    span&lt;br /&gt;
        .addClass(&amp;#039;error&amp;#039;)&lt;br /&gt;
        .css(&amp;#039;float&amp;#039;, &amp;#039;left&amp;#039;)&lt;br /&gt;
        .css(&amp;#039;white-space&amp;#039;, &amp;#039;nowrap&amp;#039;)&lt;br /&gt;
        .wikitext(&amp;#039;Error: &amp;#039; .. s)&lt;br /&gt;
 &lt;br /&gt;
    return tostring(span)&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function getTitle( pageName )&lt;br /&gt;
    pageName = trim( pageName );&lt;br /&gt;
    local page_title, talk_page_title;&lt;br /&gt;
 &lt;br /&gt;
    if mw.ustring.sub(mw.config.get(&amp;#039;pageName&amp;#039;), 1, 1) == &amp;#039;:&amp;#039; then&lt;br /&gt;
        page_title = mw.title.new( mw.ustring.sub(pageName, 2) );&lt;br /&gt;
    else&lt;br /&gt;
        page_title = mw.title.new( pageName, &amp;#039;Template&amp;#039; );&lt;br /&gt;
    end    &lt;br /&gt;
 &lt;br /&gt;
    if page_title then &lt;br /&gt;
        talk_page_title = page_title.talkPageTitle;&lt;br /&gt;
    else&lt;br /&gt;
        talk_page_title = nil;&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return page_title, talk_page_title;    &lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function _navbar( args )&lt;br /&gt;
    if not args[1] then&lt;br /&gt;
        return error(&amp;#039;No name provided&amp;#039;)&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    local good, title, talk_title;&lt;br /&gt;
    good, title, talk_title = pcall( getTitle, args[1] );&lt;br /&gt;
    if not good then&lt;br /&gt;
        return error(title);&lt;br /&gt;
    end    &lt;br /&gt;
 &lt;br /&gt;
    if not title then&lt;br /&gt;
        return error(&amp;#039;Page does not exist&amp;#039;)&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    local mainpage = title.fullText;&lt;br /&gt;
    local talkpage = talk_title and talk_title.fullText or &amp;#039;&amp;#039;&lt;br /&gt;
    local editurl = title:fullUrl( &amp;#039;action=edit&amp;#039; ); &lt;br /&gt;
 &lt;br /&gt;
    local viewLink, talkLink, editLink = &amp;#039;view&amp;#039;, &amp;#039;talk&amp;#039;, &amp;#039;edit&amp;#039;&lt;br /&gt;
    if args.mini then&lt;br /&gt;
        viewLink, talkLink, editLink = &amp;#039;v&amp;#039;, &amp;#039;t&amp;#039;, &amp;#039;e&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    local div = HtmlBuilder.create( &amp;#039;div&amp;#039; )&lt;br /&gt;
    div&lt;br /&gt;
        .addClass( &amp;#039;noprint&amp;#039; )&lt;br /&gt;
        .addClass( &amp;#039;plainlinks&amp;#039; )&lt;br /&gt;
        .addClass( &amp;#039;hlist&amp;#039; )&lt;br /&gt;
        .addClass( &amp;#039;navbar&amp;#039;)&lt;br /&gt;
        .cssText( args.style )&lt;br /&gt;
 &lt;br /&gt;
    if args.mini then div.addClass(&amp;#039;mini&amp;#039;) end&lt;br /&gt;
 &lt;br /&gt;
    if not (args.mini or args.plain) then&lt;br /&gt;
        div&lt;br /&gt;
            .tag( &amp;#039;span&amp;#039; )&lt;br /&gt;
                .css( &amp;#039;word-spacing&amp;#039;, 0 )&lt;br /&gt;
                .cssText( args.fontstyle )&lt;br /&gt;
                .wikitext( args.text or &amp;#039;This box:&amp;#039; )&lt;br /&gt;
                .wikitext( &amp;#039; &amp;#039; )&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    if args.brackets then&lt;br /&gt;
        div&lt;br /&gt;
            .tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
                .css(&amp;#039;margin-right&amp;#039;, &amp;#039;-0.125em&amp;#039;)&lt;br /&gt;
                .cssText( args.fontstyle )&lt;br /&gt;
                .wikitext( &amp;#039;&amp;amp;#91;&amp;#039; )&lt;br /&gt;
                .newline();&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    local ul = div.tag(&amp;#039;ul&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
    ul&lt;br /&gt;
        .tag( &amp;#039;li&amp;#039; )&lt;br /&gt;
            .addClass( &amp;#039;nv-view&amp;#039; )&lt;br /&gt;
            .wikitext( &amp;#039;[[&amp;#039; .. mainpage .. &amp;#039;|&amp;#039; )&lt;br /&gt;
            .tag( &amp;#039;span &amp;#039; )&lt;br /&gt;
                .attr( &amp;#039;title&amp;#039;, &amp;#039;View this template&amp;#039; )&lt;br /&gt;
                .cssText( args.fontstyle or &amp;#039;&amp;#039; )&lt;br /&gt;
                .wikitext( viewLink )&lt;br /&gt;
                .done()&lt;br /&gt;
            .wikitext( &amp;#039;]]&amp;#039; )&lt;br /&gt;
            .done()&lt;br /&gt;
        .tag( &amp;#039;li&amp;#039; )&lt;br /&gt;
            .addClass( &amp;#039;nv-talk&amp;#039; )&lt;br /&gt;
            .wikitext( &amp;#039;[[&amp;#039; .. talkpage .. &amp;#039;|&amp;#039; )&lt;br /&gt;
            .tag( &amp;#039;span &amp;#039; )&lt;br /&gt;
                .attr( &amp;#039;title&amp;#039;, &amp;#039;Discuss this template&amp;#039; )&lt;br /&gt;
                .cssText( args.fontstyle or &amp;#039;&amp;#039; )&lt;br /&gt;
                .wikitext( talkLink )&lt;br /&gt;
                .done()&lt;br /&gt;
            .wikitext( &amp;#039;]]&amp;#039; );&lt;br /&gt;
 &lt;br /&gt;
    if not args.noedit then &lt;br /&gt;
        ul&lt;br /&gt;
            .tag( &amp;#039;li&amp;#039; )&lt;br /&gt;
                .addClass( &amp;#039;nv-edit&amp;#039; )&lt;br /&gt;
                .wikitext( &amp;#039;[&amp;#039; .. editurl .. &amp;#039; &amp;#039; )&lt;br /&gt;
                .tag( &amp;#039;span &amp;#039; )&lt;br /&gt;
                    .attr( &amp;#039;title&amp;#039;, &amp;#039;Edit this template&amp;#039; )&lt;br /&gt;
                    .cssText( args.fontstyle or &amp;#039;&amp;#039; )&lt;br /&gt;
                    .wikitext( editLink )&lt;br /&gt;
                    .done()&lt;br /&gt;
                .wikitext( &amp;#039;]&amp;#039; );&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    if args.brackets then&lt;br /&gt;
        div&lt;br /&gt;
            .tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
                .css(&amp;#039;margin-left&amp;#039;, &amp;#039;-0.125em&amp;#039;)&lt;br /&gt;
                .cssText( args.fontstyle or &amp;#039;&amp;#039; )&lt;br /&gt;
                .wikitext( &amp;#039;&amp;amp;#93;&amp;#039; )&lt;br /&gt;
                .newline();&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return tostring(div)&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.navbar(frame)&lt;br /&gt;
    local origArgs&lt;br /&gt;
    -- If called via #invoke, use the args passed into the invoking template.&lt;br /&gt;
    -- Otherwise, for testing purposes, assume args are being passed directly in.&lt;br /&gt;
    if frame == mw.getCurrentFrame() then&lt;br /&gt;
        origArgs = frame:getParent().args&lt;br /&gt;
    else&lt;br /&gt;
        origArgs = frame&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    -- ParserFunctions considers the empty string to be false, so to preserve the previous &lt;br /&gt;
    -- behavior of {{navbar}}, change any empty arguments to nil, so Lua will consider&lt;br /&gt;
    -- them false too.&lt;br /&gt;
    args = {}&lt;br /&gt;
    for k, v in pairs(origArgs) do&lt;br /&gt;
        if v ~= &amp;#039;&amp;#039; then&lt;br /&gt;
            args[k] = v&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return _navbar(args)&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>141.114.96.84</name></author>
	</entry>
	<entry>
		<id>https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1209&amp;oldid=prev</id>
		<title>Jukeboksi: tweaking to make the module show the real error thrown</title>
		<link rel="alternate" type="text/html" href="https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1209&amp;oldid=prev"/>
		<updated>2013-09-03T13:40:22Z</updated>

		<summary type="html">&lt;p&gt;tweaking to make the module show the real error thrown&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 13:40, 3 September 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     good, title, talk_title = pcall( getTitle, args[1] );&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     good, title, talk_title = pcall( getTitle, args[1] );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if not good then&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     if not good then&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         return error(&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;Expensive parser function limit exceeded&#039;&lt;/del&gt;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         return error(&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;title&lt;/ins&gt;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     end     &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     end     &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikistudy:diff:1.41:old-1208:rev-1209:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Jukeboksi</name></author>
	</entry>
	<entry>
		<id>https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1208&amp;oldid=prev</id>
		<title>Jukeboksi: Module:Navbar is needed by Module:Navbox</title>
		<link rel="alternate" type="text/html" href="https://wikistudy.byjuho.fi/w/index.php?title=Module:Navbar&amp;diff=1208&amp;oldid=prev"/>
		<updated>2013-09-03T12:30:02Z</updated>

		<summary type="html">&lt;p&gt;Module:Navbar is needed by Module:Navbox&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
 &lt;br /&gt;
local HtmlBuilder = require(&amp;#039;Module:HtmlBuilder&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
function trim(s)&lt;br /&gt;
    return mw.ustring.match( s, &amp;quot;^%s*(.-)%s*$&amp;quot; )&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function error(s)&lt;br /&gt;
    local span = HtmlBuilder.create(&amp;#039;span&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
    span&lt;br /&gt;
        .addClass(&amp;#039;error&amp;#039;)&lt;br /&gt;
        .css(&amp;#039;float&amp;#039;, &amp;#039;left&amp;#039;)&lt;br /&gt;
        .css(&amp;#039;white-space&amp;#039;, &amp;#039;nowrap&amp;#039;)&lt;br /&gt;
        .wikitext(&amp;#039;Error: &amp;#039; .. s)&lt;br /&gt;
 &lt;br /&gt;
    return tostring(span)&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function getTitle( pageName )&lt;br /&gt;
    pageName = trim( pageName );&lt;br /&gt;
    local page_title, talk_page_title;&lt;br /&gt;
 &lt;br /&gt;
    if mw.ustring.sub(pageName, 1, 1) == &amp;#039;:&amp;#039; then&lt;br /&gt;
        page_title = mw.title.new( mw.ustring.sub(pageName, 2) );&lt;br /&gt;
    else&lt;br /&gt;
        page_title = mw.title.new( pageName, &amp;#039;Template&amp;#039; );&lt;br /&gt;
    end    &lt;br /&gt;
 &lt;br /&gt;
    if page_title then &lt;br /&gt;
        talk_page_title = page_title.talkPageTitle;&lt;br /&gt;
    else&lt;br /&gt;
        talk_page_title = nil;&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return page_title, talk_page_title;    &lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function _navbar( args )&lt;br /&gt;
    if not args[1] then&lt;br /&gt;
        return error(&amp;#039;No name provided&amp;#039;)&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    local good, title, talk_title;&lt;br /&gt;
    good, title, talk_title = pcall( getTitle, args[1] );&lt;br /&gt;
    if not good then&lt;br /&gt;
        return error(&amp;#039;Expensive parser function limit exceeded&amp;#039;);&lt;br /&gt;
    end    &lt;br /&gt;
 &lt;br /&gt;
    if not title then&lt;br /&gt;
        return error(&amp;#039;Page does not exist&amp;#039;)&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    local mainpage = title.fullText;&lt;br /&gt;
    local talkpage = talk_title and talk_title.fullText or &amp;#039;&amp;#039;&lt;br /&gt;
    local editurl = title:fullUrl( &amp;#039;action=edit&amp;#039; ); &lt;br /&gt;
 &lt;br /&gt;
    local viewLink, talkLink, editLink = &amp;#039;view&amp;#039;, &amp;#039;talk&amp;#039;, &amp;#039;edit&amp;#039;&lt;br /&gt;
    if args.mini then&lt;br /&gt;
        viewLink, talkLink, editLink = &amp;#039;v&amp;#039;, &amp;#039;t&amp;#039;, &amp;#039;e&amp;#039;&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    local div = HtmlBuilder.create( &amp;#039;div&amp;#039; )&lt;br /&gt;
    div&lt;br /&gt;
        .addClass( &amp;#039;noprint&amp;#039; )&lt;br /&gt;
        .addClass( &amp;#039;plainlinks&amp;#039; )&lt;br /&gt;
        .addClass( &amp;#039;hlist&amp;#039; )&lt;br /&gt;
        .addClass( &amp;#039;navbar&amp;#039;)&lt;br /&gt;
        .cssText( args.style )&lt;br /&gt;
 &lt;br /&gt;
    if args.mini then div.addClass(&amp;#039;mini&amp;#039;) end&lt;br /&gt;
 &lt;br /&gt;
    if not (args.mini or args.plain) then&lt;br /&gt;
        div&lt;br /&gt;
            .tag( &amp;#039;span&amp;#039; )&lt;br /&gt;
                .css( &amp;#039;word-spacing&amp;#039;, 0 )&lt;br /&gt;
                .cssText( args.fontstyle )&lt;br /&gt;
                .wikitext( args.text or &amp;#039;This box:&amp;#039; )&lt;br /&gt;
                .wikitext( &amp;#039; &amp;#039; )&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    if args.brackets then&lt;br /&gt;
        div&lt;br /&gt;
            .tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
                .css(&amp;#039;margin-right&amp;#039;, &amp;#039;-0.125em&amp;#039;)&lt;br /&gt;
                .cssText( args.fontstyle )&lt;br /&gt;
                .wikitext( &amp;#039;&amp;amp;#91;&amp;#039; )&lt;br /&gt;
                .newline();&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    local ul = div.tag(&amp;#039;ul&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
    ul&lt;br /&gt;
        .tag( &amp;#039;li&amp;#039; )&lt;br /&gt;
            .addClass( &amp;#039;nv-view&amp;#039; )&lt;br /&gt;
            .wikitext( &amp;#039;[[&amp;#039; .. mainpage .. &amp;#039;|&amp;#039; )&lt;br /&gt;
            .tag( &amp;#039;span &amp;#039; )&lt;br /&gt;
                .attr( &amp;#039;title&amp;#039;, &amp;#039;View this template&amp;#039; )&lt;br /&gt;
                .cssText( args.fontstyle or &amp;#039;&amp;#039; )&lt;br /&gt;
                .wikitext( viewLink )&lt;br /&gt;
                .done()&lt;br /&gt;
            .wikitext( &amp;#039;]]&amp;#039; )&lt;br /&gt;
            .done()&lt;br /&gt;
        .tag( &amp;#039;li&amp;#039; )&lt;br /&gt;
            .addClass( &amp;#039;nv-talk&amp;#039; )&lt;br /&gt;
            .wikitext( &amp;#039;[[&amp;#039; .. talkpage .. &amp;#039;|&amp;#039; )&lt;br /&gt;
            .tag( &amp;#039;span &amp;#039; )&lt;br /&gt;
                .attr( &amp;#039;title&amp;#039;, &amp;#039;Discuss this template&amp;#039; )&lt;br /&gt;
                .cssText( args.fontstyle or &amp;#039;&amp;#039; )&lt;br /&gt;
                .wikitext( talkLink )&lt;br /&gt;
                .done()&lt;br /&gt;
            .wikitext( &amp;#039;]]&amp;#039; );&lt;br /&gt;
 &lt;br /&gt;
    if not args.noedit then &lt;br /&gt;
        ul&lt;br /&gt;
            .tag( &amp;#039;li&amp;#039; )&lt;br /&gt;
                .addClass( &amp;#039;nv-edit&amp;#039; )&lt;br /&gt;
                .wikitext( &amp;#039;[&amp;#039; .. editurl .. &amp;#039; &amp;#039; )&lt;br /&gt;
                .tag( &amp;#039;span &amp;#039; )&lt;br /&gt;
                    .attr( &amp;#039;title&amp;#039;, &amp;#039;Edit this template&amp;#039; )&lt;br /&gt;
                    .cssText( args.fontstyle or &amp;#039;&amp;#039; )&lt;br /&gt;
                    .wikitext( editLink )&lt;br /&gt;
                    .done()&lt;br /&gt;
                .wikitext( &amp;#039;]&amp;#039; );&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    if args.brackets then&lt;br /&gt;
        div&lt;br /&gt;
            .tag(&amp;#039;span&amp;#039;)&lt;br /&gt;
                .css(&amp;#039;margin-left&amp;#039;, &amp;#039;-0.125em&amp;#039;)&lt;br /&gt;
                .cssText( args.fontstyle or &amp;#039;&amp;#039; )&lt;br /&gt;
                .wikitext( &amp;#039;&amp;amp;#93;&amp;#039; )&lt;br /&gt;
                .newline();&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return tostring(div)&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
function p.navbar(frame)&lt;br /&gt;
    local origArgs&lt;br /&gt;
    -- If called via #invoke, use the args passed into the invoking template.&lt;br /&gt;
    -- Otherwise, for testing purposes, assume args are being passed directly in.&lt;br /&gt;
    if frame == mw.getCurrentFrame() then&lt;br /&gt;
        origArgs = frame:getParent().args&lt;br /&gt;
    else&lt;br /&gt;
        origArgs = frame&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    -- ParserFunctions considers the empty string to be false, so to preserve the previous &lt;br /&gt;
    -- behavior of {{navbar}}, change any empty arguments to nil, so Lua will consider&lt;br /&gt;
    -- them false too.&lt;br /&gt;
    args = {}&lt;br /&gt;
    for k, v in pairs(origArgs) do&lt;br /&gt;
        if v ~= &amp;#039;&amp;#039; then&lt;br /&gt;
            args[k] = v&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
 &lt;br /&gt;
    return _navbar(args)&lt;br /&gt;
end&lt;br /&gt;
 &lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Jukeboksi</name></author>
	</entry>
</feed>