模板:Cite map

维基百科,自由的百科全书
跳到导航 跳到搜索
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]
引文格式1模板
{{Cite arXiv}} arXiv 预印本
{{Cite AV media}} 影音媒体
{{Cite AV media notes}} CD上的内容介绍
{{Cite bioRxiv}} bioRxiv 预印本
{{Cite book}} 书籍
{{Cite conference}} 会议记录
{{Cite encyclopedia}} 引用百科全书的资料
{{Cite episode}} 电视或电台节目
{{Cite interview}} 采访;访问
{{Cite journal}} 学术期刊和论文
{{Cite magazine}} 杂志;期刊
{{Cite mailing list}} 邮件列表
{{Cite map}} 地图
{{Cite news}} 新闻报导文章
{{Cite newsgroup}} 线上新闻组
{{Cite podcast}} 播客
{{Cite press release}} 电子报
{{Cite report}} 政府部门的报告、公司年报
{{Cite serial}} 广播节目系列
{{Cite sign}} 标志;匾额;铭牌;徽章
{{Cite speech}} 演讲
{{Cite techreport}} 技术报告
{{Cite thesis}} 论文
{{Cite web}} 上述模板未有包含的其他网络资源
另见:

Template:Citation Style documentation/lead

These specific-source templates use {{cite map}} as a meta-template:

Usage[编辑]

复制以下其中一个空白的版本来使用。所有参数名称必须使用小写。每个参数之间使用“|”(管道)字符分隔。删除未使用的参数,以避免在编辑窗口出现。某些范例可能包括当前日期。如果不是当前的日期,请清除缓存

  • {{cite map |publisher= |title= |trans_title= |map= |mapurl= |date= |year= |url= |scale= |series= |version= |cartography= |page= |pages= |section= |inset= |edition= |location= |language= |format= |isbn= |id= |ref= |accessdate= |archiveurl= |archivedate= }}
{{cite map
 |publisher   =
 |title       =
 |trans_title =
 |map         =
 |mapurl      =
 |date        =
 |year        =
 |url         =
 |scale       =
 |series      =
 |version     =
 |cartography =
 |page        =
 |pages       =
 |section     =
 |inset       =
 |edition     =
 |location    =
 |language    =
 |format      =
 |isbn        =
 |id          =
 |ref         =
 |accessdate  =
 |archiveurl  =
 |archivedate =
}}

Examples[编辑]

