<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ostan-collections.net/wiki/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://www.ostan-collections.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Module%3ANavbar"/>
	<link rel="alternate" type="text/html" href="https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;action=history"/>
	<updated>2026-04-06T09:44:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.15</generator>
	<entry>
		<id>https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;diff=5857&amp;oldid=prev</id>
		<title>Goujer: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;diff=5857&amp;oldid=prev"/>
		<updated>2023-11-30T16:04:19Z</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;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:04, 30 November 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>Goujer</name></author>
	</entry>
	<entry>
		<id>https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;diff=5846&amp;oldid=prev</id>
		<title>Goujer: Protected &quot;Module:Navbar&quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;diff=5846&amp;oldid=prev"/>
		<updated>2023-11-30T15:37:03Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/index.php/Module:Navbar&quot; title=&quot;Module:Navbar&quot;&gt;Module:Navbar&lt;/a&gt;&amp;quot; ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:37, 30 November 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>Goujer</name></author>
	</entry>
	<entry>
		<id>https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;diff=5843&amp;oldid=prev</id>
		<title>Goujer: Created page with &quot;local p = {} local cfg = mw.loadData(&#039;Module:Navbar/configuration&#039;)  local function get_title_arg(is_collapsible, template) 	local title_arg = 1 	if is_collapsible then title_arg = 2 end 	if template then title_arg = &#039;template&#039; end 	return title_arg end  local function choose_links(template, args) 	-- The show table indicates the default displayed items. 	-- view, talk, edit, hist, move, watch 	-- TODO: Move to configuration. 	local show = {true, true, true, false, false...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;diff=5843&amp;oldid=prev"/>
		<updated>2023-11-30T15:33:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;local p = {} local cfg = mw.loadData(&amp;#039;Module:Navbar/configuration&amp;#039;)  local function get_title_arg(is_collapsible, template) 	local title_arg = 1 	if is_collapsible then title_arg = 2 end 	if template then title_arg = &amp;#039;template&amp;#039; end 	return title_arg end  local function choose_links(template, args) 	-- The show table indicates the default displayed items. 	-- view, talk, edit, hist, move, watch 	-- TODO: Move to configuration. 	local show = {true, true, true, false, false...&amp;quot;&lt;/p&gt;
&lt;a href=&quot;https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;amp;diff=5843&amp;amp;oldid=5856&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Goujer</name></author>
	</entry>
	<entry>
		<id>https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;diff=5856&amp;oldid=prev</id>
		<title>Mediawiki&gt;Izno: add flatlist styles</title>
		<link rel="alternate" type="text/html" href="https://www.ostan-collections.net/wiki/index.php?title=Module:Navbar&amp;diff=5856&amp;oldid=prev"/>
		<updated>2021-05-26T04:24:47Z</updated>

		<summary type="html">&lt;p&gt;add flatlist styles&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;
local ul&lt;br /&gt;
&lt;br /&gt;
function p.addItem (mini, full, link, descrip, args, url)&lt;br /&gt;
	local l&lt;br /&gt;
	if url then&lt;br /&gt;
		l = {&amp;#039;[&amp;#039;, &amp;#039;&amp;#039;, &amp;#039;]&amp;#039;}&lt;br /&gt;
	else&lt;br /&gt;
		l = {&amp;#039;[[&amp;#039;, &amp;#039;|&amp;#039;, &amp;#039;]]&amp;#039;}&lt;br /&gt;
	end&lt;br /&gt;
	ul:tag(&amp;#039;li&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;nv-&amp;#039;..full)&lt;br /&gt;
		:wikitext(l[1] .. link .. l[2])&lt;br /&gt;
		:tag(args.mini and &amp;#039;abbr&amp;#039; or &amp;#039;span&amp;#039;)&lt;br /&gt;
			:attr(&amp;#039;title&amp;#039;, descrip..&amp;#039; this template&amp;#039;)&lt;br /&gt;
			:cssText(args.fontstyle)&lt;br /&gt;
			:wikitext(args.mini and mini or full)&lt;br /&gt;
			:done()&lt;br /&gt;
		:wikitext(l[3])&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.brackets (position, c, args, div)&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-&amp;#039;..position, &amp;#039;-0.125em&amp;#039;)&lt;br /&gt;
				:cssText(args.fontstyle)&lt;br /&gt;
				:wikitext(c)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._navbar(args)&lt;br /&gt;
	local show = {true, true, true, false, false, false}&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 args.mini = 1 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&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if args.template then&lt;br /&gt;
		titleArg = &amp;#039;template&amp;#039;&lt;br /&gt;
		show = {true, false, false, false, false, false}&lt;br /&gt;
		local index = {t = 2, d = 2, e = 3, h = 4, m = 5, w = 6, talk = 2, edit = 3, hist = 4, move = 5, watch = 6}&lt;br /&gt;
		for k,v in ipairs(require (&amp;#039;Module:TableTools&amp;#039;).compressSparseArray(args)) do&lt;br /&gt;
			local num = index[v]&lt;br /&gt;
			if num then show[num] = true end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if args.noedit then show[3] = false 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;
	if not title then&lt;br /&gt;
		error(&amp;#039;Invalid title &amp;#039; .. titleText)&lt;br /&gt;
	end&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;
	p.brackets(&amp;#039;right&amp;#039;, &amp;#039;&amp;amp;#91; &amp;#039;, args, div)&lt;br /&gt;
	&lt;br /&gt;
	ul = div:tag(&amp;#039;ul&amp;#039;)&lt;br /&gt;
	if show[1] then p.addItem(&amp;#039;v&amp;#039;, &amp;#039;view&amp;#039;, title.fullText, &amp;#039;View&amp;#039;, args) end&lt;br /&gt;
	if show[2] then p.addItem(&amp;#039;t&amp;#039;, &amp;#039;talk&amp;#039;, talkpage, &amp;#039;Discuss&amp;#039;, args) end&lt;br /&gt;
	if show[3] then p.addItem(&amp;#039;e&amp;#039;, &amp;#039;edit&amp;#039;, title:fullUrl(&amp;#039;action=edit&amp;#039;), &amp;#039;Edit&amp;#039;, args, true) end&lt;br /&gt;
	if show[4] then p.addItem(&amp;#039;h&amp;#039;, &amp;#039;hist&amp;#039;, title:fullUrl(&amp;#039;action=history&amp;#039;), &amp;#039;History of&amp;#039;, args, true) end&lt;br /&gt;
	if show[5] then&lt;br /&gt;
		local move = mw.title.new (&amp;#039;Special:Movepage&amp;#039;)&lt;br /&gt;
		p.addItem(&amp;#039;m&amp;#039;, &amp;#039;move&amp;#039;, move:fullUrl(&amp;#039;target=&amp;#039;..title.fullText), &amp;#039;Move&amp;#039;, args, true) end&lt;br /&gt;
	if show[6] then p.addItem(&amp;#039;w&amp;#039;, &amp;#039;watch&amp;#039;, title:fullUrl(&amp;#039;action=watch&amp;#039;), &amp;#039;Watch&amp;#039;, args, true) end&lt;br /&gt;
	&lt;br /&gt;
	p.brackets(&amp;#039;left&amp;#039;, &amp;#039; &amp;amp;#93;&amp;#039;, args, div)&lt;br /&gt;
	&lt;br /&gt;
	if args.collapsible then&lt;br /&gt;
		div&lt;br /&gt;
			:done()&lt;br /&gt;
		:tag(&amp;#039;div&amp;#039;)&lt;br /&gt;
			:css(&amp;#039;font-size&amp;#039;, &amp;#039;114%&amp;#039;)&lt;br /&gt;
			:css(&amp;#039;margin&amp;#039;, args.mini and &amp;#039;0 4em&amp;#039; or &amp;#039;0 7em&amp;#039;)&lt;br /&gt;
			:cssText(args.fontstyle)&lt;br /&gt;
			:wikitext(args[1])&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- DELIBERATE DELTA FROM EN.WP THAT INTEGRATES HLIST TSTYLES&lt;br /&gt;
	-- CARE WHEN SYNCING&lt;br /&gt;
	local frame = mw.getCurrentFrame()&lt;br /&gt;
	return frame:extensionTag{&lt;br /&gt;
		name = &amp;#039;templatestyles&amp;#039;, args = { src = &amp;#039;Flatlist/styles.css&amp;#039; }&lt;br /&gt;
	} .. frame:extensionTag{&lt;br /&gt;
		name = &amp;#039;templatestyles&amp;#039;, args = { src = &amp;#039;Module:Navbar/styles.css&amp;#039; }&lt;br /&gt;
	} .. 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>Mediawiki&gt;Izno</name></author>
	</entry>
</feed>