<?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%3AMain_page_image%2Fdoc</id>
	<title>Module:Main page image/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%3AMain_page_image%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Main_page_image/doc&amp;action=history"/>
	<updated>2026-05-24T11:54:17Z</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:Main_page_image/doc&amp;diff=143920&amp;oldid=prev</id>
		<title>imported&gt;ProcrastinatingReader: remove file prefix</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Main_page_image/doc&amp;diff=143920&amp;oldid=prev"/>
		<updated>2020-07-31T21:22:08Z</updated>

		<summary type="html">&lt;p&gt;remove file prefix&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This module provides utility for wrappers of {{tl|Main page image}}.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;#invoke:{{BASEPAGENAME}}|width|&amp;#039;&amp;#039;ImageTitle&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt; Get image width from ImageTitle.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;ImageTitle&amp;#039;&amp;#039; must not contain the namespace prefix (eg &amp;quot;File:&amp;quot;). You can use {{t|Remove file prefix}} to strip it, if it exists, when sanitising template params. Example: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:Main page image|width|{{Remove file prefix|{{{image}}}}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;ProcrastinatingReader</name></author>
	</entry>
</feed>