Template:Search link: Difference between revisions
Appearance
try again |
add text and link aliases |
||
| Line 2: | Line 2: | ||
| 1={{Warning|{{tl|Search link}} should not be used in [[WP:WIAA|articles]] as links to "search result pages" are among the [[WP:LINKSTOAVOID|links normally to be avoided]].}} | | 1={{Warning|{{tl|Search link}} should not be used in [[WP:WIAA|articles]] as links to "search result pages" are among the [[WP:LINKSTOAVOID|links normally to be avoided]].}} | ||
| 2=<span class="plainlinks">[{{fullurl:Special:Search|search={{ | | 2=<span class="plainlinks">[{{fullurl:Special:Search|search={{ | ||
urlencode:{{{1|}}}}}{{ | urlencode:{{{1|{{{text|}}}}}}}}{{ | ||
#if:{{{ns|}}} <!-- ns = all / ns0=1&ns5=1 --> | #if:{{{ns|}}} <!-- ns = all / ns0=1&ns5=1 --> | ||
| {{#ifeq: {{{ns|}}} | all | | {{#ifeq: {{{ns|}}} | all | ||
| Line 47: | Line 47: | ||
#if:{{{20|}}}| &{{lc:{{{20|}}}}}=1 | #if:{{{20|}}}| &{{lc:{{{20|}}}}}=1 | ||
}}&fulltext=Search | }}&fulltext=Search | ||
}} {{#if:{{{2|}}}|<nowiki />{{{2|}}}|<nowiki />{{{1|}}}}}]</span> | }} {{#if:{{{2|{{{link|}}}}}}|<nowiki />{{{2|{{{link|}}}}}}|<nowiki />{{{1|{{{text|}}}}}}}}]</span> | ||
}}{{#if: {{{ns|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}} | }}{{#if: {{{ns|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}{{{11|}}}{{{12|}}}{{{13|}}}{{{14|}}}{{{15|}}}{{{16|}}}{{{17|}}}{{{18|}}}{{{19|}}}{{{20|}}} | ||
| [[Category:Search link templates with namespace parameters]] | | [[Category:Search link templates with namespace parameters]] | ||
Revision as of 13:24, 9 February 2015
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]