Bản mẫu:Sfnaut

Tài liệu bản mẫu

This is an alternative to {{sfnm}} optimized for articles that

  • have to be very heavily sourced,
  • regularly cite four, five or more sources for a single sentence,
  • have a tendency towards longer-than-average author names and/or location strings.

Features:

  • Simple syntax without named parameters, like {{sfn}}.
  • Improves body text readability by creating single footnote marks for groups of four, five, six, ... citations, like {{sfnm}}.
  • Produces scannable citation sections that an auto-width {{reflist}} will display without annoying line break, like {{sfn}}.
  • Currently supports up to 10 (ten) sources per invocation.

Disadvantages:

  • Sources with multiple authors will generally need an explicit {{sfnref}} in the {{cite xxx}} invocation.

Usage

You type this:

Hello.{{sfnaut|Weissensteiner|1983|85|Barth-Scalmani et al.|1997|54–55|Raschauer|2009|Rz 356–358}}{{reflist}}

You see this:

Hello.[1]

The list of parameters is interpreted as a bunch of three-element tuples describing one citation each. The elements of each tuple are:

  1. the name of the author;
  2. the date;
  3. the in-source location:
    • If the location consists of digits only, the value is taken to be a page number and is passed to the underlying {{harvnb}} template using a p parameter.
    • If the location does not consist of digits only but does start with a digit, the value is assumed to be a set of page numbers or page ranges – the nondigit characters are probably just separators such as commas, dashes, or spaces – and is passed using pp.
    • If the location starts with a nondigit, the value is assumed to be a numbered paragraph of some sort (Art., §, Rz or similar) and is passed using loc.

If the work has more than one author, create a fake author name with {{sfnref}}, like so:

{{cite book| ref={{sfnref|Adamovich et al.|2011}}| author-last1=Adamovich| ........ }}

The lack of built-in support for works with multiple authors is the price the template pays for avoiding named parameters. The {{sfnm}} method of numbered sets of named parameters makes template invocations verbose, error-prone, and difficult to type; it also makes it cumbersome to move citations around because you keep having to renumber parameter names. In some areas (say, articles on the Austrian legal system) virtually all sources have one author only, and the very few that have more than one are conventionally cited as First et al. anyway.

🔥 Top keywords: Đài Truyền hình Kỹ thuật số VTCLương CườngTrang ChínhTrương Thị MaiLê Minh HưngBộ Chính trị Ban Chấp hành Trung ương Đảng Cộng sản Việt NamĐặc biệt:Tìm kiếmBùi Thị Minh HoàiTô LâmNguyễn Trọng NghĩaThường trực Ban Bí thư Trung ương Đảng Cộng sản Việt NamLương Tam QuangĐỗ Văn ChiếnLê Minh HươngBan Bí thư Trung ương Đảng Cộng sản Việt NamPhan Văn GiangTrần Quốc TỏChủ tịch nước Cộng hòa xã hội chủ nghĩa Việt NamNguyễn Phú TrọngNguyễn Duy NgọcSlovakiaPhan Đình TrạcTrần Thanh MẫnLê Thanh Hải (chính khách)Đài Truyền hình Việt NamTổng cục chính trị Quân đội nhân dân Việt NamViệt NamCleopatra VIITrần Cẩm TúBan Chấp hành Trung ương Đảng Cộng sản Việt NamHồ Chí MinhThích Chân QuangChủ nhiệm Tổng cục chính trị Quân đội nhân dân Việt NamLê Minh Hùng (Hà Tĩnh)Lễ Phật ĐảnChiến dịch Điện Biên PhủẤm lên toàn cầuTrưởng ban Tổ chức Trung ương Đảng Cộng sản Việt NamPhạm Minh Chính