Template:Transclude selected current events/doc

This templates transcludes current events on specified topics from the daily subpages of Portal:Current events. It is intended for use in the "In the news" sections of Portals.

Usage

{{Transclude selected current events | <search pattern 1> | ... | <search pattern n> | not1= | ... | notn= | days= | max= | none= | dates= | more= |header= |footer= }}
Basic
{{Transclude selected current events| search pattern }}
Multiple search patterns
{{Transclude selected current events| search pattern | second search pattern | third search pattern }}
Add as many search patterns as needed
With patterns to exclude items
{{Transclude selected current events| search pattern | not=search pattern to exclude from results }}
Add additional search patterns to exclude items from results using |not2=, |not3=, etc.
As a portal component which only displays when news items are found
{{Transclude selected current events| header= header template | footer= footer template | other parameters }}
As a suggestion generator, e.g. on the portal talk page
{{Transclude selected current events| wikitext=yes | other parameters }}

Parameters

|1=, |2=, |3= ...
Search patterns for items
|not1=, |not2=, |not3= ...
Search patterns for excluding items
|days=
Number of days to search through for current events (counting backwards from the current day); default is 30 (nb. you may find large numbers equal to several years won't work for technical reasons).
|max=
Maximum number of items to display; default is 6
|wikitext=
Set to yes to display the wikitext of the items, e.g. when using this template just to generate suggestions
|none=
Wikitext to display if no matching items are found; default is "No recent news"
|dates=
Set to mdy to use MDY-formatted dates (e.g. Aug 19, 2026 rather than 19 Aug 2026)
|more=
Wikitext to show at the bottom of the list; OR
Set to yes to show More current events... link at the bottom of the list
|header=
Wikitext to show above the items; typically {{Box-header}} or {{Box-header colour}} or similar (with appropriate parameters filled in)
If set, this template only displays output when items are found (overriding |more= if set)
|footer=
Wikitext to show below the items; defaults to {{Box-footer}}
Can only be used in conjunction with |header=

Search patterns

Search patterns are Lua patterns, which are similar to regular expressions. This means that ^$()%.[]*+-? characters have special meaning, such as . matching any character. To search for those characters themselves, they need to be escaped by prefixing a %

For piped links, both the target article name as well as the displayed text are searched for matches. External links are not searched for matches.

Light bulb iconB Tip: To make a letter in a search pattern case-insensitive, put both the upper-case and lowercase letter inside square-brackets, i.e. [Aa]pple will match both An apple is... and Apples are....

Examples

Europe

{{Transclude selected current events|Europe}}
15 August 2026 –
A 180-foot (55 m) the Our Lady of Mercy monument dedicated to the Virgin Mary and the tallest of its kind in Europe, is inaugurated in Konotopie, Poland. (NBC News) (Vatican News)
15 August 2026 – 2026 European Aquatics Championships
In swimming, Johannes Liebmann sets a men's 1,500-metre freestyle world record of 14:26.79 at the European Championships, improving Bobby Finke's 2024 Olympic record by nearly four seconds. (AFP via RFI)
13 August 2026 – 2026 European heatwaves
Romania begins shutting down the second reactor at the Cernavodă Nuclear Power Plant, the country's only nuclear power plant, after a drought lowered the Danube river below the level required for cooling, leaving both reactors offline. The government says alternative sources and imports will cover electricity demand. (AP)
12 August 2026 – Solar eclipse of August 12, 2026
A total solar eclipse occurs in Greenland, Iceland, and Spain, with partial eclipses visible over much of northern North America, Europe (except most of Ukraine, Greece, Bulgaria and Russia), northwestern Africa and northern Asian Russia. It is the first total eclipse observable in mainland Europe since August 1999. (Time and Date) (EclipseWise)
8 August 2026 – 2026 Morocco–Spain border incident, Italy–Spain relations
Spain imposes temporary border checks on travelers from Italy after Italy introduced similar controls on arrivals from Spain amid a dispute over migration policy following the mass arrival of migrants in Ceuta. (AP)
4 August 2026 – 2026 European heatwaves
Austria records 41 °C (106 °F) in Vienna, the highest temperature in the country's history, as a heat wave also brings wildfires and historically low Danube water levels. (Xinhua)

Europe (as portal component that is only displayed when there is news; limited to a maximum of 4 items)

{{Transclude selected current events|Europe|header={{Box-header color|In the news}}|max=4}}
In the news
15 August 2026 –
A 180-foot (55 m) the Our Lady of Mercy monument dedicated to the Virgin Mary and the tallest of its kind in Europe, is inaugurated in Konotopie, Poland. (NBC News) (Vatican News)
15 August 2026 – 2026 European Aquatics Championships
In swimming, Johannes Liebmann sets a men's 1,500-metre freestyle world record of 14:26.79 at the European Championships, improving Bobby Finke's 2024 Olympic record by nearly four seconds. (AFP via RFI)
13 August 2026 – 2026 European heatwaves
Romania begins shutting down the second reactor at the Cernavodă Nuclear Power Plant, the country's only nuclear power plant, after a drought lowered the Danube river below the level required for cooling, leaving both reactors offline. The government says alternative sources and imports will cover electricity demand. (AP)
12 August 2026 – Solar eclipse of August 12, 2026
A total solar eclipse occurs in Greenland, Iceland, and Spain, with partial eclipses visible over much of northern North America, Europe (except most of Ukraine, Greece, Bulgaria and Russia), northwestern Africa and northern Asian Russia. It is the first total eclipse observable in mainland Europe since August 1999. (Time and Date) (EclipseWise)

United Kingdom

Europe OR United Kingdom

Europe AND United Kingdom

United Kingdom AND NOT Australia

SomethingWithNoMatches

TemplateData

See also


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.