Template:Transclude selected excerpt/testcases

From Wikipedia, the free encyclopedia


This month[edit]

Evaluates to selected=4

{{Transclude selected excerpt|January|February|March|April|May|June|July|August|September|October|November|December |errors=1 |selected=4}}
Side by side comparison
{{Transclude selected excerpt}}{{Transclude selected excerpt/sandbox}}

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa. (Full article...)

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa. (Full article...)

Selection number too low[edit]

Should roll round to December

{{Transclude selected excerpt|January|February|March|April|May|June|July|August|September|October|November|December |errors=1 |selected=0}}
Side by side comparison
{{Transclude selected excerpt}}{{Transclude selected excerpt/sandbox}}

December is the twelfth and final month of the year in the Julian and Gregorian calendars. Its length is 31 days. December’s name derives from the Latin word decem (meaning ten) because it was originally the tenth month of the year in the calendar of Romulus c. 750 BC, which began in March. The winter days following December were not included as part of any month. Later, the months of January and February were created out of the monthless period and added to the beginning of the calendar, but December retained its name.

In Ancient Rome, as one of the four Agonalia, this day in honour of Sol Indiges was held on December 11, as was Septimontium. Dies natalis (birthday) was held at the temple of Tellus on December 13, Consualia was held on December 15, Saturnalia was held December 17–23, Opiconsivia was held on December 19, Divalia was held on December 21, Larentalia was held on December 23, and the dies natalis of Sol Invictus was held on December 25. These dates do not correspond to the modern Gregorian calendar.

The Anglo-Saxons referred to December–January as Ġēolamonaþ (modern English: "Yule month"). The French Republican Calendar contained December within the months of Frimaire and Nivôse. (Full article...)

December is the twelfth and final month of the year in the Julian and Gregorian calendars. Its length is 31 days. December’s name derives from the Latin word decem (meaning ten) because it was originally the tenth month of the year in the calendar of Romulus c. 750 BC, which began in March. The winter days following December were not included as part of any month. Later, the months of January and February were created out of the monthless period and added to the beginning of the calendar, but December retained its name.

In Ancient Rome, as one of the four Agonalia, this day in honour of Sol Indiges was held on December 11, as was Septimontium. Dies natalis (birthday) was held at the temple of Tellus on December 13, Consualia was held on December 15, Saturnalia was held December 17–23, Opiconsivia was held on December 19, Divalia was held on December 21, Larentalia was held on December 23, and the dies natalis of Sol Invictus was held on December 25. These dates do not correspond to the modern Gregorian calendar.

The Anglo-Saxons referred to December–January as Ġēolamonaþ (modern English: "Yule month"). The French Republican Calendar contained December within the months of Frimaire and Nivôse. (Full article...)

Selection number too high[edit]

Should roll round to March

{{Transclude selected excerpt|January|February|March|April|May|June|July|August|September|October|November|December |errors=1 |selected=123}}
Side by side comparison
{{Transclude selected excerpt}}{{Transclude selected excerpt/sandbox}}
March is the third month of the year in both the Julian and Gregorian calendars. Its length is 31 days. In the Northern Hemisphere, the meteorological beginning of spring occurs on the first day of March. The March equinox on the 20 or 21 marks the astronomical beginning of spring in the Northern Hemisphere and the beginning of autumn in the Southern Hemisphere, where September is the seasonal equivalent of the Northern Hemisphere's March. (Full article...) March is the third month of the year in both the Julian and Gregorian calendars. Its length is 31 days. In the Northern Hemisphere, the meteorological beginning of spring occurs on the first day of March. The March equinox on the 20 or 21 marks the astronomical beginning of spring in the Northern Hemisphere and the beginning of autumn in the Southern Hemisphere, where September is the seasonal equivalent of the Northern Hemisphere's March. (Full article...)

Selection by string[edit]

Expecting Canada

{{Transclude selected excerpt |AF=Afghanistan |AZ=Azerbaijan |BE=Belgium |CA=Canada |DE=Germany |errors=1 |selected=CA}}
Side by side comparison
{{Transclude selected excerpt}}{{Transclude selected excerpt/sandbox}}

Canada is a country in North America. Its ten provinces and three territories extend from the Atlantic Ocean to the Pacific Ocean and northward into the Arctic Ocean, making it the world's second-largest country by total area, with the world's longest coastline. Its border with the United States is the world's longest international land border. The country is characterized by a wide range of both meteorologic and geological regions. It is a sparsely inhabited country of 40 million people, the vast majority residing south of the 55th parallel in urban areas. Canada's capital is Ottawa and its three largest metropolitan areas are Toronto, Montreal, and Vancouver.

