Last modified: 2009-03-20 17:21:30 UTC
The normal form requires hardcoding: <inputbox> type=search prefix={{FULLPAGENAME}}/Archive </inputbox> This form (used at [[Template:Search archives]]) doesn't work in cases such as [[Wikipedia:Archived deletion discussions]] (WP:ADD), because most of the discussions are under [[Wikipedia:Articles for deletion/Log/]]. Using that template means hard-transcluding the page name where the tag/searchbox is, rather than the desired subpage prefix. I created [[Template:Search subpages]] to try and correct this problem but found out that there's more going on: <inputbox> type=fulltext prefix={{{1}}} </inputbox> Search "foo" returns: Search results for: [foo prefix:{{{1}}} ] = None found. I don't know how this might be done. I'm guessing there might be some security issues.
Note also the [[Template:Search archives]] form doesn't work at [[Wikipedia:Requests for arbitration/Completed requests]], where the archives are listed. I will try posting a searchbox to the main [[WP:RFAR]] page though.
#tag allows you to use arguments and vars for inputbox (and other tags)