Template:Ref2/doc

From Valve Developer Community
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)
Edit-copy.png
This is a documentation subpage for Template:Ref2.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  

Usage

This template is used in tandem with {{Cite}} and {{References}} to mimic citation. This template supports three parameters, {{{cite id}}}, {{{access-date}}} and {{{1}}}. {{{cite id}}} should match the {{{1}}} parameter found earlier in the {{cite}} template, so if {{cite}} uses "1" then {{{cite id}}} should also be "1". The {{{access-date}}} is used to display the date when the editors recently visited the cited website. The {{{1}}} parameter in this template is the actual text to be inserted after the cite id link. This will also include a link to the position of the cited text.

Example

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

{{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|5}}
<!-- Copy this area below -->
{{references|1=
{{ref2|cite id=1|This is the external source that the text was cited from}}
{{ref2|cite id=2|access-date=November 18, 2024|Doe, John (November 17, 2024). "Articles about {{hl2|1}} 20th Anniversary". ''Website name''.}}
{{ref2|cite id=3|access-date={{#time: F d, Y }}|Doe, John ({{#time: F d, Y }}). "Lorem ipsum". ''Website name''. [https://web.archive.org Archived] from the original in {{#time: F d, Y }}.}}
{{ref2|cite id=4|access-date={{#time: F d, Y }}|X (Twitter) name here (@username) (January 1, 2010). "Lorem ipsum". ''{{twitter}}''.}}
}}

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

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.

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst.

Fusce convallis, mauris imperdiet gravida bibendum, nisl turpis suscipit mauris, sed placerat ipsum urna sed risus. In convallis tellus a mauris. Curabitur non elit ut libero tristique sodales. Mauris a lacus. Donec mattis semper leo. In hac habitasse platea dictumst. Vivamus facilisis diam at odio. Mauris dictum, nisi eget consequat elementum, lacus ligula molestie metus, non feugiat orci magna ac sem. Donec turpis. Donec vitae metus. Morbi tristique neque eu mauris. Quisque gravida ipsum non sapien. Proin turpis lacus, scelerisque vitae, elementum at, lobortis ac, quam. Aliquam dictum eleifend risus. In hac habitasse platea dictumst. Etiam sit amet diam. Suspendisse odio. Suspendisse nunc. In semper bibendum libero.

Proin nonummy, lacus eget pulvinar lacinia, pede felis dignissim leo, vitae tristique magna lacus sit amet eros. Nullam ornare. Praesent odio ligula, dapibus sed, tincidunt eget, dictum ac, nibh. Nam quis lacus. Nunc eleifend molestie velit. Morbi lobortis quam eu velit. Donec euismod vestibulum massa. Donec non lectus. Aliquam commodo lacus sit amet nulla. Cras dignissim elit et augue. Nullam non diam. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In hac habitasse platea dictumst. Aenean vestibulum. Sed lobortis elit quis lectus. Nunc sed lacus at augue bibendum dapibus.

Aliquam vehicula sem ut pede. Cras purus lectus, egestas eu, vehicula at, imperdiet sed, nibh. Morbi consectetuer luctus felis. Donec vitae nisi. Aliquam tincidunt feugiat elit. Duis sed elit ut turpis ullamcorper feugiat. Praesent pretium, mauris sed fermentum hendrerit, nulla lorem iaculis magna, pulvinar scelerisque urna tellus a justo. Suspendisse pulvinar massa in metus. Duis quis quam. Proin justo. Curabitur ac sapien. Nam erat. Praesent ut quam.

References

References
1. This is the external source that the text was cited from
2. Doe, John (November 17, 2024). "Articles about Half-Life 2 20th Anniversary". Website name. Retrieved November 18, 2024.
3. Doe, John (December 22, 2024). "Lorem ipsum". Website name. Archived from the original in December 22, 2024. Retrieved December 22, 2024.
4. X (Twitter) name here (@username) (January 1, 2010). "Lorem ipsum". Logo for X X (Twitter). Retrieved December 22, 2024.