Template:Cite CIA World Factbook/testcases

No parameters
{{Cite CIA World Factbook}}

{{Cite CIA World Factbook}}

"The World Factbook" (2024 ed.). Central Intelligence Agency.

{{Cite CIA World Factbook/sandbox}}

"The World Factbook" (2024 ed.). Central Intelligence Agency.

Country, year (2022), section using a top level section (links to section)
Country, year (2022), section using a second level section heading (fail to link to sub-section)
Year (2022), section using a top level section (with no country just links to home)
Author
{{Cite CIA World Factbook|author=John Q. Smith}}

{{Cite CIA World Factbook}}

John Q. Smith. "The World Factbook" (2024 ed.). Central Intelligence Agency.

{{Cite CIA World Factbook/sandbox}}

John Q. Smith. "The World Factbook" (2024 ed.). Central Intelligence Agency.

Author, year
{{Cite CIA World Factbook|author=John Q. Smith |year=2018}}

{{Cite CIA World Factbook}}

John Q. Smith. "The World Factbook" (2024 ed.). Central Intelligence Agency. (Archived 2018 edition.)

{{Cite CIA World Factbook/sandbox}}

John Q. Smith. "The World Factbook" (2024 ed.). Central Intelligence Agency. (Archived 2018 edition.)

Author, country
{{Cite CIA World Factbook|author=John Q. Smith |country=United Kingdom}}

{{Cite CIA World Factbook}}

John Q. Smith. "United Kingdom". The World Factbook (2024 ed.). Central Intelligence Agency.

{{Cite CIA World Factbook/sandbox}}

John Q. Smith. "United Kingdom". The World Factbook (2024 ed.). Central Intelligence Agency.

Author, country, year (2018)
{{Cite CIA World Factbook|author=John Q. Smith |country=Angola |year=2018}}

{{Cite CIA World Factbook}}

John Q. Smith. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. (Archived 2018 edition.)

{{Cite CIA World Factbook/sandbox}}

John Q. Smith. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. (Archived 2018 edition.)

Country, current year
Country, current year less one
Author, country, access-date
{{Cite CIA World Factbook|access-date=25 September 2022 |country=Angola}}

{{Cite CIA World Factbook}}

"Angola". The World Factbook (2024 ed.). Central Intelligence Agency. Retrieved 25 September 2022. (Archived 2022 edition.)

{{Cite CIA World Factbook/sandbox}}

"Angola". The World Factbook (2024 ed.). Central Intelligence Agency. Retrieved 25 September 2022. (Archived 2022 edition.)

First, last, country, current year
{{Cite CIA World Factbook|country=Angola |first=John Q. |last=Smith |year=2024}}

{{Cite CIA World Factbook}}

Smith, John Q. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency.

{{Cite CIA World Factbook/sandbox}}

Smith, John Q. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency.

First, last, country, year (2015)
{{Cite CIA World Factbook|country=Angola |first=John Q. |last=Smith |year=2015}}

{{Cite CIA World Factbook}}

Smith, John Q. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. (Archived 2015 edition.)

{{Cite CIA World Factbook/sandbox}}

Smith, John Q. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. (Archived 2015 edition.)

First, last, country, year (2022) date (11 June 2022)
{{Cite CIA World Factbook|country=Angola |date=11 June 2022 |first=John Q. |last=Smith |year=2022}}

{{Cite CIA World Factbook}}

Smith, John Q. (11 June 2022). "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. (Archived 2022 edition.)

{{Cite CIA World Factbook/sandbox}}

Smith, John Q. (11 June 2022). "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. (Archived 2022 edition.)

First, last, country, year (2016) date (11 June 2015)
{{Cite CIA World Factbook|country=Angola |date=11 June 2015 |first=John Q. |last=Smith |year=2016}}

{{Cite CIA World Factbook}}

Smith, John Q. (11 June 2015). "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. (Archived 2016 edition.)

{{Cite CIA World Factbook/sandbox}}

Smith, John Q. (11 June 2015). "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. (Archived 2016 edition.)

First, last, country, access-date (11 June 2015)
{{Cite CIA World Factbook|access-date=11 June 2015 |country=Angola |first=John Q. |last=Smith}}

{{Cite CIA World Factbook}}

Smith, John Q. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. Retrieved 11 June 2015. (Archived 2015 edition.)

{{Cite CIA World Factbook/sandbox}}

Smith, John Q. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. Retrieved 11 June 2015. (Archived 2015 edition.)

First, last, country, year (2018), access-date (11 June 2022)
{{Cite CIA World Factbook|access-date=11 June 2022 |country=Angola |first=John Q. |last=Smith |year=2018}}

{{Cite CIA World Factbook}}

Smith, John Q. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. Retrieved 11 June 2022. (Archived 2018 edition.)

{{Cite CIA World Factbook/sandbox}}

Smith, John Q. "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. Retrieved 11 June 2022. (Archived 2018 edition.)

First, last, country, date (21 January 2018) access-date (11 June 2022)
{{Cite CIA World Factbook|access-date=11 June 2022 |country=Angola |date=21 January 2018 |first=John Q. |last=Smith}}

{{Cite CIA World Factbook}}

Smith, John Q. (21 January 2018). "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. Retrieved 11 June 2022. (Archived 2018 edition.)

{{Cite CIA World Factbook/sandbox}}

Smith, John Q. (21 January 2018). "Angola". The World Factbook (2024 ed.). Central Intelligence Agency. Retrieved 11 June 2022. (Archived 2018 edition.)

,