Indigenous peoples have continuously inhabited what is now Canada for thousands of years. Beginning in the 16th century, British and French expeditions explored and later settled along the Atlantic coast. As a consequence of various armed conflicts, France ceded nearly all of its colonies in North America in 1763. In 1867, with the union of three British North American colonies through Confederation, Canada was formed as a federal dominion of four provinces. This began an accretion of provinces and territories and a process of increasing autonomy from the United Kingdom, highlighted by the Statute of Westminster, 1931, and culminating in the Canada Act 1982, which severed the vestiges of legal dependence on the Parliament of the United Kingdom.

Canada is a parliamentary democracy and a constitutional monarchy in the Westminster tradition. The country's head of government is the prime minister, who holds office by virtue of their ability to command the confidence of the elected House of Commons and is "called upon" by the governor general, representing the monarch of Canada, the ceremonial head of state. The country is a Commonwealth realm and is officially bilingual (English and French) in the federal jurisdiction. It is very highly ranked in international measurements of government transparency, quality of life, economic competitiveness, innovation, education and gender equality. It is one of the world's most ethnically diverse and multicultural nations, the product of large-scale immigration. Canada's long and complex relationship with the United States has had a significant impact on its history, economy, and culture.

A developed country, Canada has a high nominal per capita income globally and its advanced economy ranks among the largest in the world, relying chiefly upon its abundant natural resources and well-developed international trade networks. Canada is recognized as a middle power for its role in international affairs, with a tendency to pursue multilateral and international solutions. Canada's peacekeeping role during the 20th century has had a significant influence on its global image. Canada is part of multiple international organizations and forums. (Full article...)

Canada is a country in North America. Its ten provinces and three territories extend from the Atlantic Ocean to the Pacific Ocean and northward into the Arctic Ocean, making it the world's second-largest country by total area, with the world's longest coastline. Its border with the United States is the world's longest international land border. The country is characterized by a wide range of both meteorologic and geological regions. It is a sparsely inhabited country of 40 million people, the vast majority residing south of the 55th parallel in urban areas. Canada's capital is Ottawa and its three largest metropolitan areas are Toronto, Montreal, and Vancouver.

Indigenous peoples have continuously inhabited what is now Canada for thousands of years. Beginning in the 16th century, British and French expeditions explored and later settled along the Atlantic coast. As a consequence of various armed conflicts, France ceded nearly all of its colonies in North America in 1763. In 1867, with the union of three British North American colonies through Confederation, Canada was formed as a federal dominion of four provinces. This began an accretion of provinces and territories and a process of increasing autonomy from the United Kingdom, highlighted by the Statute of Westminster, 1931, and culminating in the Canada Act 1982, which severed the vestiges of legal dependence on the Parliament of the United Kingdom.

Canada is a parliamentary democracy and a constitutional monarchy in the Westminster tradition. The country's head of government is the prime minister, who holds office by virtue of their ability to command the confidence of the elected House of Commons and is "called upon" by the governor general, representing the monarch of Canada, the ceremonial head of state. The country is a Commonwealth realm and is officially bilingual (English and French) in the federal jurisdiction. It is very highly ranked in international measurements of government transparency, quality of life, economic competitiveness, innovation, education and gender equality. It is one of the world's most ethnically diverse and multicultural nations, the product of large-scale immigration. Canada's long and complex relationship with the United States has had a significant impact on its history, economy, and culture.

A developed country, Canada has a high nominal per capita income globally and its advanced economy ranks among the largest in the world, relying chiefly upon its abundant natural resources and well-developed international trade networks. Canada is recognized as a middle power for its role in international affairs, with a tendency to pursue multilateral and international solutions. Canada's peacekeeping role during the 20th century has had a significant influence on its global image. Canada is part of multiple international organizations and forums. (Full article...)

Parameter "more"[edit]

no parameter |more=
Side by side comparison
{{Transclude selected excerpt}}{{Transclude selected excerpt/sandbox}}

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa. (Full article...)

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa. (Full article...)
|more= (an empty value)
Side by side comparison
{{Transclude selected excerpt}}{{Transclude selected excerpt/sandbox}}

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa. (Full article...)

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa. (Full article...)
|more=Foobar
Side by side comparison
{{Transclude selected excerpt}}{{Transclude selected excerpt/sandbox}}

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa. (Foobar)

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa. (Foobar)
|more=0
Side by side comparison
{{Transclude selected excerpt}}{{Transclude selected excerpt/sandbox}}

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa.

April is the fourth month of the year in the Gregorian and Julian calendars. Its length is 30 days.

April is commonly associated with the season of spring in the Northern Hemisphere, and autumn in the Southern Hemisphere, where it is the seasonal equivalent to October in the Northern Hemisphere and vice versa.

References[edit]

This section contains references and notes. It should be empty. If anything appears here then a template may need to be removed from the transcluded article.