<?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=Template%3AUSERNAME%2Fdoc</id>
	<title>Template:USERNAME/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=Template%3AUSERNAME%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=Template:USERNAME/doc&amp;action=history"/>
	<updated>2026-06-04T12:59:23Z</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=Template:USERNAME/doc&amp;diff=4193&amp;oldid=prev</id>
		<title>Banri: Created page with &quot;{{documentation}} __NOEDITSECTION__  {{t|USERNAME}} displays the username of the user viewing the page. It relies on MediaWiki:Gadget-Username.js.  If the user is not logg...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.geministation.com/index.php?title=Template:USERNAME/doc&amp;diff=4193&amp;oldid=prev"/>
		<updated>2020-06-02T08:28:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation}} __NOEDITSECTION__  {{t|USERNAME}} displays the username of the user viewing the page. It relies on &lt;a href=&quot;/MediaWiki:Gadget-Username.js&quot; title=&quot;MediaWiki:Gadget-Username.js&quot;&gt;MediaWiki:Gadget-Username.js&lt;/a&gt;.  If the user is not logg...&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;
__NOEDITSECTION__&lt;br /&gt;
&lt;br /&gt;
{{t|USERNAME}} displays the username of the user viewing the page. It relies on [[MediaWiki:Gadget-Username.js]].&lt;br /&gt;
&lt;br /&gt;
If the user is not logged in, then the template will display &amp;lt;insert name here&amp;gt;. You can control the text by adding a parameter to the template with a value of the default text. For example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{USERNAME|foo}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; outputs &amp;quot;foo&amp;quot; if the user viewing it is not logged in.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{USERNAME|fallback (optional)}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt; parameter is optional. If left blank, the placeholder text will be replaced with the viewer&amp;#039;s wiki username (if logged in).&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Gives&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{USERNAME}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{USERNAME}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{USERNAME|Zezima}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
| {{USERNAME|Banri}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Transclusion templates|{{PAGENAME}}]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Banri</name></author>
	</entry>
</feed>