Template:References

From Valve Developer Community
Revision as of 13:10, 1 August 2024 by Nescius (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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 [view] [edit]
Icon-translate.png Available doc translations
View
Page history

This template creates a references section, which is used in tandem with {{Cite}} and {{Ref2}} to create references as a replacement for the missing Cite extension.

Parameters and Examples

Parameter Description Examples
{{{1}}} Your text. If any equals signs are present, prepend 1= to the section.
{{references|1= {{ref2|cite id=1|This is the external source that the text was cited from}} }}

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

CollapseReferences
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}}}!}}.