• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Refwidth

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation[view] [edit] [history] [purge]
CSSThis template uses TemplateStyles:
  • TM:Refwidth/short.css
  • TM:Refwidth/medium.css
  • TM:Refwidth/long.css

Refwidth defines the maximum column width of generated lists of footnotes. It's a replacement for the |colwidth= parameter 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[Edit template data]

ParameterDescriptionTypeStatus
Width1

no description

Suggested values
short medium long
Stringrequired
  • v
  • t
  • e
Wikipedia referencing
Policies and guidelines
  • Verifiability
  • No original research
  • Biographies of living persons
  • Reliable sources
    • Medicine
  • Citing sources
  • Scientific citations
General advice
  • Citation needed
  • Combining sources
  • Offline sources
  • Referencing styles
Citing sources
  • Citation Style 1
  • Citation Style 2
  • Bluebook
  • Comics
  • Citation templates
Inline citations
  • Footnotes
  • Punctuation and footnotes
  • Shortened footnotes
  • Nesting footnotes
Help for beginners
  • Reference-tags
  • Citations quick reference
  • Introduction to referencing
  • Referencing with citation templates
  • Referencing without using templates
  • Referencing dos and don'ts
  • Citing Wikipedia
Advanced help
  • Cite link labels
  • Cite errors
  • Citation merging (bundling)
  • Cite messages
  • Converting between references formats
  • Reference display customization
  • References and page numbers
  • Guidance on source reviewing at FAC
  • Cite extension documentation
Footnote templates
  • Citation Style documentation
  • Multiple references
  • {{Reflist}}
  • {{Refbegin}}
Find references
  • How to find sources
  • Bibliographies
  • Wikipedia Library
  • Resource Exchange
  • Reference Desk
  • Book Sources
  • Free newspaper sources
Citation tools
(External links)
  • Citer
  • Biomedical cite
  • Citation bot
  • MakeRef
  • Refill
  • WayBack
  • OABot
  • v
  • t
  • e
Wikipedia templates
Main namespace
  • General
  • Cleanup
    • Verifiability and sources
  • Disputes
  • Hatnotes
  • Infoboxes
  • Links
    • External link templates
    • Linking country articles
  • Lists
  • Main page
  • Section
  • Sources of articles
    • Quick reference
  • Standard boxes
  • Stub types
  • Translation
Other namespaces
  • Compact TOC
  • Category
  • File
  • Talk
  • Template
  • User
    • Userboxes
  • User talk
  • Wikipedia
    • WikiProject banners
All namespaces
  • Deletion
    • Speedy
  • Formatting
  • Maintenance
  • Merging
  • Moving
    • Requested
  • Navigation
  • Redirect pages
    • Functional index
    • Language codes
  • Splitting
  • Wikimedia sister projects
Navboxes
with templates
  • Archiving
  • Articles for deletion
  • Birth, death and age
  • Button
  • Category header
  • Citation and verifiability
  • Citation Style 1
  • Deletion review
  • Editnotice
  • Hatnotes
  • Help desk
  • Inline cleanup
  • Introduction cleanup
  • IPA
  • Math
  • Notice and warnings
  • Organization infoboxes
  • Proposed article mergers
  • Protection
  • Quotation
  • Redirects
  • Search
  • Semantics
  • Speedy deletion
    • Notices
  • String-handling
  • Sup and sub-related
  • Top icon
  • Transwiki maintenance
  • Unicode
  • User talk pages
  • User noticeboard notices
  • Userboxes
    • User rights
  • Userspace linking
  • Userspace disclaimers
  • Wikibreak
  • WikiLove
Inline images
  • Wikipedia icons
  • Discussion icons
  • Comment icons
  • Emoji
Help pages
  • Template documentation
  • Examples of templates
  • Maintenance template removal
  • Requested templates
  • Template help
    • Quick guide
  • Favorite templates
  • Template namespace
Related topics
  • WikiProject Templates
  • Index
    • Category
Search
  • Category
  • v
  • t
  • e
Wikipedia technical help
Get personal technical help at the Teahouse, help desk, village pump (technical), talk pages, or IRC.
General
technical help
  • Bypass cache
  • Keyboard shortcuts
  • Editing
    • CharInsert
    • Edit conflict
    • Edit toolbar
    • Reverting
  • How to create a page
  • IRC
    • Tutorial
  • Mobile access
  • Multilingual support
  • Page history
  • Page information
  • Page name
    • Help
  • Printing
  • Software notices
    • Editnotice
  • Special characters
    • Entering
  • User access levels
  • VisualEditor
    • Help
