<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://skandinavien-wiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3AW%2Fdoc</id>
	<title>Vorlage:W/doc - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://skandinavien-wiki.net/w/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3AW%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://skandinavien-wiki.net/w/index.php?title=Vorlage:W/doc&amp;action=history"/>
	<updated>2026-05-09T05:24:41Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in skandinavien-wiki.net</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://skandinavien-wiki.net/w/index.php?title=Vorlage:W/doc&amp;diff=9227&amp;oldid=prev</id>
		<title>Xineohp1506: 1 Version von :wikinewsen:Template:W/doc importiert</title>
		<link rel="alternate" type="text/html" href="https://skandinavien-wiki.net/w/index.php?title=Vorlage:W/doc&amp;diff=9227&amp;oldid=prev"/>
		<updated>2023-01-16T18:50:01Z</updated>

		<summary type="html">&lt;p&gt;1 Version von &lt;a href=&quot;https://en.wikinews.org/wiki/Template:W/doc&quot; class=&quot;extiw&quot; title=&quot;wikinewsen:Template:W/doc&quot;&gt;wikinewsen:Template:W/doc&lt;/a&gt; importiert&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;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 16. Januar 2023, 20:50 Uhr&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key d03bbfb2:diff::1.12:old-9226:rev-9227 --&gt;
