ފަންވަތް:Reflist/doc: Difference between revisions
Content deleted Content added
m ރޮބޮޓ ފޮހެލުނ: hu:Reflist (missing) |
އެންމެ ފަހުން ގެނެވުނު ބަދަލު 23:45, 18 އެޕްރީލް 2020 އުނިއިތުރު ގެންނަވާ ކުރީގެ ނުސްހާއަށް ބަދަލުކުރައްވާ Xqbot (ޚިޔާލު ސަފްޙާ | ޙިއްޞާ) m Bot: Replace deprecated <source> tag and "enclose" parameter; cosmetic changes |
||
ފޮޅުވަތް 3:
<includeonly>{{high-risk| 1,000,000+ }}</includeonly>
This template encapsulates the {{tag|references |single}} tag to show the list of references defined by {{tag|ref}} tags,
The {{tag|ref}} and {{tag|references |single}} tags are part of the [[mw:Extension:Cite/Cite.php|Cite.php]] MediaWiki extension.
ފޮޅުވަތް 62:
Columns are currently supported only by [[Mozilla Firefox]] and other [[Gecko (layout engine)|Gecko]]-based browsers. See [[#Browser support for columns]] for more information.
Using {{tlx|reflist|2}} will create a two-column reference list, and {{tlx|reflist|3}} will create a three-column list.
Using {{tlx|reflist|colwidth{{=}}30em}} will allow the browser to automatically choose the number of columns based on the width of the web browser.
== Multiple uses ==
If {{tl|reflist}} is used multiple times without a parameter, each instance will include all of the previous define references. To force the parser to close previous references, each use of {{tl|reflist}} must be forced as a new instance by the use of any parameter. Even a undefined parameter such as {{tlx|reflist|close
== Grouped references ==
As of June 2008, the footnotes system supports the separation of references into groups. This allows groups for explanatory notes, table references and the like. See [[
The general format for the reference tag would be:
:{{tag|ref group
And for the reflist:
:{{tlx|reflist|group
:Where ''groupname'' would be a group identifier such as "note", "nb" or "label".
ފޮޅުވަތް 95:
== List-defined references ==
As of September 2009, references may be defined within {{tl|reflist}} using {{para|refs}} and invoked within the content. There are new error messages associated with this update, documented at [[
For example:
ފޮޅުވަތް 130:
**may mangle long URLs in the printable version; see [[:Image:Wikipediareflistoverlap.gif]] for an example
* [[Internet Explorer]] through version 8 does not support the column property<ref name=msdn />
* [[Safari (web browser)|Safari]] through 4.03, [[Google Chrome]] and probably other [[WebKit]] based browsers have a bug that breaks links in multiple columns; the column feature has been removed for these browsers until the bug is resolved; see [[
* [[Opera (web browser)|Opera]] does not support multiple columns.
=== Supporting CSS ===
{{tl|Reflist}} uses a CSS rule in [[
* <code>.references-small { font-size: 90%;}</code>
ފޮޅުވަތް 153:
=== Customizing the view ===
By editing your CSS, the personal appearance of the reference list can be customized. From [[
;Font size
The font size defaults to 90% of the standard size. To change it, add:
<
Change 90% to the desired size.
ފޮޅުވަތް 165:
To disable columns, add:
<
.references-column-count, .references-column-width {
column-count:1 !important;
ފޮޅުވަތް 174:
-webkit-column-width:auto !important;
}
</syntaxhighlight>
Similarly, to force all reference lists to a number of columns, change the number.
=== Collapsing and scrolling ===
There have been a number of requests to add functionality for a collapsible or scrolling reference list. These requests have not been fulfilled to due to issues with readability, accessibility, and printing. The applicable guidelines are at [[
The links between the inline cite and the reference list do not work when the reference list is enclosed in a collapsed box.
== See also ==
* [[
* [[
* [[
* {{tl|Template reference list}}— version of reflist for use in templates
* {{tl|refbegin}} and {{tl|refend}}— format reference lists
ފޮޅުވަތް 194:
{{reflist|refs=
<ref name=fontsize>See [[
<ref name=stuffandnonsense>{{cite web |accessdate=November 24, 2006 |date=December 30, 2005 |title=CSS3 Multi-Column Thriller |url=http://www.stuffandnonsense.co.uk/archives/css3_multi-column_thriller.html}}</ref>
ފޮޅުވަތް 206:
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[
<!-- ADD INTERWIKIS BELOW THIS LINE -->
</includeonly>
|