Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:Refwidth

From Wikipedia, the free encyclopedia
Template documentation[view] [edit] [history] [purge]
CSSThis template usesTemplateStyles:

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 ofWikipedia: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 as30em.

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
shortmediumlong
Stringrequired
Policies and guidelines
General advice
Citing sources
Inline citations
Help for beginners
Advanced help
Footnote templates
Find references
Citation tools
(External links)
Main namespace
Other namespaces
All namespaces
Navboxes
with templates
Inline images
Help pages
Related topics
Search
General
technical help
Special
page
-related
Wikitext
Links anddiffs
Media files: images,
videos and sounds
Other graphics
Templates and
Lua modules
Data structure
HTML andCSS
Customisation
and tools
Automated editing
The abovedocumentation istranscluded fromTemplate:Refwidth/doc.(edit |history)
Editors can experiment in this template'ssandbox(edit |diff) andtestcases(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=1334974913"
Categories:
Hidden category:

[8]ページ先頭

©2009-2026 Movatter.jp