Special
page
-related
  • Special page help
  • AllPages
  • Edit filter
  • Emailing users
  • Logging in
    • Reset passwords
  • Logs
  • Moving a page
    • History merging
    • Non-admin and admin-only page moves
  • Notifications/Echo
    • FAQ
  • Page Curation
  • Page import
  • Pending changes
  • Random pages
  • Recent changes
  • Related changes
  • Searching
    • Linksearch
  • Tags
  • User contributions
  • Watchlist
  • What links here
Wikitext
  • Wikitext
    • Cheatsheet
  • Columns
  • Line-break handling
  • Lists
  • Magic words
    • For beginners
    • Conditional expressions
    • Switch parser function
    • Time function
  • Redirects
  • Sections and TOCs
  • Tables
    • Introduction
    • Basics
    • Advanced table formatting
    • Collapsing
    • Conditional tables
    • Sortable tables
  • Using colours
Links and diffs
  • Links
    • Interlanguage
    • Interwiki
    • Permanent
  • Diffs
    • Simplest diff guide
    • Simple diff and link guide
    • Complete diff and link guide
  • Colon trick
  • Link color
  • Pipe trick
  • URLs
Media files: images,
videos and sounds
  • Media help
  • Files
    • Creation and usage
    • Moving files to Commons
  • Images
    • Introduction to images
    • Picture tutorial
    • Preparing images for upload
    • Uploading images
    • Options to hide an image
    • Extended image syntax
    • SVG help
  • Gallery tag
  • Graphics tutorials
    • Basic bitmap image editing
    • How to improve image quality
    • Graphics Lab resources
  • Sound file markup
  • Visual file markup
Other graphics
  • Family trees
  • Graphs and charts
    • How to create
    • Barcharts
    • To scale charts
  • Math formulas
    • Math symbols
  • Musical scores
    • Musical symbols
  • Timeline
    • EasyTimeline syntax
  • WikiHiero syntax
Templates and
Lua modules
  • Templates
  • Advanced template coding
  • Template documentation
  • Template index
  • Template limits
  • Template sandbox and test cases
  • Citation templates
  • Lua help
  • Lua project
    • Resources
    • To do
  • Substitution
  • Purge
    • Job queue
  • Transclusion
    • Labeled section
    • Costs and benefits
  • Guide to Scribbling
Data structure
  • Namespaces
  • Main/Article
  • Category
  • Draft
  • File
    • File description page
  • Help
  • Portal
  • Project/Wikipedia
  • Talk
    • Archiving
      • Simple
  • Template
  • User
    • User page design
  • MediaWiki
    • Bug reports and feature requests
    • TimedMediaHandler extension
  • Module
  • Special
HTML and CSS
  • Cascading Style Sheets
  • HTML in wikitext
  • Catalogue of CSS classes
  • Common.js and common.css
  • Classes in microformats
  • Markup validation
  • Span tags
  • Useful styles
Customisation
and tools
  • Preferences
  • Gadgets
  • Skins
  • Citation tools
  • Cleaning up vandalism tools
  • Customizing watchlists
    • Hide pages
  • IRC Scripts
  • User scripts
    • Guide
    • List
    • Techniques
  • User style
  • Tools
    • Alternative browsing
    • Browser tools
    • Editing tools
    • Navigation shortcuts
    • Optimum tool set
  • Wikimedia Cloud Services
  • Beta Features at MediaWiki
Automated editing
  • AfC helper script
  • AntiVandal
  • AutoWikiBrowser
  • Bots
    • Creating
    • history
  • HotCat
  • Huggle
  • Navigation popups
  • RedWarn
  • Twinkle
  • Ultraviolet
  • WPCleaner
  • Inactive
    • igloo
    • STiki
  • See also: Category:Wikipedia how-to
  • Category:Wikipedia information pages
    Further navigation at: Help pages
    • Administrators
  • Accessibility
  • Accounts
  • Bots
  • Referencing
    • Citation metadata
  • Templates
  • User scripts
The above documentation is transcluded from Template:Refwidth/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Refwidth&oldid=1309894126"
Last edited on 6 September 2025, at 15:06

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 6 September 2025, at 15:06 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop