Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a23ff7031e01b6ed

Jump to content

Template talk:Search box

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Add |style= parameter

[edit]

Allow to do styling, like margins, please.

Replace

<div>

with

<div {{#if: {{{style|}}} | style="{{{style}}}" }}>

JWBTH (talk) 10:03, 11 July 2023 (UTC)Reply

 Not done: please make your requested changes to the template's sandbox first; see WP:TESTCASES.Jonesey95 (talk) 12:53, 11 July 2023 (UTC)Reply
w:Template:Search box/sandbox. (I've updated the code.) JWBTH (talk) 13:47, 11 July 2023 (UTC)Reply
 Done Cherrell410(t · c) 17:47, 16 July 2023 (UTC)Reply
Sorry, I was just changing the answered parameter to yes. Cherrell410(t · c) 17:48, 16 July 2023 (UTC)Reply
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)Reply
 Done For real. * Pppery * it has begun... 00:42, 17 July 2023 (UTC)Reply

Edit request 4 September 2025

[edit]

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)Reply

 Done Sohom (talk) 04:00, 27 November 2025 (UTC)Reply

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!}}

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;}}

--Timeshifter (talk) 13:48, 14 February 2026 (UTC)Reply