Template:T links: Difference between revisions
Appearance
m 1 revision imported |
m 1 revision imported |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{#if:{{yesno|{{{sandboxlinks|no}}}|yes=yes|no=}}{{#ifeq:{{#invoke:String|match|s={{{1|_}}} |pattern=%/sandbox%d*$ |plain=false |nomatch=no}}|no||yes2}}<!-- | {{#if:{{yesno|{{{sandboxlinks|no}}}|yes=yes|no=}}{{#ifeq:{{#invoke:String|match|s={{{1|_}}} |pattern=%/sandbox%d*$ |plain=false |nomatch=no}}|no||yes2}}<!-- | ||
/sandbox | /sandbox | ||
-->|{{T links/sandbox links|1={{#invoke:String|replace|source={{{1|_}}} |pattern=%/sandbox%d*$ |plain=false |replace=}} |sandboxname={{{sandboxname|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"><!-- | -->|<span class="plainlinks nourlexpansion"><!-- | ||
-->[[:Template:{{{1|Example}}}|{{ucfirst:{{{1|Example}}}}}]] <!-- | --><nowiki>{{</nowiki>[[:Template:{{{1|Example}}}|{{ucfirst:{{{1|Example}}}}}]]<nowiki>}}</nowiki> <!-- | ||
--><span style="font-size:85%; {{{liststyle|}}}">(<!-- | --><span style="font-size:85%; {{{liststyle|}}}">(<!-- | ||
-->[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=edit}} edit]<!-- | -->[{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=edit}} edit]<!-- | ||
| Line 10: | Line 10: | ||
--> [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} history]<!-- | --> [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}|action=history}} history]<!-- | ||
--> [{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]<!-- | --> [{{fullurl:Special:Whatlinkshere/Template:{{ucfirst:{{{1|Example}}}}}|limit=999}} links]<!-- | ||
--> [//tools.wmflabs.org/templatecount/index.php?lang=en&namespace=10&name={{urlencode:{{{1|}}}}} #]<!-- | --> [https://tools.wmflabs.org/templatecount/index.php?lang=en&namespace=10&name={{urlencode:{{{1|}}}}} #]<!-- | ||
--> [{{fullurl:Special:PrefixIndex/Template:{{ucfirst:{{{1|Example}}}}}/}} /subpages]<!-- | --> [{{fullurl:Special:PrefixIndex/Template:{{ucfirst:{{{1|Example}}}}}/}} /subpages]<!-- | ||
--> [[Template:{{{1|Example}}}/doc|/doc]]<!-- | --> [[Template:{{{1|Example}}}/doc|/doc]]<!-- | ||
--> [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/doc|action=edit}} /doc edit]<!-- | --> [{{fullurl:Template:{{ucfirst:{{{1|Example}}}}}/doc|action=edit}} /doc edit]<!-- | ||
--> [[Template:{{{1|Example}}}/{{{sandboxname|sandbox}}}|/sbox]]<!-- | --> [[Template:{{{1|Example}}}/{{{sandboxname|sandbox}}}|/sbox]]<!-- | ||
--> [{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}/{{{sandboxname| | --> [{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}/{{{sandboxname|sandbox}}}}}}} /sbox diff]<!-- | ||
--> [[Template:{{{1|Example}}}/testcases|/test]]<!-- | --> [[Template:{{{1|Example}}}/testcases|/test]]<!-- | ||
-->)</span></span><!-- | -->)</span></span><!-- | ||
-->}}<!--end /sandbox test | -->}}<!--end /sandbox test | ||
----- module ----- | ----- module ----- | ||
--><span style="font-size:85%; {{{liststyle|}}}">{{#if:{{{module|}}}| <!--by param-->{{middot}}[[Module:{{{module|}}}]]| | --><span style="font-size:85%; {{{liststyle|}}}">{{#if:{{{module|}}}| {{#ifeq:{{{module|}}}|no||<!--by param-->{{middot}}[[Module:{{{module|}}}]]|{{#ifexist:Module:{{{1|}}}|{{middot}}[[Module:{{{1|}}}]]}}}}|<!-- no link -->}} {{yesno|1={{{tpu|}}}{{{TPU|}}}|yes={{template parameter usage|1={{#invoke:String|replace|source={{{1|_}}} |pattern=%/sandbox%d*$ |plain=false |replace=}} |label=TPU}}}}</span><!-- | ||
--><noinclude>{{documentation}}</noinclude> | --><noinclude>{{documentation}}</noinclude> | ||