<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://chunghwamc.com/wiki/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E7%B5%84%3A%E5%B0%8E%E8%A6%BD%E5%88%97</id>
	<title>模組:導覽列 - 修訂紀錄</title>
	<link rel="self" type="application/atom+xml" href="https://chunghwamc.com/wiki/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E7%B5%84%3A%E5%B0%8E%E8%A6%BD%E5%88%97"/>
	<link rel="alternate" type="text/html" href="https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E5%B0%8E%E8%A6%BD%E5%88%97&amp;action=history"/>
	<updated>2026-04-06T01:20:08Z</updated>
	<subtitle>本 wiki 上此頁面的修訂紀錄</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E5%B0%8E%E8%A6%BD%E5%88%97&amp;diff=1719&amp;oldid=prev</id>
		<title>Chunghwamc：​Chunghwamc已移動頁面模組:Navbar至模組:導覽列，不留重新導向</title>
		<link rel="alternate" type="text/html" href="https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E5%B0%8E%E8%A6%BD%E5%88%97&amp;diff=1719&amp;oldid=prev"/>
		<updated>2025-02-26T12:31:52Z</updated>

		<summary type="html">&lt;p&gt;Chunghwamc已移動頁面&lt;a href=&quot;/wiki/index.php?title=%E6%A8%A1%E7%B5%84:Navbar&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;模組:Navbar（頁面不存在）&quot;&gt;模組:Navbar&lt;/a&gt;至&lt;a href=&quot;/wiki/%E6%A8%A1%E7%B5%84:%E5%B0%8E%E8%A6%BD%E5%88%97&quot; title=&quot;模組:導覽列&quot;&gt;模組:導覽列&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;zh-Hant-TW&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上個修訂&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;於 2025年2月26日 (三) 20:31 的修訂&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hant-TW&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（無差異）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key chmc_wiki:diff:1.41:old-52:rev-1719 --&gt;
&lt;/table&gt;</summary>
		<author><name>Chunghwamc</name></author>
	</entry>
	<entry>
		<id>https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E5%B0%8E%E8%A6%BD%E5%88%97&amp;diff=52&amp;oldid=prev</id>
		<title>Chunghwamc：​建立內容為「local p = {}  local getArgs  function p._navbar(args) 	local titleArg = 1  	if args.collapsible then 		titleArg = 2 		if not args.plain then 			args.mini = 1 		end 		if args.fontcolor then 			args.fontstyle = &#039;color:&#039; .. args.fontcolor .. &#039;;&#039; 		end 		args.style = &#039;float:left; text-align:left&#039; 	end  	local titleText = args[titleArg] or (&#039;:&#039; .. mw.getCurrentFrame():getParent():getTitle()) 	local title = mw.title.new(mw.text.trim(titleText), &#039;Template&#039;);  	if n…」的新頁面</title>
		<link rel="alternate" type="text/html" href="https://chunghwamc.com/wiki/index.php?title=%E6%A8%A1%E7%B5%84:%E5%B0%8E%E8%A6%BD%E5%88%97&amp;diff=52&amp;oldid=prev"/>
		<updated>2024-03-23T08:51:34Z</updated>

		<summary type="html">&lt;p&gt;建立內容為「local p = {}  local getArgs  function p._navbar(args) 	local titleArg = 1  	if args.collapsible then 		titleArg = 2 		if not args.plain then 			args.mini = 1 		end 		if args.fontcolor then 			args.fontstyle = &amp;#039;color:&amp;#039; .. args.fontcolor .. &amp;#039;;&amp;#039; 		end 		args.style = &amp;#039;float:left; text-align:left&amp;#039; 	end  	local titleText = args[titleArg] or (&amp;#039;:&amp;#039; .. mw.getCurrentFrame():getParent():getTitle()) 	local title = mw.title.new(mw.text.trim(titleText), &amp;#039;Template&amp;#039;);  	if n…」的新頁面&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&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&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;頁面不存在 &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;本模板：&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;
	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(args.mini and &amp;#039;abbr&amp;#039; or &amp;#039;span&amp;#039;)&lt;br /&gt;
				:attr(&amp;#039;title&amp;#039;, &amp;#039;檢視該模板&amp;#039;)&lt;br /&gt;
				:cssText(args.fontstyle)&lt;br /&gt;
				:wikitext(args.mini and &amp;#039;閱&amp;#039; or &amp;#039;檢視&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(args.mini and &amp;#039;abbr&amp;#039; or &amp;#039;span&amp;#039;)&lt;br /&gt;
				:attr(&amp;#039;title&amp;#039;, &amp;#039;討論該模板&amp;#039;)&lt;br /&gt;
				:cssText(args.fontstyle)&lt;br /&gt;
				:wikitext(args.mini and &amp;#039;論&amp;#039; or &amp;#039;討論&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(args.mini and &amp;#039;abbr&amp;#039; or &amp;#039;span&amp;#039;)&lt;br /&gt;
					:attr(&amp;#039;title&amp;#039;, &amp;#039;編輯該模板&amp;#039;)&lt;br /&gt;
					:cssText(args.fontstyle)&lt;br /&gt;
					:wikitext(args.mini and &amp;#039;編&amp;#039; or &amp;#039;編輯&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;
	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;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;
	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>Chunghwamc</name></author>
	</entry>
</feed>