Difference between revisions of "Template:La2/doc"

From blackwiki
Jump to navigation Jump to search
imported>Trappist the monk
m (→‎Limitations: Example;)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(3 intermediate revisions by 3 users not shown)
Line 11: Line 11:
  
 
== Limitations ==
 
== Limitations ==
If the page is a redirect, the talk link will be for the redirect not the main page. For example: [http://en.wikipedia.org/w/index.php?title=RAF_Grimsetter&redirect=no RAF Grimsetter] is a redirect to [[Kirkwall Airport]]
+
If the page is a redirect, the talk link will be for the redirect not the main page. For example: {{Plain link|url=//en.wikipedia.org/w/index.php?title=RAF_Grimsetter&redirect=no |name=RAF Grimsetter}} is a redirect to [[Kirkwall Airport]]
  
 
:<code><nowiki>{{la2|RAF Grimsetter}}</nowiki></code> → {{la2|RAF Grimsetter}}
 
:<code><nowiki>{{la2|RAF Grimsetter}}</nowiki></code> → {{la2|RAF Grimsetter}}
Line 18: Line 18:
 
== See also ==
 
== See also ==
 
* {{Lts|La}} similar but produces several links in addition to talk.
 
* {{Lts|La}} similar but produces several links in addition to talk.
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Internal link templates|{{PAGENAME}}]]
 
[[Category:Internal link templates|{{PAGENAME}}]]
</includeonly>
+
}}</includeonly>

Latest revision as of 23:23, 25 April 2020

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