Template:Citation

De Valve Developer Community
Ir para navegação Ir para pesquisar
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [visualizar] [editar] [criar Português do Brasil (pt-br)]
Icon-translate.png Available doc translations
Info.png
The Template:Citation/doc/pt-br documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.

Usage

This template is used in tandem with {{Cite}} and {{References}} to mimic citation.

Parameters

Parameter Description
{{{cite id}}} The id should match the cite number from the {{cite}} template. If {{cite}} uses "1" then {{{cite id}}} should also be "1".
{{{last}}} The author's surname or last name. Don't use with the author parameter.
{{{first}}} The author's first or given name(s).
{{{author}}} The name of the publisher. Omit terms such as Publishers, Co., Inc., Ltd., etc., but retain the words Books or Press. If specified, overrides both {{{last}}} and {{{first}}}.
{{{date}}} Date of referenced source. Can be full date (day, month, and year) or partial date (month and year, season and year, or year).
Wiki Note:Please enter dates in the format: day month name, year (e.g. 31 July, 2025) if possible.
{{{title}}} Title of the work. Mandatory for web references. Make sure to use proper formatting for what type of work (books/websites/journals use italics, articles/short works use Quotes.). If you are unsure what to use, refer to these articles on italics and quotation marks.
{{{url}}} The full URL of the citation. Must include https:// at the beginning to work properly.
{{{website}}}/{{{work}}} Name of the work or website containing the source; may be wikilinked if relevant
{{{location}}} If this work was published in a specific town or state, usually for books or newspapers, use this to specify the location
{{{publisher}}} Name of publisher; may be wikilinked if relevant.
{{{url-status}}} Current link status, if its a dead link, or is it still active. Current parameters are: dead, live, and deviated.
{{{archive-url}}} The URL of an archived snapshot of a web page. Typically used to refer to services such as Internet Archive and archive.today. For archivers, it is highly recommended to archive a web page in both archiver services, in case one of them was shutdown or the URLs gets excluded by the services.
{{{archive-date}}} Archive service snapshot date
{{{access-date}}} The date when the editors recently visited the cited website.

Example

{{lorem ipsum|1}}{{cite|1}}

{{highlight|color=white|text color=black|1=This is really cool text from an external source.}}{{cite|2}}{{cite|4}}{{cite|5}}

{{highlight|color=white|text color=black|1=This is really cool text from an external source which has since become dead.}}{{cite|3}}

{{lorem ipsum|1}}{{cite|6}}{{cite|7}}{{Citation
    | cite id      = 1
    | last         = Doe
    | first        = John
    | author       = Doe, John S
    | date         = 27 September, 2007
    | title        = Really Cool Article
    | url          = http://url/
    | website      = Site Name
    <!--| work         = Work Name-->
    | location     = Planet Earth
    | publisher    = Cool name Publishing
    | url-status   = <!-- dead, live, deviated -->
    | archive-url  = http://archiveurl/
    | archive-date = 4 July, 2016
    | access-date  = 28 July, 2025
}}
{{Citation
    | cite id = 5
    | 1 = Old template being used in this testcase! Please fix!
    | access-date = 7 March, 2024
}}
{{Citation
    | cite id = 6
    | title = Test title for things
}}
{{Citation
    | cite id = 7
}}
{{Citation|}}

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[1]

This is really cool text from an external source.[2][4][5]

This is really cool text from an external source which has since become dead.[3]

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[6][7]

References

References
1. Doe, John S (27 September, 2007), Really Cool Article (Archived). Site Name. Planet Earth: Cool name Publishing. Archived from the original on 4 July, 2016. Retrieved on 28 July, 2025.
2. Doe, Jane (30 October, 1994), Totally Awesome Article. Daily Planet. Metro City. Archived from the original on 7 July, 2010. Retrieved on 28 July, 2025.
3. Parker, Peter (2005), Green Goblin Jailed! (Archived). Daily Planet. Metro City. Archived from the original (Deviated) on 7 July, 2005. Retrieved on 30 July, 2025.
4. Green Goblin Jailed!. Retrieved on 30 July, 2025.
5. Old template being used in this testcase! Please fix!. Retrieved on 7 March, 2024.
6. Test title for things.
7. {{missing necessary {{{title}}}!}}.
{{missing necessary {{{cite id}}}!}} {{missing necessary {{{title}}}!}}.