{{Cite map |publisher=OpenStreetMap |publisher-link= OpenStreetMap |title=E.T. Seton Park – OpenStreetMap |url=http://www.openstreetmap.org/?lat=43.70891&lon=-79.34334&zoom=15&layers=M&way=25480325 |cartography=OpenStreetMap contributors |accessdate=26 November 2011}}

{{Cite map |publisher=Skelly Oil Company |title=Highway Map of Oklahoma |cartography=Diversified Map Co |year=1966 |section=11C}}

  • Highway Map of Oklahoma (Map). Cartography by Diversified Map Co. Skelly Oil Company. § 11C. 1966. 

{{Cite map |publisher=Rand McNally |title=Discovery Atlas of the United States |year=1993 |page=7 |section=7G}}

  • Discovery Atlas of the United States (Map). Rand McNally: 7. § 7G. 1993. 

{{Cite map |publisher=Stanley Maps |title=Mt. Rainier National Park |scale=1 : 30,000 |year=2000 |edition=Centennial |cartography=Charles B. Kitterman / Kulshan Cartographic Services |isbn=0-9662209-4-3}}

  • Mt. Rainier National Park (Map) Centennial. 1 : 30,000. Cartography by Charles B. Kitterman / Kulshan Cartographic Services. Stanley Maps. 2000. ISBN 0-9662209-4-3. 

{{Cite map |publisher=Kansas Department of Transportation |title=Official State Transportation Map |url=http://www.ksdot.org/burtransplan/maps/state-pdf/kansas0708.pdf |format= PDF |edition=2005-2006 |section=F9 |accessdate=2007-03-30}}

{{Cite map |publisher=New Zealand Department of Conservation |publisher-link= New Zealand Department of Conservation |title=Kepker Track |series=Parkmap |scale=1 : 50,000 |edition=3rd |year=2003 |cartography=GeoSmart (NZ) Ltd}}

  • Kepker Track (Map) 3rd. 1 : 60,000. Parkmap. Cartography by GeoSmart (NZ) Ltd. New Zealand Department of Conservation. 2003.  已忽略未知参数|publisher-link= (帮助)

{{Cite map |publisher=Ordnance Survey Ireland |publisher-link= Ordnance Survey Ireland |title=Kerry |series=Discovery Series |scale=1 : 60,000 |edition=2nd |year=2000 |isbn=1-901496-59-7}}

  • Kerry (Map) 2nd. 1 : 50,000. Discovery Series. Ordnance Survey Ireland. 2000. ISBN 1-901496-59-7.  已忽略未知参数|publisher-link= (帮助)

{{Cite map |publisher=United States Geological Survey |publisher-link= United States Geological Survey |title=Mount Adams East Quadrangle - Washington - Yakima Co. |year=1998 |scale=1 : 24,000 |series=7,5 Minute Series (Topographic) |isbn=0-607-92088-2}}

  • Mount Adams East Quadrangle - Washington - Yakima Co. (Map). 1 : 24,000. 7,5 Minute Series (Topographic). United States Geological Survey. 1998. ISBN 0-607-92088-2.  已忽略未知参数|publisher-link= (帮助)

{{Cite map |publisher=Colorado State Highway Department |date=July 1923 |mapurl=http://books.google.com/books?id=czs5AQAAMAAJ&pg=RA10-PA12 |map=New Map Showing the 8,880 Miles Which Comprise Colorado's Primary Highway System |title=Colorado Highways |scale=Scale not given |cartography=CSHD |volume=2 |issue=7 |pages=12–13 |oclc=11880590 |accessdate= November 18, 2013}}

Parameters[编辑]

Syntax[编辑]

Nested parameters rely on their parent parameters:

  • parent
  • OR: parent2—may be used instead of parent
    • child—may be used with parent (and is ignored if parent is not used)
    • OR: child2—may be used instead of child (and is ignored if parent2 is not used)
Where aliases are listed, only one of the parameters may be defined; if aliased parameters are defined, then only one will show.

This template embeds COinS metadata in the HTML output, allowing reference management software to retrieve bibliographic metadata; see Wikipedia:COinS.

  • Be careful using templates within the citation template, as many will add a lot of extraneous HTML or CSS that will be rendered in the meta-data.
    • Known templates that should not be used: {{smallcaps}}.

Deprecated[编辑]

These parameters are deprecated and will no longer work. Use will place the page in Category:含有过时参数的引用的页面.

Use accessdate:

  • access-date
  • accessed
  • accessdaymonth
  • accessday
  • accessmonthday
  • accessmonth
  • accessyear

Use date:

  • day

No longer supported:

  • dateformat
  • doilabel

Description[编辑]

Title[编辑]

  • title: Title of source. Can be wikilinked to an existing Wikipedia article or url may be used to add an external link, but not both. Displays in italics.
    • trans_title: English translation of the title if the source cited is in a foreign language. Displays in square brackets after title; if url is defined, then trans_title is included in the link. Use of the language parameter is recommended.
Titles containing certain characters will display and link incorrectly unless those characters are encoded.
newline [ ] |
space [ ] |
  • map: The title of the map, if published in an atlas, book, or journal. May be wikilinked or may use mapurl, but not both. Displays in quotes.
  • language: The language the source is written in, if not English. Displays in parentheses with "in" before the language name. Use the full language name; do not use icons or templates.
  • type: Provides additional information about the media type of the source; format in sentence case. Displays in parentheses following the title. Defaults to Map.

Date[编辑]

  • date: Full date of source being referenced in the same format as other publication dates in the citations.[1] Do not wikilink. Displays after the authors and enclosed in parentheses. If there is no author, then displays after publisher.
  • OR: year: Year of source being referenced.
    • month: Name of the month of publication. If you also have the day, use date instead; do not wikilink.
    • origyear: Original publication year; displays after the date or year. For clarity, please supply specifics; example: |origyear=First published 1859 or |origyear=Composed 1904.
  1. ^ Publication dates in article references should all have the same format. See MOS:DATEUNIFY.

Publisher[编辑]

  • publisher: Name of publisher. Displays before title. Do not wikilink—use publisher-link instead.
  • publisher-link: Title of existing Wikipedia article about the publisher—not the publisher's website; do not wikilink.
  • location: Geographical place of publication; generally not wikilinked; omit when the name of the work includes the location; examples: The Boston Globe, The Times of India. Displays preceding publisher.
  • publication-date: Date of publication when different from the date the work was written. Displays only if year or date are defined and only if different, else publication-date is used and displayed as date. Use the same format as other dates in the article; do not wikilink. Follows publisher; if work is not defined, then publication-date is preceded by "published" and enclosed in parenthesis.

Edition, series[编辑]

  • edition: When the publication has more than one edition; for example: "2nd", "Revised" etc. Displays " ed." after this field, so |edition=2nd produces "2nd ed." Does not display if a periodical field is defined.
  • scale: Scale of map.
  • series: Title of map series.
  • version: Version of map.
  • cartography: Person or entity that did the cartography. Displays preceded by "Cartography by".

In-source locations[编辑]

  • page: Page in the source that supports the content; overridden by at.
  • OR: pages: Pages in the source that supports the content; separate page ranges with an en dash (–); separate non-sequential pages with a comma (,); do not use to indicate the total number of pages in the source.
  • OR: at: For sources where a page number is inappropriate or insufficient.
Examples: page (p.) or pages (pp.); section (Section), inset or other custom location on the map or in the atlas.

URL[编辑]

  • url: URL of an online location where the text of the publication can be found. Cannot be used if title is wikilinked. If applicable, the link may point to the specific page(s) referenced. Do not link to any commercial booksellers such as Amazon.com; see WP:PAGELINKS.
    • accessdate: Full date when URL was accessed; use the same format as other access and archive dates in the citations;[1] do not wikilink. Can be hidden by registered editors.
    • archiveurl: The URL of an archived copy of a web page, if or in case the url becomes unavailable. Typically used to refer to services like WebCite and the Internet Archive; requires archivedate.
      • archivedate: Date when the item was archived; use the same format as other access and archive dates in the citations;[1] do not wikilink. Displays preceded by "archived from the original on".
      • deadurl: When the URL is still live, but preemptively archived, then set |deadurl=no. This changes the display order with the title retaining the original link and the archive linked at the end.
    • template doc demo: The archive parameters have error checking to ensure that all the required parameters are included, else {{citation error}} is invoked. On errors, main, help and template pages are placed into Category:Articles with incorrect citation syntax. Set |template doc demo=true to disable categorization; mainly used for documentation where the error is demonstrated.
  • format: Format of the work referred to by url; examples: PDF, DOC, XLS; HTML is implied and should not be specified; displayed in parentheses after title. Does not change external link icon.
URLs must begin with a supported URI scheme: http:// and https:// will be supported by all browsers; irc://, ircs://, ftp://, news:, mailto: and gopher:// will require a plugin or an external application and should normally be avoided. IPv6 host-names are currently not supported.
If URLs in citation template parameters contain certain characters they will display and link incorrectly. Those characters need to be percent-encoded. For example, a space must be replaced by %20. To encode the URL, replace these characters:
sp " ' < > [ ] | }
%20 %22 %27 %3c %3e %5b %5d %7c %7d
Single apostrophes do not need to be encoded; but unencoded multiples will be parsed as italic or bold markup. Single curly closing braces also do not need to be encoded; but an unencoded pair will be parsed as the double closing braces for the template transclusion.
  1. ^ 1.0 1.1 Access and archive dates in references should all have the same format – either the format used for publication dates, or YYYY-MM-DD. See MOS:DATEUNIFY.

Anchor[编辑]

Identifiers[编辑]

Quote[编辑]

  • quote: Relevant text quoted from the source. Displays enclosed in quotes. When supplied, the citation terminator (a period by default) is suppressed, so the quote needs to include terminating punctuation.

Laysummary[编辑]

  • laysummary: URL link to a non-technical summary or review of the source; the URL title is set to "Lay summary".
    • laysource: Name of the source of the laysummary. Displays in italics and preceded by an endash.
    • laydate: Date of the summary. Displays in parentheses.

Display options[编辑]

  • author-mask: Replaces the name of the first author with em dashes or text. Set author-mask to a numeric value to set the dash in em spaces; set author-mask to a text value to display a word instead; for example, "with". You must still include the values for all authors for metadata purposes. Primarily intended for use in bibliographies for some styles where multiple works by a single author are listed. Do not use in a list generated by {{reflist}}, <references /> or similar as there is no control as to the order that references will display.
  • author-name-separator: Changes the separator between last and first names; defaults to a comma and space (, ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as &#32; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.
  • author-separator: Changes the separator between authors; defaults to a semicolon and space (; ); if the parameter is present, but blank, no separator punctuation will be used; a space must be encoded as &#32; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.
  • display-authors: By default, the number of authors displayed is limited to 8; if 9 are provided, the ninth is displayed as "et al." This parameter allows display of fewer authors before the "et al."; example: |display-authors=2; "et al." may be suppressed altogether by setting |display-authors=9.
  • lastauthoramp: When set to any value, changes the separator to use between the last two names in lists of authors to an ampersand (&); defaults to a semicolon and space (; ), else author-separator if set.
  • postscript: The closing punctuation for the citation; defaults to a period (.); if the parameter is present, but blank, no terminating punctuation will be used. Ignored if quote is defined.
  • separator: The punctuation used to separate lists of authors, editors, etc. Defaults to a period (.); if the parameter is present but blank, no separator punctuation will be used; do not use an asterisk (*), colon (:) or hash (#) as they will be interpreted as wikimarkup.

This template produces COinS metadata; see COinS in Wikipedia for background information.