Template:Search: Difference between revisions

No edit summary
initial version, not working
 
Line 1: Line 1:
[[Special:Search?search={{{keyword|{{SUBPAGENAME}}}}}|search]]
This template doesn't work
<noinclude>
Something like this is the idea, but I think I need a full URL to get it to redirect instead of linking to a non-existant page
 
Ideally, I would want to add an optional parameter called keyword that would allow an author writing an article on
apple pie to include a "search this wiki for 'baking recipes'" link
 
[[Special:Search?search={{SUBPAGENAME}}| Search this wiki using this article title]]
 
</noinclude>
<includeonly>
[[Category:Search]]
</includeonly>