Template:News

From PZwiki
Revision as of 13:12, 7 March 2024 by Vaileasys (talk | contribs) (change months to use int instead of "Template:Translation")
Lock-locked.png
This page has been put into protection by a PZwiki administrator.
Reason: "This template is used on the Project Zomboid Wiki of the wiki, therefore is considered to be High Risk."
[view] [edit] [history] [purge] Template documentation
This template is used on the main page of the wiki for displaying the news.

This template uses {{News/core}} for the styling.

Usage

For more information about editing the parameters within this template, see Template:News/core.

Game releases

Can display up to three different game releases. Differentiated with the index parameter [1 to 3].

{{News/core|type=release
	|index=
	|date=
	|text=
	|link=
}}

Blog posts

Can display up to six different blog news articles. Differentiated with the index parameter [1 to 6].

{{News/core|type=blog
	|index=
	|title=
	|date=
	|text=
	|link_blog= <!-- for non-blog post external links, use |link= -->
}}

Wiki news

Can display up to three different wiki news articles. Differentiated with the index parameter [1 to 3].

{{News/core|type=wiki
	|index=
	|month=
	|day=
	|year=
	|text=
}}

Examples

Releases

{{News|release}}
Displays:
December 12, 2022
Hotfix 41.78.16 [Read more]
December 5, 2022
Hotfix 41.78.15 [Read more]
November 30, 2022
Hotfix 41.78.13 [Read more]

Blogs

{{News|blog}}
Displays:

Leapdoid ⟩ February 29, 2024
Hey all, a good mix of things this ‘doid. Fun gameplay stuff, and a chunk of info we wanted to… [Read more]

COTD #17: Flowers, War, and Cupboard Ovens... ⟩ February 13, 2024
This time in Community of the Dead, we take a breather and relax among the flowers, head into battle on… [Read more]

MOD SPOTLIGHT: OVER THE RIVER ⟩ February 2, 2024
Hello there, apocalyptic explorers! This time we turn our mod spotlight on a mapper and modder called Woldren. Many… [Read more]


Wiki news

{{News|wiki}}
Displays:
March 3, 2024
Welcome again to the monthly summary! February is technically the shortest month in the year (less with the leap day this year), though with me writing the summary on each Sunday, I guess it's more dependent on the weeks' layout than the days alone. Anyway, this we got a lot to cover this month, so let's get into it!… [Read more]
February 4, 2024
Welcome everyone to the summary of the first whole month of 2024! Now that we're deep in 2024, I archived all the 2023 monthly summaries to the 2023 archive, and changed the header names so they refer more to what the news were about.… [Read more]
January 7, 2024
So here we are, beginning 2024 with the summary of the last month of 2023 and first week of 2024! Hopefully all of you had a great New Year and great holidays.… [Read more]

See also

Documentation transcluded from Template:News/doc.
Editors can experiment in this template's sandbox (create)