Template:Cite/doc

維基詞典,自由的多語言詞典

Usage[编辑]

This template can be used to link to the citation templates {{cite-book}}, {{cite-journal}}, {{cite-newsgroup}}, {{cite-video game}} and {{cite-web}}, which are used in "Reference" sections and on talk pages.

Sample template[编辑]

Using the type parameter, specify the citation template you wish to link to. For example, to link to {{cite-book}}, type "type=book". In the rest of the template, add the parameters you would add to the citation template you wish to link to.

{{cite|type=[book/journal/newsgroup/video game/web]|[other parameters]}}

Examples:

  • Book.
  • Journal.
    • Wikitext: {{cite|type=journal|author=Leigh Hunt|authorlink=Leigh Hunt|title=Twelfth Night|journal=[[w:The Musical Times|The Musical Times, and Singing Class Circular]]|location=London|publisher=London Sacred Music Warehouse, [[w:Alfred Novello|J[oseph] Alfred Novello]], music seller (by appointment) to Her Majesty, 69, {{w|Dean Street}}, {{w|Soho}}, and 24, [[w:Poultry, London|Poultry]]. Also in New York, at 389, [[w:Broadway (Manhattan)|Broadway]]|date=1 January 1854|volume=V|issue=116|pages=314–315|pageurl=https://books.google.com/books?id=FmwPAAAAYAAJ&pg=PA314|oclc=7546319|passage='''Twelfth-Night''', so called from its being the conclusion of the twelve days of Christmas, is one of the Christian versions of those natural winter holidays, which have prevailed from times the most ancient, and which are the instinctive result of the necessity which is felt for a double portion of joy and sociality at so inclement a time.}}
    • Result: Leigh Hunt (1 January 1854), “Twelfth Night”, The Musical Times, and Singing Class Circular, 卷V, 期116, London: London Sacred Music Warehouse, J[oseph] Alfred Novello, music seller (by appointment) to Her Majesty, 69, Dean Street, Soho, and 24, Poultry. Also in New York, at 389, Broadway, OCLC 7546319, 页314–315:
      Twelfth-Night, so called from its being the conclusion of the twelve days of Christmas, is one of the Christian versions of those natural winter holidays, which have prevailed from times the most ancient, and which are the instinctive result of the necessity which is felt for a double portion of joy and sociality at so inclement a time.