Difference between revisions of "Template:T links"

From blackwiki
Jump to navigation Jump to search
m (59 revisions imported)
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
-->[[Module:{{{module|}}}]]|{{#if:{{{module}}}|<!--auto add when eponymous bluelink-->{{#ifexist:Module:{{{1|}}}|{{middot}}[[Module:{{{1|}}}]]}}|<!-- blank so no link -->}}</span>}}<!--
+
{{#if:{{yesno|{{{sandboxlinks|no}}}|yes=yes|no=}}{{#ifeq:{{#invoke:String|match|s={{{1|_}}} |pattern=%/sandbox%d*$ |plain=false |nomatch=no}}|no||yes2}}<!--
 +
/sandbox
 +
-->|{{T links/sandbox links|1={{#invoke:String|replace|source={{{1|_}}} |pattern=%/sandbox%d*$ |plain=false |replace=}} |sandboxname={{{sandboxname|sandbox}}} |module={{{module|}}} }}<!--
 +
-----
 +
-->|<span class="plainlinks nourlexpansion"><!--
 +
-->[[:Template:{{{1|Example}}}|{{ucfirst:{{{1|Example}}}}}]]&#x20;<!--
 +
--><span style="font-size:85%; {{{liststyle|}}}">(<!--
 +
-->[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=edit}} edit]<!--
 +
--> [[Template talk:{{{1|Example}}}|talk]]<!--
 +
--> [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} history]<!--
 +
--> [{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]<!--
 +
-->&nbsp;[//tools.wmflabs.org/templatecount/index.php?lang=en&namespace=10&name={{urlencode:{{{1|}}}}} #]<!--
 +
--> [{{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><!--
  
 
--><noinclude>{{documentation}}</noinclude>
 
--><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]