<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AWd%2Fdoc</id>
	<title>Module:Wd/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://moasspedia.org/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AWd%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Module:Wd/doc&amp;action=history"/>
	<updated>2026-04-05T15:09:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://moasspedia.org/w/index.php?title=Module:Wd/doc&amp;diff=3739&amp;oldid=prev</id>
		<title>Wikipedia&gt;Thayts at 21:59, 24 August 2021</title>
		<link rel="alternate" type="text/html" href="https://moasspedia.org/w/index.php?title=Module:Wd/doc&amp;diff=3739&amp;oldid=prev"/>
		<updated>2021-08-24T21:59:04Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|protected}}&lt;br /&gt;
{{High-use|risk}}&lt;br /&gt;
{{ombox|text=You might want to use one of the user-friendly wrapper templates {{t|Wikidata}} and {{t|WikidataOI}} instead of invoking this module directly.}}&lt;br /&gt;
{{Wikidata/doc|prename=&amp;lt;nowiki/&amp;gt;#invoke:|prename_code=#invoke:|section==== Main class ===&lt;br /&gt;
The &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt; command is always used alone and does not take any flags or arguments. It allows parent templates to pass on their parameters in the form of commands to this module.&lt;br /&gt;
&amp;lt;table class=&amp;quot;wikitable&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Command&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Basic usage&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;th&amp;gt;Description&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;th style=&amp;quot;text-align:left;&amp;quot;&amp;gt;&amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt;&amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;{{nowrap|{{tnull|&amp;lt;nowiki/&amp;gt;#invoke:{{lc:{{ROOTPAGENAME}}}}|main}}}}&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;Intended for use by wrapper templates (around this module) to invoke one or more of the above commands, returning their respective output.&lt;br /&gt;
&amp;lt;p&amp;gt;The parameters passed to the wrapper template are the ones that will be used by the module, e.g. {{tnull|wikidata|&amp;#039;&amp;#039;&amp;#039;property&amp;#039;&amp;#039;&amp;#039;|&amp;#039;&amp;#039;&amp;#039;P1549&amp;#039;&amp;#039;&amp;#039;}} → {{tnull|&amp;lt;nowiki/&amp;gt;#invoke:wd|main}} → {{tnull|&amp;lt;nowiki/&amp;gt;#invoke:wd|main|&amp;#039;&amp;#039;&amp;#039;property&amp;#039;&amp;#039;&amp;#039;|&amp;#039;&amp;#039;&amp;#039;P1549&amp;#039;&amp;#039;&amp;#039;}}.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Therefore, any parameters set by the wrapper template itself will be discarded, e.g. {{tnull|wikidata|&amp;#039;&amp;#039;&amp;#039;property&amp;#039;&amp;#039;&amp;#039;|&amp;#039;&amp;#039;&amp;#039;P1549&amp;#039;&amp;#039;&amp;#039;}} → {{tnull|&amp;lt;nowiki/&amp;gt;#invoke:wd|main|{{color|red|qualifier}}|{{color|red|P1082}}|{{color|red|P585}}}} → {{tnull|&amp;lt;nowiki/&amp;gt;#invoke:wd|main|&amp;#039;&amp;#039;&amp;#039;property&amp;#039;&amp;#039;&amp;#039;|&amp;#039;&amp;#039;&amp;#039;P1549&amp;#039;&amp;#039;&amp;#039;}}.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;}}&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Thayts</name></author>
	</entry>
</feed>