Template:News: Difference between revisions

From PZwiki
m (August 1, 2019)
(changed template to use News/core for simpler updating)
Line 1: Line 1:
<!-- NOTE: Due to height constraints on the main page, please limit the number of 'official' news to '6' and 'community' news to '3'
<includeonly>{{#ifeq: {{{1|}}} | announcement | {{News/core
| ann_date1 = {{Translation|October}} 30, 2018
| ann_text1 = [https://steamcommunity.com/games/108600/announcements/detail/1688180897636022685 ''Build 40: Weather''] has been released! <small>[[Build 40|[Changelog]]]</small>


}}}}{{#ifeq: {{{1|}}} | official | {{News/core
| off_date1 = {{Translation|August}} 1, 2019
| off_text1 = ''Clipdoid:'' Hello, here’s a latest compilation vid of recent PZ work! It shows the main stuff that’s gone in
| off_link1 = https://projectzomboid.com/blog/2019/08/clipdoid/


--><includeonly>{{#ifeq: {{{1|}}} | announcement | '''{{Translation|October}} 30, 2018'''
| off_date2 = {{Translation|July}} 25, 2019
:[https://steamcommunity.com/games/108600/announcements/detail/1688180897636022685 ''Build 40: Weather''] has been released! <small>[[Build 40|[Changelog]]]</small>
| off_text2 = ''Wrong way down a one way streeeet!:'' Hey all, it’s been a week of sweltering bug fixing in the internal anims build
}}{{#ifeq: {{{1|}}} | official | '''{{Translation|August}} 1, 2019'''
| off_link2 = https://projectzomboid.com/blog/2019/07/wrong-way-down-a-one-way-streeeet/
:''Clipdoid:'' Hello, here’s a latest compilation vid of recent PZ work! It shows the main stuff that’s gone in... <small>[<span class="plainlinks">[https://projectzomboid.com/blog/2019/08/clipdoid/ Read more]</span>]</small>


'''{{Translation|July}} 25, 2019'''
| off_date3 = {{Translation|July}} 18, 2019
:''Wrong way down a one way streeeet!:'' Hey all, it’s been a week of sweltering bug fixing in the internal anims build... <small>[<span class="plainlinks">[https://projectzomboid.com/blog/2019/07/wrong-way-down-a-one-way-streeeet/ Read more]</span>]</small>
| off_text3 = ''New Spiffdoid:'' Hi everyone, let’s go for a quick round-the-houses on what’s happening in some key areas of the Build 41
| off_link3 = https://projectzomboid.com/blog/2019/07/reloaded/


'''{{Translation|July}} 18, 2019'''
| off_date4 = {{Translation|July}} 11, 2019
:''New Spiffdoid:'' Hi everyone, let’s go for a quick round-the-houses on what’s happening in some key areas of the Build 41... <small>[<span class="plainlinks">[https://projectzomboid.com/blog/2019/07/reloaded/ Read more]</span>]</small>
| off_text4 = ''Reloaded:'' Hey survivors! As stated last week, we will probably be slowing down on the ‘new stuff to show’ on the run
| off_link4 = https://projectzomboid.com/blog/2019/07/reloaded/


'''{{Translation|July}} 11, 2019'''
| off_date5 = {{Translation|July}} 4, 2019
:''Reloaded:'' Hey survivors! As stated last week, we will probably be slowing down on the ‘new stuff to show’ on the run... <small>[<span class="plainlinks">[https://projectzomboid.com/blog/2019/07/reloaded/ Read more]</span>]</small>
| off_text5 = ''More Math(s):'' A very happy 4th of July to our survivors in the US! The grand plan was to have a slick new vid for you
| off_link5 = https://projectzomboid.com/blog/2019/07/more-maths/


'''{{Translation|July}} 4, 2019'''
| off_date6 = {{Translation|June}} 27, 2019
:''More Math(s):'' A very happy 4th of July to our survivors in the US! The grand plan was to have a slick new vid for you... <small>[<span class="plainlinks">[https://projectzomboid.com/blog/2019/07/more-maths/ Read more]</span>]</small>
| off_text6 = ''Mannequin vs. Zed:'' Ello ello. First thing first, the Steam Summer Sale is currently on – and it’ll likely be the last time
| off_link6 = https://projectzomboid.com/blog/2019/06/mannequin-vs-zed/


'''{{Translation|June}} 27, 2019'''
}}}}{{#ifeq: {{{1|}}} | community | {{News/core
:''Mannequin vs. Zed:'' Ello ello. First thing first, the Steam Summer Sale is currently on – and it’ll likely be the last time... <small>[<span class="plainlinks">[https://projectzomboid.com/blog/2019/06/mannequin-vs-zed/ Read more]</span>]</small>
| comm_date1 = {{Translation|May}} 16, 2019
}}{{#ifeq: {{{1|}}} | community | '''{{Translation|May}} 16, 2019'''
| comm_text1 = It’s been several months since the last update, however a lot of both minor and major updates have been made
:It’s been several months since the last update, however a lot of both minor and major updates have been made... <small>[[PZwiki:Community_News#May 2019|[Read more]]]</small>
| comm_link1 = PZwiki:Community_News#May 2019


'''{{Translation|November}} 28, 2018'''
| comm_date2 = {{Translation|November}} 28, 2018
:After a short hiatus, we're back with another update... <small>[[PZwiki:Community_News#November 2018|[Read more]]]</small>
| comm_text2 = After a short hiatus, we're back with another update
| comm_link2 = PZwiki:Community_News#November 2018


'''{{Translation|August}} 31, 2018'''
| comm_date3 = {{Translation|August}} 31, 2018
:Since the last update, we’ve had a lot of people, old and new, joining the wiki and contributing... <small>[[PZwiki:Community_News#August 2018|[Read more]]]</small>
| comm_text3 = Since the last update, we’ve had a lot of people, old and new, joining the wiki and contributing
}}</includeonly><noinclude><pre>{{News|announcement}}</pre>{{News|announcement}}
| comm_link3 = PZwiki:Community_News#August 2018
----
 
<pre>{{News|official}}</pre>
}}}}</includeonly><noinclude>{{Documentation}}[[Category:Templates]]</noinclude>
{{News|official}}
----
<pre>{{News|community}}</pre>
{{News|community}}[[Category:Templates]]</noinclude>

Revision as of 10:49, 4 August 2019

[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:

Blogs

{{News|blog}}
Displays:

Wiki news

{{News|wiki}}
Displays:


See also

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