<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikemacs.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ALinks-core</id>
	<title>Template:Links-core - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikemacs.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ALinks-core"/>
	<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Template:Links-core&amp;action=history"/>
	<updated>2026-04-15T00:15:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wikemacs.org/index.php?title=Template:Links-core&amp;diff=2297&amp;oldid=prev</id>
		<title>Kindahero: Created page with &quot;&lt;span class=&quot;plainlinks&quot;&gt;{{#if:{{{link|}}}|foo}}}}} (&lt;small&gt; {{#if:{{{talk|}}}|talk}} {{#if:{...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikemacs.org/index.php?title=Template:Links-core&amp;diff=2297&amp;oldid=prev"/>
		<updated>2012-04-02T17:39:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;{{#if:{{{link|}}}|[[{{{1|}}}:{{{2|template}}}:{{{3|foo}}}]]}} (&amp;lt;small&amp;gt; {{#if:{{{talk|}}}|[[{{{1|}}}:{{{2|template}}} talk:{{{3|foo}}}|talk]]}} {{#if:{...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;span class=&amp;quot;plainlinks&amp;quot;&amp;gt;{{#if:{{{link|}}}|[[{{{1|}}}:{{{2|template}}}:{{{3|foo}}}]]}} (&amp;lt;small&amp;gt; {{#if:{{{talk|}}}|[[{{{1|}}}:{{{2|template}}} talk:{{{3|foo}}}|talk]]}} {{#if:{{{edit|}}}|[{{fullurl:{{{1|}}}:{{{2|template}}}:{{{3|foo}}}|action=edit}} edit]}} {{#if:{{{watch|}}}|[{{fullurl:{{{1|}}}:{{{2|template}}}:{{{3|foo}}}|action=watch}} watch]}} {{#if:{{{contribs|}}}|{{#ifeq:{{lc:{{{2|template}}}}}|user|[[{{{1|}}}:Special:Contributions/{{#titleparts:{{{3|foo}}}|1}}|contribs]]}}}} {{#if:{{{history|}}}|[{{fullurl:{{{1|}}}:{{{2|template}}}:{{{3|foo}}}|action=history}} history]}} {{#if:{{{whatlinkshere|}}}|[{{fullurl:{{{1|}}}:Special:Whatlinkshere/{{{2|template}}}:{{{3|foo}}}|limit=1000}} links]}} {{#if:{{{logs|}}}|[{{fullurl:{{{1|}}}:Special:Log|page={{urlencode:{{{2|template}}}:{{{3|foo}}}}}}} logs]}} {{#if:{{{localspace|}}}|[[{{{1|}}}:Special:Prefixindex/{{{2|template}}}:{{{3|foo}}}|localspace]]}} {{#if:{{{delete|}}}|[{{fullurl:{{{1|}}}:{{{2|template}}}:{{{3|foo}}}|action=delete}} delete]}} {{#if:{{{block|}}}|{{#ifeq:{{lc:{{{2|template}}}}}|user|[[{{{1|}}}:Special:Blockip/{{#titleparts:{{{3|foo}}}|1}}|block]]}}}} &amp;lt;/small&amp;gt;)&amp;lt;/span&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
==Documentation==&lt;br /&gt;
===Usage===&lt;br /&gt;
This template is not intended to be used directly. It contains the complex programming for custom link templates which can selectively show relevant links. For example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{links-core||template|foo|talk=1}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will only output a link to the talk page.&lt;br /&gt;
&lt;br /&gt;
The syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{links-core|interwiki prefix (blank for current wiki)|namespace|page name|named option}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Referring to the table of options below, a new links template can be created by adding &amp;quot;1&amp;quot; (or any value) beside the desired link options.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{links-core&lt;br /&gt;
 |1 = {{#if:{{{3|}}}|{{{1|}}}}}&lt;br /&gt;
 |2 = {{#if:{{{3|}}}|{{{2|template}}}|{{{1|template}}}}}&lt;br /&gt;
 |3 = {{#if:{{{3|}}}|{{{3|foo}}}|{{{2|foo}}}}}&lt;br /&gt;
 |link          =&lt;br /&gt;
 |talk          =&lt;br /&gt;
 |edit          =&lt;br /&gt;
 |watch         = &lt;br /&gt;
 |history       =&lt;br /&gt;
 |whatlinkshere = &lt;br /&gt;
 |logs          =&lt;br /&gt;
 |localspace    =&lt;br /&gt;
 |delete        =&lt;br /&gt;
 |contribs      =&lt;br /&gt;
 |block         =&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following link options are possible:&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter&lt;br /&gt;
! Example &amp;amp; notes&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;| '''All namespaces'''&lt;br /&gt;
|-&lt;br /&gt;
| link&lt;br /&gt;
| &amp;quot;[[template:foo]]&amp;quot;; a link to the relevant page.&lt;br /&gt;
|-&lt;br /&gt;
| talk&lt;br /&gt;
| &amp;quot;[[template talk:foo|talk]]&amp;quot;; a link to the associated talk page (will not work correctly if the template is used for a talk page).&lt;br /&gt;
|-&lt;br /&gt;
| edit&lt;br /&gt;
| &amp;quot;[{{fullurl:template:foo|action=edit}} edit]&amp;quot;; a link to the edit mode for that page.&lt;br /&gt;
|-&lt;br /&gt;
| watch&lt;br /&gt;
| &amp;quot;[{{fullurl:template:foo|action=watch}} watch]&amp;quot;; click to [[Help:Watching pages|watch]] the page.&lt;br /&gt;
|-&lt;br /&gt;
| history&lt;br /&gt;
| &amp;quot;[{{fullurl:template:foo|action=history}} history]&amp;quot;; link to the edit log for that page.&lt;br /&gt;
|-&lt;br /&gt;
| whatlinkshere&lt;br /&gt;
| &amp;quot;[{{fullurl:Special:Whatlinkshere/template:foo|limit=1000}} links]&amp;quot;; link to list of incoming links for that page.&lt;br /&gt;
|-&lt;br /&gt;
| logs&lt;br /&gt;
| &amp;quot;[{{fullurl:Special:Log|page=template:foo}} logs]&amp;quot;; link to all logs for the current page.&lt;br /&gt;
|-&lt;br /&gt;
| localspace&lt;br /&gt;
| &amp;quot;[[Special:Prefixindex/template:foo|localspace]]&amp;quot;; link to list of subpages. &lt;br /&gt;
|-&lt;br /&gt;
| delete&lt;br /&gt;
| &amp;quot;[{{fullurl:template:foo|action=delete}} delete]&amp;quot;; link to delete form with the page title filled in.&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;| '''User namespace'''&lt;br /&gt;
|-&lt;br /&gt;
| contribs&lt;br /&gt;
| &amp;quot;[[Special:Contributions/foo|contributions]]&amp;quot;; link to the user's edit log.&lt;br /&gt;
|-&lt;br /&gt;
| block&lt;br /&gt;
| &amp;quot;[[Special:Blockip/foo|block]]&amp;quot;; link to the block form with the user name filled in.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* Shortcut templates&lt;br /&gt;
** {{links-small|template|links}}&lt;br /&gt;
** {{links-small|template|links-small}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Link templates|I{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kindahero</name></author>
	</entry>
</feed>