Difference between revisions of "Template:T links"
Jump to navigation
Jump to search
blackwiki>Billinghurst (kill toolserver links) |
m (59 revisions imported) |
||
| (15 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#if:{{yesno|{{{sandboxlinks|no}}}|yes=yes|no=}}{{#ifeq:{{#invoke:String|match|s={{{1|_}}} |pattern=%/sandbox$ |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$ |plain=false |replace=}} }}<!-- | + | -->|{{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"><!-- | ||
| 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|}}}}} #]<!-- | ||
--> [{{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}}}/sandbox|/sbox]]<!-- | + | --> [[Template:{{{1|Example}}}/{{{sandboxname|sandbox}}}|/sbox]]<!-- |
| − | --> [{{fullurl:Special:ComparePages|page1={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}}}&page2={{urlencode:Template:{{ucfirst:{{{1|Example}}}}}/sandbox}}}} /sbox diff]<!-- | + | --> [{{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><!-- |
-->}}<!--end /sandbox test | -->}}<!--end /sandbox test | ||
----- module ----- | ----- module ----- | ||
| − | --><span style="font-size:85%; {{{liststyle|}}}">{{#if:{{{module|}}}| <!--by param-->[[Module:{{{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> | ||