Difference between revisions of "Template:La2/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
(css version?)
imported>Trappist the monk
(Canonical url?)
 
Line 1: Line 1:
<span class="plainlinks">[http://en.wikipedia.org/w/index.php?title={{{1}}}&redirect=no {{{1}}}]</span> ([[{{TALKPAGENAME:{{{1}}}}}|talk]])<noinclude>
+
<span class="plainlinks">[{{canonicalurl:{{{1}}}|redirect=no}} {{{1}}}]</span> ([[{{TALKPAGENAME:{{{1}}}}}|talk]])<noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:12, 19 March 2013

[{{canonicalurl:{{{1}}}|redirect=no}} {{{1}}}] ([[|talk]])

Template documentation[view] [edit] [history] [purge]

This template creates a link to a page and its talk page. It takes only one parameter: the name of the page. It works for any namespace.

Usage

Limitations

If the page is a redirect, the talk link will be for the redirect not the main page. For example: Template:Plain link is a redirect to Kirkwall Airport

{{la2|RAF Grimsetter}}RAF Grimsetter (talk)
{{la2|Kirkwall Airport}} → Kirkwall Airport (talk)

See also