[досмотренная версия][досмотренная версия]
Строка 1: Строка 1:
 
+
==Параметры==
{{Ombox | type=notice | text = Columns are not supported by some older browsers, most notably Internet Explorer 9 and below and Opera 11.0 and below. See [[#Browser support for columns|below]] for more information.}}
+
 
+
This [[Wikipedia:Citation templates|citation template]] provides formatting and organizational features for [[w:Help:Footnotes|footnotes]].  It encapsulates the {{tag|references|s}} tag used by the [[cite.php]] MediaWiki extension to show the list of references as defined by {{tag|ref|o}} tags. It adds support for a reduced font size, columns, groups.
+
 
+
If you don't use any of the additional features, then it produces the same output as the simpler and slightly faster {{tag|references|s}} tag.
+
 
+
==Parameters==
+
 
* First unnamed parameter:
 
* First unnamed parameter:
 
: column-count: a natural number specifying fixed columns into which the reference list is to be rendered. Example: <code>|2|</code>.
 
: column-count: a natural number specifying fixed columns into which the reference list is to be rendered. Example: <code>|2|</code>.
Строка 15: Строка 8:
 
* '''close=1''': forces the reference list to close and render all references defined to that point; see the [[#Multiple uses|section on multiple uses]] for details.
 
* '''close=1''': forces the reference list to close and render all references defined to that point; see the [[#Multiple uses|section on multiple uses]] for details.
  
==Usage==
+
==Использование==
 
<pre>
 
<pre>
 
Lorem ipsum.<ref>Source name, access date, etc.</ref>
 
Lorem ipsum.<ref>Source name, access date, etc.</ref>
Строка 24: Строка 17:
 
</pre>
 
</pre>
  
gives:
+
Получится:
  
 
Lorem ipsum.<ref>Source name, access date, etc.</ref>
 
Lorem ipsum.<ref>Source name, access date, etc.</ref>

Версия 18:15, 7 декабря 2014

Параметры

  • First unnamed parameter:
column-count: a natural number specifying fixed columns into which the reference list is to be rendered. Example: |2|.
column-width: a typographic unit of measurement such as em, specifying the width for the reference list columns. Example: |30em|.
  • refs: used with named references (e.g., Шаблон:Tag); it specifies a list of some or all named references used in the article.
  • group: identifies by name the subset of references to be rendered; the value should correspond to that used inline, e.g., Шаблон:Tlx renders all references with groupname as the group name (Шаблон:Tag).
  • liststyle: specifies the style used when the reference list is enumerated; if none is specified, the default is to render a numbered list.
  • close=1: forces the reference list to close and render all references defined to that point; see the section on multiple uses for details.

Использование

Lorem ipsum.<ref>Source name, access date, etc.</ref>
Lorem ipsum dolor sit amet.<ref>Source name, access date, etc.</ref>

==References==
{{Reflist}}

Получится:

Lorem ipsum.[1] Lorem ipsum dolor sit amet.[2]

References

Шаблон:Reflist
Ошибка цитирования Для существующего тега <ref> не найдено соответствующего тега <references/>