Template:Search link/doc: Difference between revisions

[checked revision][checked revision]
Content deleted Content added
m Text replacement - "[[WP:" to "[[Wikipedia:WP:"
m Text replacement - "[[Help:Template" to "[[Wikipedia:Help:Template‏‎ "
 
Line 109:
''But'' when specifying "all", the query time is about seven times greater because there are [[special:statistics|that many more pages on the wiki]] than there are articles. If a more targeted search is possible, it runs much more quickly than the "all" search.
 
For example, if you have a query for which know the search domain is 10 and 11, and you want ''no label'', then you need a parameter 3, ''but you need no parameter 2'', so per the [[Wikipedia:Help:TemplateTemplate‏‎ #Parameters|template parameter rules]] the search link can be made in four general ways:
*<code>{<nowiki/>{sl|''query'''''||'''ns10|ns11}}</code> When parameter 1 unnamed, and parameter 2 is unnamed '''{{big|{{!}}&thinsp;{{!}}}}''' (defined as the "empty string"), then parameter 3 can be defined unnamed <kbd>ns10</kbd>, and parameter 4 can be defined unnamed <code>ns11</code>, and so on. Nothing is named because everything is defined.
*<code>{<nowiki/>{sl|''query''|3=ns10|4=ns11}}</code> Parameter 2 is undefined, but that's fine because parameters 3 and above are all named...