 <?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.novoyuuparosk.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ALocalized_link%2Fen</id>
	<title>Template:Localized link/en - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.novoyuuparosk.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ALocalized_link%2Fen"/>
	<link rel="alternate" type="text/html" href="http://wiki.novoyuuparosk.org/index.php?title=Template:Localized_link/en&amp;action=history"/>
	<updated>2026-04-06T01:53:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>http://wiki.novoyuuparosk.org/index.php?title=Template:Localized_link/en&amp;diff=360&amp;oldid=prev</id>
		<title>Mikkeli: 1 revision imported: Imported &#039;Quote&#039; template and dependencies</title>
		<link rel="alternate" type="text/html" href="http://wiki.novoyuuparosk.org/index.php?title=Template:Localized_link/en&amp;diff=360&amp;oldid=prev"/>
		<updated>2023-07-02T17:19:53Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Imported &amp;#039;Quote&amp;#039; template and dependencies&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 02:19, 3 July 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key novoyuuparosk_wiki:diff::1.12:old-359:rev-360 --&gt;
&lt;/table&gt;</summary>
		<author><name>Mikkeli</name></author>
	</entry>
	<entry>
		<id>http://wiki.novoyuuparosk.org/index.php?title=Template:Localized_link/en&amp;diff=359&amp;oldid=prev</id>
		<title>Mediawiki&gt;FuzzyBot: Updating to match new version of source page</title>
		<link rel="alternate" type="text/html" href="http://wiki.novoyuuparosk.org/index.php?title=Template:Localized_link/en&amp;diff=359&amp;oldid=prev"/>
		<updated>2023-04-12T12:58:49Z</updated>

		<summary type="html">&lt;p&gt;Updating to match new version of source page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;languages/&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}&amp;lt;!--self link (including translation pages)--&amp;gt;&lt;br /&gt;
  |&amp;lt;b&amp;gt;&lt;br /&gt;
}}[[Special:MyLanguage/{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{2|{{#ifexist:Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page display title/{{PAGELANGUAGE}}&amp;lt;!--if the source page, PAGELANGUAGE returns en--&amp;gt;&lt;br /&gt;
  |{{#if:{{{nsp|}}}&lt;br /&gt;
    |{{#if:{{PAGENAME:{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} | nsp = 0 }} }}&lt;br /&gt;
      |{{PAGENAME:{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} | nsp = 0 }} }}&lt;br /&gt;
      |{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} | nsp = 0 }}&lt;br /&gt;
    }}&lt;br /&gt;
    |{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }}&lt;br /&gt;
  }}&lt;br /&gt;
  &amp;lt;!--if the translation page does not exist (or called from the source page), output as is--&amp;gt;&lt;br /&gt;
  |{{#if:{{{nsp|}}}&lt;br /&gt;
    |{{#if:{{PAGENAME:{{{1}}}}}&lt;br /&gt;
      |{{PAGENAME:{{{1}}}}}&lt;br /&gt;
      |{{{1}}}&lt;br /&gt;
    }}&lt;br /&gt;
    |{{{1}}}&lt;br /&gt;
  }}&lt;br /&gt;
}}}}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}&amp;lt;!--self link (including translation pages)--&amp;gt;&lt;br /&gt;
  |&amp;lt;/b&amp;gt;&lt;br /&gt;
}}&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;[[:{{{1}}}| ]]&amp;lt;/span&amp;gt;&amp;lt;!-- T63547 --&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation|content=&lt;br /&gt;
&lt;br /&gt;
{{tsh|ll|LL}}&lt;br /&gt;
{{High-use|35000}}&lt;br /&gt;
&lt;br /&gt;
== Purpose ==&lt;br /&gt;
This helper template can be used to link to [[Special:LanguageStats|translatable pages]] in the user&amp;#039;s language.&lt;br /&gt;
It uses the special page prefix &amp;lt;code&amp;gt;Special:MyLanguage/&amp;lt;/code&amp;gt;, which checks if there is a translated version of a page in the user&amp;#039;s language, and links to it if there is one, and links to a fallback language where available, or the default wiki language version (English in MediaWiki) if there isn&amp;#039;t.&lt;br /&gt;
&lt;br /&gt;
It should be used in translated pages, so that they link to the right page even if there is no translated page in that language.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{Localized link/doc}}&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;&amp;lt;code&amp;gt;nsp&amp;lt;/code&amp;gt;&amp;quot; parameter is not defined, as link text displays the full pagename (including namespace); otherwise — if &amp;quot;&amp;lt;code&amp;gt;nsp&amp;lt;/code&amp;gt;&amp;quot; parameter is defined by any value — link text displays the short pagename, without namespace.&lt;br /&gt;
&lt;br /&gt;
=== Examples of simple usage ===&lt;br /&gt;
{{(}}{{!}} class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
{{!}}-&lt;br /&gt;
! Use&lt;br /&gt;
! Becomes&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} {{Tlx|ll|Communication}}&lt;br /&gt;
{{!}} {{ll|Communication}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} {{Tlx|ll|Communication|コミュニケーション}}&lt;br /&gt;
{{!}} {{ll|Communication|コミュニケーション}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} {{Tlx|ll|Project:About}}&lt;br /&gt;
{{!}} {{ll|Project:About}}&lt;br /&gt;
{{!}}-&lt;br /&gt;
{{!}} {{Tlx|ll|Project:About|nsp{{=}}0}}&lt;br /&gt;
{{!}} {{ll|Project:About|nsp=0}}&lt;br /&gt;
{{!}}{{)}}&lt;br /&gt;
&lt;br /&gt;
== Usage in translatable pages ==&lt;br /&gt;
&lt;br /&gt;
On pages prepared for translation with the {{ll|Extension:Translate|nsp=0}} extension, this template may be used in three ways.&lt;br /&gt;
&lt;br /&gt;
# Should better be substitute this template, and then the wikilink target embedded in a {{#tag:syntaxhighlight|{{^(}}tvar name=id{{)^}}...{{^(}}/tvar{{)^}}|lang=html|inline=1}}, separately from the translatable displayed text of the link.&lt;br /&gt;
#: As example, instead &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ll|Communication|About communication}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, translation markup in translatable page will be {{#tag:syntaxhighlight|[[{{^(}}tvar name=1{{)^}}Special:MyLanguage/Communication{{^(}}/tvar{{)^}}|About communication]]|lang=html|inline=1}}.&lt;br /&gt;
# Alternatively, may be exclude this code from translatable section.&lt;br /&gt;
#: As example, for &amp;lt;code&amp;gt;some text &amp;lt;nowiki&amp;gt;{{ll|Communication|About communication}}&amp;lt;/nowiki&amp;gt; some text&amp;lt;/code&amp;gt;, translation markup in translatable page will be:&lt;br /&gt;
#: {{#tag:syntaxhighlight|{{^(}}translate{{)^}}some text{{^(}}/translate{{)^}} {{((}}ll{{!}}Communication{{!}}2={{^(}}translate{{)^}}About communication{{^(}}/translate{{)^}}{{))}} {{^(}}translate{{)^}}some text{{^(}}/translate{{)^}}|lang=html|inline=1}}&lt;br /&gt;
#: This is useful for bulleted lists of links, e.g. in the &amp;quot;See also:&amp;quot; sections.&lt;br /&gt;
# If link text does not have to be different from the name of landing page, will be better to embed all this code into {{tag|tvar|open}}.&lt;br /&gt;
#: As example, instead {{Tlx|ll|Communication}}, translation markup in translatable page will be {{#tag:syntaxhighlight|{{^(}}tvar name=1{{)^}}{{((}}ll{{!}}Communication{{))}}{{^(}}/tvar{{)^}}|lang=html|inline=1}}.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Template:Localized link/messagedoc]] — should be used for message documentation in translatable pages that use this template.&lt;br /&gt;
* {{tl|Translatable template}} - alias {{tl|TNT}} or {{tl|tnt}}&lt;br /&gt;
* {{tl|Translatable template name}} - alias {{tl|TNTN}} or {{tl|tntn}}&lt;br /&gt;
* {{tl|Page language link}} - alias {{tl|pll}} - add a link from a translatable page to another translatable page in the same language&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Internationalization templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Mediawiki&gt;FuzzyBot</name></author>
	</entry>
</feed>