<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AFile_other%2Fdoc</id>
	<title>Template:File other/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://compusofia.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AFile_other%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:File_other/doc&amp;action=history"/>
	<updated>2026-04-19T01:39:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Template:File_other/doc&amp;diff=2203&amp;oldid=prev</id>
		<title>Majestix: 1 revision imported: Initial Setup</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:File_other/doc&amp;diff=2203&amp;oldid=prev"/>
		<updated>2026-04-10T16:28:29Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Initial Setup&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:28, 10 April 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikiNonStop:diff:1.41:old-2202:rev-2203 --&gt;
&lt;/table&gt;</summary>
		<author><name>Majestix</name></author>
	</entry>
	<entry>
		<id>https://compusofia.com/w/index.php?title=Template:File_other/doc&amp;diff=2202&amp;oldid=prev</id>
		<title>en&gt;SVG: Reverted edits by 78.187.234.48 (talk) to last revision by Varnent</title>
		<link rel="alternate" type="text/html" href="https://compusofia.com/w/index.php?title=Template:File_other/doc&amp;diff=2202&amp;oldid=prev"/>
		<updated>2012-07-02T10:04:31Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/wiki/Special:Contributions/78.187.234.48&quot; title=&quot;Special:Contributions/78.187.234.48&quot;&gt;78.187.234.48&lt;/a&gt; (&lt;a href=&quot;/w/index.php?title=User_talk:78.187.234.48&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:78.187.234.48 (page does not exist)&quot;&gt;talk&lt;/a&gt;) to last revision by &lt;a href=&quot;/w/index.php?title=User:Varnent&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Varnent (page does not exist)&quot;&gt;Varnent&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the {{tl|file other}} meta-template.&lt;br /&gt;
&lt;br /&gt;
This template helps other templates detect if they are on a &amp;quot;File:&amp;quot; page or some &amp;quot;other&amp;quot; type of page.&lt;br /&gt;
&lt;br /&gt;
This template was previously named {{tl|image other}}. That name redirects here so it still works, but using the old name is now deprecated.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
This template usually takes two parameters, like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{file other | File page text | Other pages text }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the template is on a file (image) page, it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{file other | demospace=file | File page text | Other pages text }}&lt;br /&gt;
&lt;br /&gt;
If the template is on any other page, it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{file other | File page text | Other pages text }}&lt;br /&gt;
&lt;br /&gt;
A typical usage case could be to make it so that a template only adds a category when on file pages. Thus not adding other pages that just show the template. Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{file other | [[Category:Some file maintenance category]] }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or to warn that a template should not be used on other pages:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{file other | | This template should only be used on file (image) pages. }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in the first case above the &amp;quot;other&amp;quot; parameter was not used, and in the second example the &amp;quot;file&amp;quot; parameter was left empty.&lt;br /&gt;
&lt;br /&gt;
=== Demospace ===&lt;br /&gt;
&lt;br /&gt;
For testing and demonstration purposes this template can take a parameter named &amp;#039;&amp;#039;&amp;#039;demospace&amp;#039;&amp;#039;&amp;#039;. &lt;br /&gt;
&lt;br /&gt;
* If it has the value &amp;#039;&amp;#039;&amp;#039;file&amp;#039;&amp;#039;&amp;#039; it returns the file page text.&lt;br /&gt;
* It if has the value &amp;#039;&amp;#039;&amp;#039;other&amp;#039;&amp;#039;&amp;#039; or any other value such as the name of some other namespace it returns the other pages text.&lt;br /&gt;
* If the parameter is empty or undefined, the actual page type determines the result.&lt;br /&gt;
&lt;br /&gt;
Like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{file other &lt;br /&gt;
| File page text &lt;br /&gt;
| Other pages text &lt;br /&gt;
| demospace = file&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No matter on what kind of page the code above is used it will return this:&lt;br /&gt;
&lt;br /&gt;
:{{file other &lt;br /&gt;
| File page text &lt;br /&gt;
| Other pages text &lt;br /&gt;
| demospace = file&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
You can make it so your template also understands the &amp;#039;&amp;#039;&amp;#039;demospace&amp;#039;&amp;#039;&amp;#039; parameter. That means you can demonstrate the different appearances of your template in the documentation for your template. Then do like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{file other &lt;br /&gt;
| File page text &lt;br /&gt;
| Other pages text &lt;br /&gt;
| demospace = {{{demospace|}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Technical details ===&lt;br /&gt;
&lt;br /&gt;
This template detects &amp;quot;File talk:&amp;quot; pages as type &amp;#039;&amp;#039;&amp;#039;other&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
Namespace &amp;quot;Image&amp;quot; was renamed to &amp;quot;File&amp;quot; on 11 December 2008. This template was updated to understand both names well before that, thus it still works fine.&lt;br /&gt;
&lt;br /&gt;
This template works like {{tl|main talk other}}, for more examples and technical details see full documentation there. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Utility templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;SVG</name></author>
	</entry>
</feed>