<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikipedia_ads%2Fdoc</id>
	<title>Module:Wikipedia ads/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AWikipedia_ads%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Wikipedia_ads/doc&amp;action=history"/>
	<updated>2026-05-24T23:04:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Wikipedia_ads/doc&amp;diff=147720&amp;oldid=prev</id>
		<title>imported&gt;MSGJ: +cat</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Wikipedia_ads/doc&amp;diff=147720&amp;oldid=prev"/>
		<updated>2020-11-04T12:41:52Z</updated>

		<summary type="html">&lt;p&gt;+cat&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This module displays banner-style adverts for various Wikipedia projects, processes and pages. It implements [[Template:Wikipedia ads]].&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
{{Wikipedia ads}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== From wikitext ===&lt;br /&gt;
&lt;br /&gt;
From wikitext, usually this module should be used via [[Template:Wikipedia ads]]. However, it is also possible to use the syntax &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:wikipedia ads|main|...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, where &amp;quot;...&amp;quot; are the template arguments. See the template page for documentation and for a list of available parameters.&lt;br /&gt;
&lt;br /&gt;
=== From Lua ===&lt;br /&gt;
&lt;br /&gt;
First, load the module:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local mWikipediaAds = require(&amp;#039;Module:Wikipedia ads&amp;#039;)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then you can generate Wikipedia ads using the &amp;quot;_main&amp;quot; function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mWikipediaAds._main(args)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;var&amp;gt;args&amp;lt;/var&amp;gt; is a table of arguments that can be used by the module. See [[Template:Wikipedia ads]] for a complete list of arguments and for other documentation.&lt;br /&gt;
&lt;br /&gt;
== Adding and removing ads ==&lt;br /&gt;
&lt;br /&gt;
For instructions on creating the animated GIF files used in the ads, see [[Template:Wikipedia ads#Creating ads]]. For instructions on adding and removing images from the module, see [[Module:Wikipedia ads/list]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
[[Category:Wikipedia advertisement templates|*]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;MSGJ</name></author>
	</entry>
</feed>