&lt;/table&gt;</summary>
		<author><name>Xineohp1506</name></author>
	</entry>
	<entry>
		<id>https://skandinavien-wiki.net/w/index.php?title=Vorlage:W/doc&amp;diff=9226&amp;oldid=prev</id>
		<title>wikinewsen&gt;Pi zero: fmt</title>
		<link rel="alternate" type="text/html" href="https://skandinavien-wiki.net/w/index.php?title=Vorlage:W/doc&amp;diff=9226&amp;oldid=prev"/>
		<updated>2019-09-20T22:42:19Z</updated>

		<summary type="html">&lt;p&gt;fmt&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{possible-risk}}&lt;br /&gt;
{{w nav}}&lt;br /&gt;
This template generates a &amp;#039;&amp;#039;&amp;#039;conditional link&amp;#039;&amp;#039;&amp;#039; &amp;amp;mdash; either to a local target if it exists, or to (ordinarily) Wikipedia if the local target does not exist.&lt;br /&gt;
&lt;br /&gt;
: &amp;lt;code&amp;gt;{{tlx|w|&amp;#039;&amp;#039;target&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;{{tlx|w|&amp;#039;&amp;#039;target&amp;#039;&amp;#039;|&amp;#039;&amp;#039;label&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;&lt;br /&gt;
: &amp;lt;code&amp;gt;{{tlx|w|2=&amp;#039;&amp;#039;target&amp;#039;&amp;#039;|3=anchor=&amp;#039;&amp;#039;section&amp;#039;&amp;#039;{{!}}&amp;#039;&amp;#039;label&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Optional named parameter &amp;lt;code&amp;gt;anchor&amp;lt;/code&amp;gt; links to a specific section of a Wikipedia page, and does not attempt to autodetect a local target.  It should be rarely used; eliminating template calls that use it requires idiosyncratic remedies.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Code&lt;br /&gt;
! Result&lt;br /&gt;
! Note&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;{{tlx|w|Australia}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{W|Australia}}&lt;br /&gt;
|links to the local category ([[:Category:Australia]]), because it does exist.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;{{tlx|w|Australia|Australians}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{W|Australia|Australians}}&lt;br /&gt;
|links to the local category ([[:Category:Australia]]), because it does exist.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;{{tlx|w|Department of Immigration and Border Protection}}&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{W|Department of Immigration and Border Protection}}&lt;br /&gt;
|links to the Wikipedia article, because a local category ([[:Category:Department of Immigration and Border Protection]]) does &amp;#039;&amp;#039;not&amp;#039;&amp;#039; exist (as of this writing, anyway; if it gets created someday, we&amp;#039;ll need a different example here).&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Removing ===&lt;br /&gt;
&lt;br /&gt;
Exercise &amp;#039;&amp;#039;&amp;#039;care when removing&amp;#039;&amp;#039;&amp;#039; calls to this template from a page: it is used, in part, to keep track of page categorization.&lt;br /&gt;
* If the local target doesn&amp;#039;t exist, you probably shouldn&amp;#039;t be removing the template call.&lt;br /&gt;
* If the local target does exist, &amp;#039;&amp;#039;&amp;#039;consider&amp;#039;&amp;#039;&amp;#039; whether the calling page should belong to some category associated with the local target, and if it should belong but doesn&amp;#039;t, &amp;#039;&amp;#039;&amp;#039;add it&amp;#039;&amp;#039;&amp;#039; to that category.  Then eliminate the locally linking template call by changing &amp;lt;code&amp;gt;{{tlx|w|...}}&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[...]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This template populates three hidden categories:  when linking to Wikipedia (without an anchor), it adds the calling page to [[:Category:Pages with defaulting non-local links]]; when linking to the local target, it adds the calling page to [[:Category:Pages with categorizable local links]]; when linking to Wikipedia with an anchor, it adds the calling page to [[:Category:Pages with forced foreign links]].&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;gadget&amp;#039;&amp;#039;&amp;#039; is provided to complement this template, &amp;quot;Underline in green categorizable {{tl|w}} links&amp;quot;.  The gadget also puts a dashed underline on forced foreign {{tl|w}} links.&lt;br /&gt;
&lt;br /&gt;
=== Other parameters ===&lt;br /&gt;
&lt;br /&gt;
Optional parameter &amp;lt;code&amp;gt;nocat&amp;lt;/code&amp;gt; can be set to any non-blank value to suppress categorization of the calling page based on this template call.&lt;br /&gt;
&lt;br /&gt;
Optional parameter &amp;lt;code&amp;gt;foreign&amp;lt;/code&amp;gt; can be set to either of two values to cause specialized effects.  This optional parameter is ignored if &amp;lt;code&amp;gt;anchor&amp;lt;/code&amp;gt; is used.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foreign=force&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;amp;nbsp; links to Wikipedia, without checking for a local target.  Categorizes to [[:Category:Pages with forced foreign links]].&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;foreign=suppress&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;amp;nbsp; behaves as usual for local links, but if the link would be to Wikipedia, the label is unlinked.  Does not affect categorization, which is still to [[:Category:Pages with defaulting non-local links]].&lt;br /&gt;
&lt;br /&gt;
Optional parameter &amp;lt;code&amp;gt;sister&amp;lt;/code&amp;gt; can be set to the wikilink prefix of a sister other than Wikipedia, to override Wikipedia as the choice of non-local target when wikilinking non-locally.  It has no effect on &amp;#039;&amp;#039;whether&amp;#039;&amp;#039; a non-local wikilink is provided, only on the target when used.  Omit the trailing &amp;quot;:&amp;quot; from the prefix.  For example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{w|Somalia|sister=wikt|foreign=force}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; would link to {{w|Somalia|sister=wikt|foreign=force|wikt:Somalia}}.  There&amp;#039;s a table of the prefixes for various sisters [[Meta:Help:Interwiki linking#Project titles and shortcuts|at meta]].  For non-English languages, use the sister prefix, a colon, and the language code; for example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{w|sister=w:fr|Souhail Alouini}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; would link to {{w|sister=w:fr|Souhail Alouini}} (as of this writing, Souhail Alouini has no local target and no en.wp target).&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* {{tl|wikt}}&lt;br /&gt;
=== TemplateData ===&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;target&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Page to link to&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;label&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Text to display instead of the target link&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;anchor&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;anchor&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Link to a specific section of a Wikipedia page&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;A template to generate a conditional link - link to a local target if it exists, else link to Wikipedia.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;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:Navigational templates]]&lt;br /&gt;
[[Category:Interwiki templates]]&lt;br /&gt;
&lt;br /&gt;
[[es:Plantilla:W]]&lt;br /&gt;
[[fa:الگو:و]]&lt;br /&gt;
[[ru:Шаблон:W]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikinewsen&gt;Pi zero</name></author>
	</entry>
</feed>