Template talk:Search box
Add topic| Template:Search box is indefinitely protected from editing as it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
Add |style= parameter
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Allow to do styling, like margins, please.
Replace
<div>with
<div {{#if: {{{style|}}} | style="{{{style}}}" }}>JWBTH (talk) 10:03, 11 July 2023 (UTC)
Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES. – Jonesey95 (talk) 12:53, 11 July 2023 (UTC)
- w:Template:Search box/sandbox. (I've updated the code.) JWBTH (talk) 13:47, 11 July 2023 (UTC)
Done Cherrell410(t · c) 17:47, 16 July 2023 (UTC)
- Sorry, I was just changing the answered parameter to yes. Cherrell410(t · c) 17:48, 16 July 2023 (UTC)
- To editor Cherrell410: one must first become a template editor before one can make such an edit and then reply that the edit has been "done". Please let template editors make these determinations. Thank you for your other edits! P.I. Ellsworth , ed. put'er there 18:52, 16 July 2023 (UTC)
- Sorry, I was just changing the answered parameter to yes. Cherrell410(t · c) 17:48, 16 July 2023 (UTC)
Done For real. * Pppery * it has begun... 00:42, 17 July 2023 (UTC)
Edit request 4 September 2025
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
Description of suggested change: Make accessible with ARIA. Add attributes.
Diff: Kindly sync with sandbox. See diff here. waddie96 ★ (talk) 00:25, 4 September 2025 (UTC)
How do I get overflow:scroll as in Template:Inputbox
[edit]See example at Template:Inputbox#Examples
{{Inputbox|width=20%|overflow=scroll|This is gonna be too large for me, ouch! ouch! ouch!}}
Adding style=overflow:scroll; does not seem to work with Template:Search box:
{{search box |root=Wikipedia:FAQ |search-button-label=Search the FAQ|style=overflow:scroll;}}