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.

Jump to content

Template:Refwidth/doc

From Wikipedia, the free encyclopedia

Refwidth defines the maximum column width of generated lists of footnotes. It's a replacement for the first unnamed parameter |1= of {{reflist}} that applies a specific column width to <references>...</references>, {{reflist}}, and {{notelist}}. It only has a limited amount of width presets due to a technical limitation of Wikipedia:TemplateStyles; template parameter values cannot be used as CSS values, but they can be used in CSS file names. When there are multiple lists of footnotes on a page, use {{refwidth}} only once and it will apply to each one. To give a {{reflist}} or a {{notelist}} showing a list of explanatory notes a different column width, use that template's first unnamed parameter |1= to provide a separate maximum column value in ems, such as 30em.

Usage

[edit]

Same width

[edit]
== Notes ==
{{notelist}}

== References ==
{{refwidth|short}}
<references />

Different widths

[edit]
== Notes ==
{{notelist|30em}}

== References ==
{{refwidth|short}}
<references />


Refwidth defines the maximum column width of generated lists of footnotes. It applies a specific column width to <references />, {{reflist}}, and {{notelist}}. When there are multiple lists of footnotes on a page, use {{refwidth}} only once and it will apply to each one. To give a {{reflist}} or a {{notelist}} showing a list of explanatory notes a different column width, use that template's first unnamed parameter |1= to provide a separate maximum column value in ems, such as 30em.

Template parameters

ParameterDescriptionTypeStatus
Width1

no description

Suggested values
short medium long
Stringrequired