Difference between revisions of "Template:T links"

From blackwiki
Jump to navigation Jump to search
blackwiki>DePiep
m (59 revisions imported)
 
(21 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<span class="plainlinks nourlexpansion lx" style="{{{style|}}}">{{{prefix|}}} {{yesno|{{{sandboxlinks|no}}}<!--
+
{{#if:{{yesno|{{{sandboxlinks|no}}}|yes=yes|no=}}{{#ifeq:{{#invoke:String|match|s={{{1|_}}} |pattern=%/sandbox%d*$ |plain=false |nomatch=no}}|no||yes2}}<!--
----- sandboxlinks=no -----
+
/sandbox
-->|no=[[:Template:{{{1|Example}}}|{{ucfirst:{{{1|Example}}}}}]]&#x20;<!--
+
-->|{{T links/sandbox links|1={{#invoke:String|replace|source={{{1|_}}} |pattern=%/sandbox%d*$ |plain=false |replace=}} |sandboxname={{{sandboxname|sandbox}}} |module={{{module|}}} }}<!--
--><span style="font-size:85%; {{{liststyle|}}}">([{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=edit}} edit]<!--
+
-----
-->{{middot}}[[Template talk:{{{1|Example}}}|talk]]<!--
+
-->|<span class="plainlinks nourlexpansion"><!--
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} history]<!--
+
-->[[:Template:{{{1|Example}}}|{{ucfirst:{{{1|Example}}}}}]]&#x20;<!--
-->{{middot}}[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]<!--
+
--><span style="font-size:85%; {{{liststyle|}}}">(<!--
-->{{middot}}[{{fullurl:Special:PrefixIndex/Template:{{ucfirst:{{{1|Example}}}}}/}} /subpages]<!--
+
-->[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=edit}} edit]<!--
-->{{middot}}[[Template:{{{1|Example}}}/doc|/doc]]<!--
+
--> [[Template talk:{{{1|Example}}}|talk]]<!--
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/doc|action=edit}} /doc edit]<!--
+
--> [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} history]<!--
-->{{middot}}[[Template:{{{1|Example}}}/sandbox|/sbox]]<!--
+
--> [{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]<!--
-->{{middot}}[{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}/sandbox}}}} /sbox&nbsp;diff]<!--
+
-->&nbsp;[//tools.wmflabs.org/templatecount/index.php?lang=en&namespace=10&name={{urlencode:{{{1|}}}}} #]<!--
-->{{middot}}[[Template:{{{1|Example}}}/testcases|/test]]</span><!--
+
--> [{{fullurl:Special:PrefixIndex/Template:{{ucfirst:{{{1|Example}}}}}/}} /subpages]<!--
 +
--> [[Template:{{{1|Example}}}/doc|/doc]]<!--
 +
-->&nbsp;[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/doc|action=edit}} /doc&nbsp;edit]<!--
 +
--> [[Template:{{{1|Example}}}/{{{sandboxname|sandbox}}}|/sbox]]<!--
 +
-->&nbsp;[{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}/{{{sandboxname|sandbox}}}}}}} /sbox&nbsp;diff]<!--
 +
--> [[Template:{{{1|Example}}}/testcases|/test]]<!--
 +
-->)</span></span><!--
 +
-->}}<!--end /sandbox test
 +
----- module -----
 +
--><span style="font-size:85%; {{{liststyle|}}}">{{#if:{{{module|}}}| {{#ifeq:{{{module|}}}|no||<!--by param-->{{middot}}[[Module:{{{module|}}}]]|{{#ifexist:Module:{{{1|}}}|{{middot}}[[Module:{{{1|}}}]]}}}}|<!-- blank so no link -->}}</span><!--
  
----- sandboxlinks=yes -----
+
--><noinclude>{{documentation}}</noinclude>
-->|yes='''{{{1|Example}}}'''[[:Template:{{{1|Example}}}/sandbox|/sandbox]]&#x20;<!--
 
--><span style="font-size:85%; {{{liststyle|}}}">(<span style="background:#dbffdb;"><!--
 
-->[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/sandbox|action=edit}} edit]<!--
 
-->{{middot}}[{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}/sandbox}}}} diff]<!--
 
-->{{middot}}[[Template:{{{1|Example}}}/testcases|/test]]<!--
 
-->{{middot}}[[Template talk:{{{1|Example}}}|t]]<!--
 
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/sandbox|action=history}} h]<!--
 
-->{{middot}}[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}/sandbox|limit=999}} lk]<!--
 
--></span><!-- SOURCE:
 
-->{{middot}}[[:Template:{{{1|Example}}}|<span style="background:#ffdbdb;">Source</span>]]{{middot}}<!--
 
-->[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=edit}} <span style="background:#ffdbdb;">e</span>]<!--
 
-->{{middot}}[[Template talk:{{{1|Example}}}|talk]]<!--
 
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} hist]<!--
 
-->{{middot}}[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]<!--
 
-->{{middot}}[{{fullurl:Special:PrefixIndex/Template:{{ucfirst:{{{1|Example}}}}}/}} /subpages]<!--
 
-->{{middot}}[[Template:{{{1|Example}}}/doc|/doc]]<!--
 
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/doc|action=edit}} /doc edit]<!--
 
--></span>}}<!--end yes/no
 
----- module -----
 
--><span style="font-size:85%; {{{liststyle|}}}">{{#if:{{{module|}}}|{{middot}}<!--by param-->[[Module:{{{module|}}}]]|{{#if:{{{module}}}|<!--auto add when eponymous bluelink-->{{#ifexist:Module:{{{1|}}}|{{middot}}[[Module:{{{1|}}}]]}}|<!-- blank so no link -->}}}}<!--
 
-->)</span></span> {{{suffix|}}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Latest revision as of 11:12, 22 September 2020

Example (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)

Template documentation[create]