Difference between revisions of "Template:T links"

From MINR.ORG WIKI
m (46 revisions imported: Import Template Tlx and subtemplates)
 
(25 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|RailGauge}}}|Template:{{ucfirst:{{{1|RailGauge}}}}}]]&#x20;<!--
+
-->|{{T links/sandbox links|1={{#invoke:String|replace|source={{{1|_}}} |pattern=%/sandbox$ |plain=false |replace=}} }}<!--
--><span style="font-size:90%; {{{liststyle|}}}">([{{fullurl:Template:{{ucfirst:{{{1|RailGauge}}}}}|action=edit}} edit]<!--
+
-----
-->{{middot}}[[Template talk:{{{1|RailGauge}}}|talk]]<!--
+
-->|<span class="plainlinks nourlexpansion"><!--
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|RailGauge}}}}}|action=history}} history]<!--
+
-->[[:Template:{{{1|Example}}}|{{ucfirst:{{{1|Example}}}}}]]&#x20;<!--
-->{{middot}}[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|RailGauge}}}}}|limit=999}} links]<!--
+
--><span style="font-size:85%; {{{liststyle|}}}">(<!--
-->{{middot}}[{{fullurl:Special:PrefixIndex/Template:{{ucfirst:{{{1|RailGauge}}}}}/}} /subpages]<!--
+
-->[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=edit}} edit]<!--
-->{{middot}}[[Template:{{{1|RailGauge}}}/doc|/doc]]<!--
+
--> [[Template talk:{{{1|Example}}}|talk]]<!--
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|RailGauge}}}}}/doc|action=edit}} /doc edit]<!--
+
--> [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} history]<!--
-->{{middot}}[[Template:{{{1|RailGauge}}}/sandbox|/sbox]]<!--
+
--> [{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]<!--
-->{{middot}}[{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|RailGauge}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|RailGauge}}}}}/sandbox}}}} /sbox&nbsp;diff]<!--
+
-->&nbsp;[//tools.wmflabs.org/templatecount/index.php?lang=en&namespace=10&name={{urlencode:{{{1|}}}}} #]<!--
-->{{middot}}[[Template:{{{1|RailGauge}}}/testcases|/testcases]]</span><!--
+
--> [{{fullurl:Special:PrefixIndex/Template:{{ucfirst:{{{1|Example}}}}}/}} /subpages]<!--
----- sandboxlinks=yes -----
+
--> [[Template:{{{1|Example}}}/doc|/doc]]<!--
-->|yes={{{1|RailGauge}}}[[:Template:{{{1|RailGauge}}}/sandbox|/sandbox]]&#x20;<!--
+
-->&nbsp;[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/doc|action=edit}} /doc&nbsp;edit]<!--
--><span style="font-size:90%; {{{liststyle|}}}">(<span style="background:#dbffdb;"><!--
+
--> [[Template:{{{1|Example}}}/sandbox|/sbox]]<!--
-->[{{fullurl:Template:{{ucfirst:{{{1|RailGauge}}}}}/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|RailGauge}}}/sandbox|talk]]<!--
+
--> [[Template:{{{1|Example}}}/testcases|/test]]<!--
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|RailGauge}}}}}/sandbox|action=history}} history]<!--
+
-->)</span></span><!--
-->{{middot}}[{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|RailGauge}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|RailGauge}}}}}/sandbox}}}} diff]<!--
+
-->}}<!--end /sandbox test
-->{{middot}}[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|RailGauge}}}}}/sandbox|limit=999}} links]<!--
+
----- module -----
-->{{middot}}[[Template:{{{1|RailGauge}}}/testcases|/testcases]]<!--
+
--><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><!--
+
 
-->{{middot}}[[:Template:{{{1|RailGauge}}}|<span style="background:#ffdbdb;">Source</span>]]{{middot}}<!--
+
--><noinclude>{{documentation}}</noinclude>
-->[{{fullurl:Template:{{ucfirst:{{{1|RailGauge}}}}}|action=edit}} <span style="background:#ffdbdb;">edit</span>]<!--
 
-->{{middot}}[[Template talk:{{{1|RailGauge}}}|talk]]<!--
 
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|RailGauge}}}}}|action=history}} history]<!--
 
-->{{middot}}[{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|RailGauge}}}}}|limit=999}} links]<!--
 
-->{{middot}}[{{fullurl:Special:PrefixIndex/Template:{{ucfirst:{{{1|RailGauge}}}}}/}} /subpages]<!--
 
-->{{middot}}[[Template:{{{1|RailGauge}}}/doc|/doc]]<!--
 
-->{{middot}}[{{fullurl:Template:{{ucfirst:{{{1|RailGauge}}}}}/doc|action=edit}} /doc-edit]</span><!--
 
-->}}<!--end yes/no
 
-->{{#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></span><!--/span liststyle, class--><noinclude>
 
{{documentation}}
 
</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]