Difference between revisions of "Template:Links"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
m (more narrow category)
imported>WT79
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span class="plainlinks nourlexpansion" style="font-size:85%">([[{{{1}}} talk:{{{2}}}|T]]·{{#switch:{{{1|}}}
+
<sup></sup><span class="plainlinks nourlexpansion" style="font-size:85%">([[{{{1}}} talk:{{{2}}}|{{#if:{{{long|}}}|Talk|T}}]]·{{#switch:{{{1|}}}
|user|User=[[Special:Contributions/{{{2}}}|C]]
+
|user|User=[[Special:Contributions/{{{2}}}|{{#if:{{{long|}}}|Contributions|C}}]]
|#default= [{{fullurl:{{{1}}}:{{{2}}}|action=edit}} E]·[{{fullurl:{{{1}}}:{{{2}}}|action=history}} H]·[[Special:Whatlinkshere/{{{1}}}:{{{2}}}|L]]·[[Special:Recentchangeslinked/{{{1}}}:{{{2}}}|R]]}})&nbsp;</span>[[{{#if:{{{1|}}}|{{ucfirst:{{{1}}}}}:}}{{ucfirst:{{{2}}}}}]]<noinclude>
+
|#default= [{{fullurl:{{{1}}}:{{{2}}}|action=edit}} {{#if:{{{long|}}}|Edit|E}}]·[{{fullurl:{{{1}}}:{{{2}}}|action=history}} {{#if:{{{long|}}}|History|H}}]·[[Special:Whatlinkshere/{{{1}}}:{{{2}}}|{{#if:{{{long|}}}|Links|L}}]]·[[Special:Recentchangeslinked/{{{1}}}:{{{2}}}|{{#if:{{{long|}}}|Related changes|R}}]]}}{{#if:{{{extra|}}}|·}}{{{extra|}}})&nbsp;</span>{{#switch:{{{hide|false}}}|true|yes|y|t=|[[{{#if:{{{1|}}}|{{ucfirst:{{{1}}}}}:}}{{ucfirst:{{{2}}}}}]]}}<noinclude>
 
{{doc|content=
 
{{doc|content=
 
Shows a small list of useful links after a page name.
 
Shows a small list of useful links after a page name.
 
;Usage
 
;Usage
  {{tlx|links|''namespace''|''pagename''}}
+
  {{tlx|links|''namespace''|''pagename''|hide=''hides the page itself if set to any value''|extra=''a custom extra link to be added on the end, not auto-linked''|long=''displays}}
 
;Examples
 
;Examples
 
*{{Links||Paris}}
 
*{{Links||Paris}}
 
*{{Links|Template|Links}}
 
*{{Links|Template|Links}}
 
*{{Links|User|Example}}
 
*{{Links|User|Example}}
 +
*{{Links||Example|long=sadsa}}
  
 
==See also==
 
==See also==

Latest revision as of 10:52, 17 June 2020

([[{{{1}}} talk:{{{2}}}|T]]·[{{fullurl:{{{1}}}:{{{2}}}|action=edit}} E]·[{{fullurl:{{{1}}}:{{{2}}}|action=history}} H]·[[Special:Whatlinkshere/{{{1}}}:{{{2}}}|L]]·[[Special:Recentchangeslinked/{{{1}}}:{{{2}}}|R]]) [[{{{2}}}]]

Template documentation

Shows a small list of useful links after a page name.

Usage
{{links|namespace|pagename}}
Examples

See also