Difference between revisions of "Template:T links"

From MINR.ORG WIKI
m (46 revisions imported: Import Template Tlx and subtemplates)
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span class="plainlinks nourlexpansion lx" style="{{{style|}}}">{{yesno|{{{sandboxlinks|no}}}<!--
+
{{#if:{{yesno|{{{sandboxlinks|no}}}|yes=yes|no=}}{{#ifeq:{{#invoke:String|match|s={{{1|_}}} |pattern=%/sandbox$ |plain=false |nomatch=no}}|no||yes2}}<!--
----- sandboxlinks=no -----
+
/sandbox
-->|no=[[:Template:{{{1|Example}}}|Template:{{ucfirst:{{{1|Example}}}}}]]&#x20;<!--
+
-->|{{T links/sandbox links|1={{#invoke:String|replace|source={{{1|_}}} |pattern=%/sandbox$ |plain=false |replace=}} }}<!--
--><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]<!--
----- sandboxlinks=yes -----
+
--> [[Template:{{{1|Example}}}/doc|/doc]]<!--
-->|yes={{{1|Example}}}[[:Template:{{{1|Example}}}/sandbox|/sandbox]]&#x20;<!--
+
-->&nbsp;[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/doc|action=edit}} /doc&nbsp;edit]<!--
--><span style="font-size:85%; {{{liststyle|}}}">(<span style="background:#dbffdb;"><!--
+
--> [[Template:{{{1|Example}}}/sandbox|/sbox]]<!--
-->[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/sandbox|action=edit}} edit]<!--
+
-->&nbsp;[{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}/sandbox}}}} /sbox&nbsp;diff]<!--
-->{{middot}}[[Template talk:{{{1|Example}}}/sandbox|talk]]<!--
+
--> [[Template:{{{1|Example}}}/testcases|/test]]<!--
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/sandbox|action=history}} history]<!--
+
-->)</span></span><!--
-->{{middot}}[{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}/sandbox}}}} diff]<!--
+
-->}}<!--end /sandbox test
-->{{middot}}[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}/sandbox|limit=999}} links]<!--
 
-->{{middot}}[[Template:{{{1|Example}}}/testcases|/test]]<!--
 
--></span><!--
 
-->{{middot}}[[:Template:{{{1|Example}}}|<span style="background:#ffdbdb;">Source</span>]]{{middot}}<!--
 
-->[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=edit}} <span style="background:#ffdbdb;">edit</span>]<!--
 
-->{{middot}}[[Template talk:{{{1|Example}}}|talk]]<!--
 
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} history]<!--
 
-->{{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 -----
 
----- module -----
--><span style="font-size:85%; {{{liststyle|}}}">{{#if:{{{module|}}}|{{middot}}<!--by param-->[[Module:{{{module|}}}|Module:{{{module|}}}]]|{{#if:{{{module}}}|<!--auto add when eponymous bluelink-->{{#ifexist:Module:{{{1|}}}|{{middot}}[[Module:{{{1|}}}|Module]]}}|<!-- blank so no link -->}}}}<!--
+
--><span style="font-size:85%; {{{liststyle|}}}">{{#if:{{{module|}}}| <!--by param-->[[Module:{{{module|}}}]]|{{#if:{{{module}}}|<!--auto add when eponymous bluelink-->{{#ifexist:Module:{{{1|}}}|{{middot}}[[Module:{{{1|}}}]]}}|<!-- blank so no link -->}}</span>}}<!--
-->)</span></span><noinclude>
+
 
{{documentation}}
+
--><noinclude>{{documentation}}</noinclude>
</noinclude>
 

Latest revision as of 19:26, 11 August 2017

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

Template documentation[create]