<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hant-TW">
	<id>https://encyclo-sanctum.encyclato.org/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E7%B5%84%3AEditAtWikidata</id>
	<title>模組:EditAtWikidata - 修訂紀錄</title>
	<link rel="self" type="application/atom+xml" href="https://encyclo-sanctum.encyclato.org/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E7%B5%84%3AEditAtWikidata"/>
	<link rel="alternate" type="text/html" href="https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E7%B5%84:EditAtWikidata&amp;action=history"/>
	<updated>2026-09-17T12:55:28Z</updated>
	<subtitle>本wiki上此頁面的修訂紀錄</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E7%B5%84:EditAtWikidata&amp;diff=531&amp;oldid=prev</id>
		<title>LatO：​已匯入 1 筆修訂</title>
		<link rel="alternate" type="text/html" href="https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E7%B5%84:EditAtWikidata&amp;diff=531&amp;oldid=prev"/>
		<updated>2026-09-17T09:28:57Z</updated>

		<summary type="html">&lt;p&gt;已匯入 1 筆修訂&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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;2026年9月17日 (四) 09:28的版本&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 mediawiki:diff:1.41:old-530:rev-531 --&gt;
&lt;/table&gt;</summary>
		<author><name>LatO</name></author>
	</entry>
	<entry>
		<id>https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E7%B5%84:EditAtWikidata&amp;diff=530&amp;oldid=prev</id>
		<title>國家模板&gt;Shizhao 於 2024年3月24日 (日) 06:12</title>
		<link rel="alternate" type="text/html" href="https://encyclo-sanctum.encyclato.org/index.php?title=%E6%A8%A1%E7%B5%84:EditAtWikidata&amp;diff=530&amp;oldid=prev"/>
		<updated>2024-03-24T06:12:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新頁面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- Module to display an icon with a tooltip such as &amp;quot;Edit this at Wikidata&amp;quot;.&lt;br /&gt;
-- Icon is linked to the Wikidata entry for the article where this is placed.&lt;br /&gt;
-- This message is only displayed if a local_parameter is not supplied&lt;br /&gt;
-- i.e. when called from a template, it can be coded not to display the message.&lt;br /&gt;
-- The qid of a Wikidata entry can optionally be supplied for testing outside the article.&lt;br /&gt;
-- Usage:&lt;br /&gt;
-- {{#invoke:EditAtWikidata|showMessage|local_parameter}}&lt;br /&gt;
-- {{#invoke:EditAtWikidata|showMessage|qid=&amp;lt;ArticleID&amp;gt;|local_parameter}}&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local i18n =&lt;br /&gt;
{&lt;br /&gt;
	[&amp;quot;message&amp;quot;] = &amp;quot;編輯維基數據鏈接&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local function trimToNil(text)&lt;br /&gt;
	-- Return trimmed non-empty text, or nil.&lt;br /&gt;
	if type(text) == &amp;#039;string&amp;#039; then&lt;br /&gt;
		return text:match(&amp;#039;(%S.-)%s*$&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._showMessage(args)&lt;br /&gt;
	local local_parm = trimToNil(args[1])&lt;br /&gt;
	if local_parm then return &amp;quot;&amp;quot; end&lt;br /&gt;
	-- Parameter qid=x specifies the Wikidata ID for the article.&lt;br /&gt;
	-- This is not normally used except for testing outside the article.&lt;br /&gt;
	local qid = trimToNil(args.qid) or mw.wikibase.getEntityIdForCurrentPage()&lt;br /&gt;
	if qid and mw.wikibase.entityExists(qid) then&lt;br /&gt;
		-- Parameter pid=x uses x as an anchor in the link to the Wikidata entry.&lt;br /&gt;
		local anchor = trimToNil(args.pid)&lt;br /&gt;
		-- Parameter nbsp replaces the leading space with &amp;amp;nbsp;&lt;br /&gt;
		local space = trimToNil(args.nbsp) and &amp;quot;&amp;amp;nbsp;&amp;quot; or &amp;quot; &amp;quot;&lt;br /&gt;
		return&lt;br /&gt;
			space ..&lt;br /&gt;
			&amp;quot;[[File:OOjs UI icon edit-ltr-progressive.svg|frameless|text-top|10px&amp;quot; ..&lt;br /&gt;
			&amp;quot;|alt=&amp;quot; .. i18n.message ..&lt;br /&gt;
			&amp;quot;|link=https://www.wikidata.org/wiki/&amp;quot; .. qid ..&lt;br /&gt;
			(anchor and (&amp;quot;#&amp;quot; .. anchor) or &amp;quot;&amp;quot;) ..&lt;br /&gt;
			&amp;quot;|class=noprint&amp;quot; ..&lt;br /&gt;
			&amp;quot;|&amp;quot; .. i18n.message ..&lt;br /&gt;
			&amp;quot;]]&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	return &amp;quot;&amp;quot;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.showMessage(frame)&lt;br /&gt;
	return p._showMessage(frame.args)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>國家模板&gt;Shizhao</name></author>
	</entry>
</feed>