Template:News: Difference between revisions

From PZwiki
m (added date string to link_blog --link directly to correct page, rather than relying on redirect)
m (Add news)
Line 25: Line 25:
-->{{#ifeq: {{{1|}}} | blog | {{News/core|type=blog
-->{{#ifeq: {{{1|}}} | blog | {{News/core|type=blog
|index=1
|index=1
|title=MOD SPOTLIGHT: MRDANNY'S VEHICLES
|date={{Translation|July}} 10, 2023
|text=Nice to see you looking so well, survivors! This time, we look at the vehicle mods of MrDanny, a…
|link_blog=2023/07/mod-spotlight-mrdannys-vehicles
}}{{News/core|type=blog
|index=2
|title=Knox Event: 30 Years On
|title=Knox Event: 30 Years On
|date={{Translation|July}} 6, 2023
|date={{Translation|July}} 6, 2023
Line 30: Line 36:
|link_blog=2023/07/knox-event-30-years-on
|link_blog=2023/07/knox-event-30-years-on
}}{{News/core|type=blog
}}{{News/core|type=blog
|index=2
|index=3
|title=COTD #12: Butter Man, Big Fish, and Fluffy Spiffos...
|title=COTD #12: Butter Man, Big Fish, and Fluffy Spiffos...
|date={{Translation|June}} 28, 2023
|date={{Translation|June}} 28, 2023
|text=This time in Community of the Dead, we explore the strange tale of Butter Man, marvel at some big fish,…
|text=This time in Community of the Dead, we explore the strange tale of Butter Man, marvel at some big fish,…
|link_blog=2023/06/cotd-12-butter-man-big-fish-and-fluffy-spiffos
|link_blog=2023/06/cotd-12-butter-man-big-fish-and-fluffy-spiffos
}}{{News/core|type=blog
|index=3
|title=Snack Attack
|date={{Translation|June}} 22, 2023
|text=Haylo, here’s another dev-log sent down from the mothership. Few different things form different areas this time around, starting off…
|link_blog=2023/06/snack-attack
}}
}}
}}<!--
}}<!--

Revision as of 19:14, 10 July 2023

Lock-locked.png
This page has been put into protection by a PZwiki administrator.
[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:

MOD SPOTLIGHT: MRDANNY'S VEHICLES ⟩ July 10, 2023
Nice to see you looking so well, survivors! This time, we look at the vehicle mods of MrDanny, a… [Read more]

Knox Event: 30 Years On ⟩ July 6, 2023
Today marks a day in history. It is EXACTLY thirty years since the Knox Event broke out on 6th July… [Read more]

COTD #12: Butter Man, Big Fish, and Fluffy Spiffos... ⟩ June 28, 2023
This time in Community of the Dead, we explore the strange tale of Butter Man, marvel at some big fish,… [Read more]


Wiki news

{{News|wiki}}
Displays:
June 25, 2023
Welcome back to the sunny (at least around here) month of June. While it's hot outside where I live and sometimes hard to focus, a lot has been done in the wiki in June. Let's get to summarizing it!… [Read more]
May 28, 2023
Hello again! To brighten up PZwiki a little, after a brief discussion on the Discord, I decided to update this section each month… [Read more]
February 26, 2023
This section was always a tad neglected, but after a few years of radio silence, it's time for some refresh!… [Read more]

See also

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