Template:Search link: Difference between revisions
Appearance
m typo |
m added a comment. feel free to indent/comment to your liking |
||
| Line 1: | Line 1: | ||
{{#if:{{{1|}}}| | {{#if:{{{1|}}}| <!-- if the first parameter exists --> | ||
<span class="plainlinks">[{{fullurl:Special:Search|search={{ | <span class="plainlinks">[{{fullurl:Special:Search|search={{ | ||
urlencode:{{{1|}}}}}{{ | urlencode:{{{1|}}}}}{{ | ||
| Line 47: | Line 47: | ||
}}&fulltext=Search | }}&fulltext=Search | ||
}} {{{2|search}}}]</span> | }} {{{2|search}}}]</span> | ||
|<code><nowiki>{{search link|search string|link text}}</nowiki></code>}}<noinclude> | |<!-- if the first parameter does not exist --> | ||
<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:17, 22 April 2009
{{search link|search string|link text}}
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]