<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3AImport_table%2Fdoc</id>
	<title>Module:Import table/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3AImport_table%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Import_table/doc&amp;action=history"/>
	<updated>2026-04-23T03:54:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Module:Import_table/doc&amp;diff=14708745&amp;oldid=prev</id>
		<title>imported&gt;Warudo: Added the page to :Category:Module documentation pages</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Import_table/doc&amp;diff=14708745&amp;oldid=prev"/>
		<updated>2024-08-29T21:50:38Z</updated>

		<summary type="html">&lt;p&gt;Added the page to &lt;a href=&quot;/index.php/Category:Module_documentation_pages&quot; title=&quot;Category:Module documentation pages&quot;&gt;Category:Module documentation pages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|alpha}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{#invoke:Import table|import&lt;br /&gt;
|page=&lt;br /&gt;
|config=&lt;br /&gt;
|common=&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module is designed to import data from tables in Wikipedia articles into Wikidata. The first column of the table must be the name of the item.&lt;br /&gt;
* If this is a link (or a redirect) to an existing article which has a corresponding Wikidata item, then the data will be imported into this item.&lt;br /&gt;
* If the first column contains a valid identifier for a Wikidata item (e.g. Q123456) then the data will be imported into this item.&lt;br /&gt;
* If this is plain text or a redlink, then the data will be imported into a new Wikidata item.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
* &amp;#039;&amp;#039;page&amp;#039;&amp;#039; - the name of the article/page to parse, e.g. {{para|page|List of dams in South Africa}}&lt;br /&gt;
* &amp;#039;&amp;#039;config&amp;#039;&amp;#039; - details about what type of data is held in each column of the table formatted as &amp;#039;&amp;#039;type&amp;#039;&amp;#039;-&amp;#039;&amp;#039;property&amp;#039;&amp;#039;-&amp;#039;&amp;#039;option&amp;#039;&amp;#039;. Currently recognised types are:&lt;br /&gt;
** &amp;#039;&amp;#039;label&amp;#039;&amp;#039; - the name of the article&lt;br /&gt;
** &amp;#039;&amp;#039;wikilink&amp;#039;&amp;#039; - a link to an article which should be the value of the property, e.g. &amp;lt;code&amp;gt;wikilink-P131&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;quantity&amp;#039;&amp;#039; - specify the unit in the third parameter, e.g. &amp;lt;code&amp;gt;quantity-P2048-Q11573&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039; year&amp;#039;&amp;#039; - a 4-digit year, e.g. &amp;lt;code&amp;gt;year-P571&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039; text&amp;#039;&amp;#039; - any text to import into a string datatype, e.g. &amp;lt;code&amp;gt;text-P3562&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039; coord&amp;#039;&amp;#039; - coordinate position, inside the {{tl|coord}} template, e.g. &amp;lt;code&amp;gt;coord-P625&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;#039;&amp;#039;donotuse&amp;#039;&amp;#039; (or any other unrecognised type) - indicates a column that will not be imported&lt;br /&gt;
* &amp;#039;&amp;#039;common&amp;#039;&amp;#039; - a set of values that every item in the list should have, formatted in pairs as &amp;#039;&amp;#039;property&amp;#039;&amp;#039;-&amp;#039;&amp;#039;value&amp;#039;&amp;#039;, e.g. {{para|common|P31-Q12323,P17-Q258}}&lt;br /&gt;
&lt;br /&gt;
=== Notes ===&lt;br /&gt;
* The module will not import any claim if there is already a statement for that property in Wikidata, no matter if the value is the same or different to that being imported, and even if the value is marked as deprecated.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Wikidata modules]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Module documentation pages]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Warudo</name></author>
	</entry>
</feed>