Template:One source/doc: Difference between revisions

Content deleted Content added
Date: Use {{para}}.
Find parameters: User {{para}}.
Line 43:
 
There are two 'find' parameters available to control the presentation and operation of the {{tl|find sources}} links optionally displayed by the template. By default, the template displays {{tl|find sources}} with a quoted search query equivalent to the exact article title. Sometimes, especially if the article has a long, [[WP:NDESC|descriptive title]], or if it includes [[WP:PARENDIS|parenthetical disambiguation terms]], this may not give useful results. The find parameters can be used to provide the search keywords of your choice to the {{tl|find sources}} links. Use:
* {{para|find}} to specify keywords for an exact search (double-quoted query); this corresponds to {{tl|find sources}} positional param <code>{{para|1</code>}}.
* {{para|find2}} to specify keywords for an unquoted search; this corresponds to {{tl|find sources}} param <code>{{para|2</code>}}. The alias {{para|unquoted}} may be used instead.
The second param is especially useful with the 'section' version of the template. Try setting <code><nowiki>|find=</nowiki>''Article title''{{zwsp}}<nowiki>|find2=</nowiki>''Section title''<nowiki>}}</nowiki></code> for improved search results in this case.