Special:Badtitle/NS275:TravelerUnknown

This page is a {{#widget: intended for use as the default return value of Template:Nicholas the Traveler when the current index is not yet assigned to an item page via the semantic property Property:Traveler index (read: we still don't know what Nick is collecting this week).

When a user clicks on the "click here" link, a popup box is displayed (using the ContextShow function) containing a simple form where the user can input the name of the item that Nick is collecting. The form is appended to an array that identifies the forms to be auto-loaded with MediaWiki's OpenSearch functionality. This will present the user with a list of matching article names as they type into the text box, which will hopefully ensure that they enter a valid article name when submitting the form (read: anti-typo measures).

Upon clicking the "Go!" button, pressing "Enter," or selecting an item from the AutoComplete list, the form is submitted and the user is taken to the following URL:

http://guildwars.wikia.com/index.php?title=[input]&editintro=Template%3ANicholas_the_Traveler%2Feditintro&action=edit

The  parameter will cause the contents of Template:Nicholas the Traveler/editintro to be displayed above the edit box. This template contains instructions on how to add the  parameters to the  infobox template.

This is currently being demonstrated at User:Dr ishmael/TravelerUnknown.

&mdash;Dr Ishmael 18:07, 18 December 2010 (UTC)

I tried adding the equivalent of to the widget, but I think I screwed it up (unless there's caching at work). Does the padding need to be set explicitly for left, right, top and bottom? Should I have set background-color? --◄mendel► 18:20, 18 December 2010 (UTC)
 * 1) travUnknown_box { padding:1ex 1em; background:#eee;}


 * Yes, pages with widgets still get cached. But I specifically removed padding (the old Wikia version had some) because the OpenSearch suggest list doesn't have any special z-indexing applied, and it gets attached to the bottom of the input box, meaning it gets partially hidden behind this div's padding.  &mdash;Dr Ishmael Diablo_the_chicken.gif 18:22, 18 December 2010 (UTC)


 * Okay, reducing the z-index to 3 allows the auto-complete to show on top of it. But it has to be > 2, or it won't display on top of the content div.  &mdash;Dr Ishmael Diablo_the_chicken.gif 18:26, 18 December 2010 (UTC)
 * Well, thank you for getting the padding to work, it looks better now. For me, search suggestions do not show up; Firefox suggests some other inputs to me that I have made elsewhere when creating pages. --◄mendel► 00:18, 19 December 2010 (UTC)


 * There's a global wiki setting that has to be enabled for search auto-complete to work at all. I guess you didn't see that comment in there.  &mdash;Dr Ishmael Diablo_the_chicken.gif 01:50, 19 December 2010 (UTC)