Template:Search link: Difference between revisions
Appearance
attempting to allow for blank second parameter, as per suggestion |
Added warning |
||
| Line 50: | Line 50: | ||
| <!-- if the first parameter does not exist, show syntax --> | | <!-- if the first parameter does not exist, show syntax --> | ||
<code><nowiki>{{search link|search string|link text}}</nowiki></code> | <code><nowiki>{{search link|search string|link text}}</nowiki></code> | ||
}}<noinclude> | }}{{#if:{{NAMESPACE}}|{{ns:0}}|{{Warning|''{{tl|Search link}} should not be used in [[WP:WIAA|articles]] as links to "search result pages" are among the [[WP:EL#Links normally to be avoided|links normally to be avoided]].''}}}}<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 21:00, 29 April 2009
{{search link|search string|link text}}
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]