<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.geministation.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AClean_image%2Fdoc</id>
	<title>Module:Clean image/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.geministation.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AClean_image%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=Module:Clean_image/doc&amp;action=history"/>
	<updated>2026-06-04T15:42:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.geministation.com/index.php?title=Module:Clean_image/doc&amp;diff=4134&amp;oldid=prev</id>
		<title>Banri: Created page with &quot;{{Documentation}} Cleans an input image to prevent double linking.  {{Helper module |name=Clean image |fname1=&lt;nowiki&gt;clean{ file&amp;nbsp;=&amp;nbsp;[string|&#039;no&#039;], width&amp;nbsp;=&amp;nbsp;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=Module:Clean_image/doc&amp;diff=4134&amp;oldid=prev"/>
		<updated>2020-06-02T06:14:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation}} Cleans an input image to prevent double linking.  {{Helper module |name=Clean image |fname1=&amp;lt;nowiki&amp;gt;clean{ file = [string|&amp;#039;no&amp;#039;], width = ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation}}&lt;br /&gt;
Cleans an input image to prevent double linking.&lt;br /&gt;
&lt;br /&gt;
{{Helper module&lt;br /&gt;
|name=Clean image&lt;br /&gt;
|fname1=&amp;lt;nowiki&amp;gt;clean{ file&amp;amp;nbsp;=&amp;amp;nbsp;[string|&amp;#039;no&amp;#039;], width&amp;amp;nbsp;=&amp;amp;nbsp;[string|nil], height&amp;amp;nbsp;=&amp;amp;nbsp;[string|nil], link&amp;amp;nbsp;=&amp;amp;nbsp;[string|nil] }&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|ftype1=table&lt;br /&gt;
|fuse1=Used to clean up user input; extracts only the file name of the input and returns its own formatted link.&lt;br /&gt;
Input is a table with fields:&lt;br /&gt;
* &amp;lt;code&amp;gt;file&amp;lt;/code&amp;gt; - the full wikitext to be cleaned. All processing is skipped if file is empty or is the string &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt;.&lt;br /&gt;
* &amp;lt;code&amp;gt;width&amp;lt;/code&amp;gt; - width to resize the file to; no default&lt;br /&gt;
* &amp;lt;code&amp;gt;height&amp;lt;/code&amp;gt; - height to resize the file to, can be combined with width; no default&lt;br /&gt;
* &amp;lt;code&amp;gt;link&amp;lt;/code&amp;gt; - what page to link the file to; no default (file will link to file page), &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt; to link to nothing&lt;br /&gt;
|example=&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;#039;lua&amp;#039;&amp;gt;&lt;br /&gt;
local cleanImage = require( &amp;#039;Module:Clean image&amp;#039; ).clean&lt;br /&gt;
mw.log( cleanImage{ file = &amp;#039;[[File:Earth Icon.png|link=Earth|200px]]&amp;#039; } ) --&amp;gt; &amp;#039;[[File:Earth Icon.png|frameless]]&amp;#039;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Banri</name></author>
	</entry>
</feed>