Template:Search link: Difference between revisions
Appearance
Adding the "ns = all / ns0=1&ns5=1" parameter. And indenting the code for readability. |
See if this works. |
||
| Line 1: | Line 1: | ||
<span class="plainlinks">[{{fullurl:Special:Search|search={{ | {{#if:{{1|}}| | ||
urlencode:{{{1| | <span class="plainlinks">[{{fullurl:Special:Search|search={{ | ||
urlencode:{{{1|}}}}}{{ | |||
#if:{{{ns|}}} <!-- ns = all / ns0=1&ns5=1 --> | #if:{{{ns|}}} <!-- ns = all / ns0=1&ns5=1 --> | ||
| {{#ifeq: {{{ns|}}} | all | | {{#ifeq: {{{ns|}}} | all | ||
| Line 45: | Line 46: | ||
#if:{{{20|}}}| &{{lc:{{{20|}}}}}=1 | #if:{{{20|}}}| &{{lc:{{{20|}}}}}=1 | ||
}}&fulltext=Search | }}&fulltext=Search | ||
}} {{{2|search}}}]</span><noinclude> | }} {{{2|search}}}]</span> | ||
|<code><nowiki>{{search link|search string|link text}}</nowiki></code>}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> | ||
Revision as of 23:14, 22 April 2009
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]