Template:News/doc

From PZwiki
< Template:News
Revision as of 20:17, 19 May 2023 by Faalagorn (talk | contribs) (Add links)
Notebook.png
This is a documentation subpage for Template:News.
It contains usage information and other content that is not part of the original template page.

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=
}}

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

Announcement

{{News|announcement}}
Displays:

Official

{{News|official}}
Displays:

Community

{{News|community}}
Displays:


See also