Template:KF2EventInfo: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
mNo edit summary
(Added support for weekly outbreaks (to-do: seasonal objectives and updates parameters))
Line 1: Line 1:
<includeonly>{|style="background: #000000; border-collapse: collapse; clear: right; color: #a6a7a9; float: right; margin: 0 0 16px 24px; padding: 0; text-align: left; vertical-align: middle; width: 350px;"
<includeonly>{|style="background: #000000; border-collapse: collapse; clear: right; color: #a6a7a9; float: right; margin: 0 0 16px 24px; padding: 0; text-align: left; vertical-align: middle; width: 350px;"
|- style="background: #ffffff; color: #252525; text-align: center;"
|- style="background: #ffffff; color: #252525; text-align: center;"
| colspan="8" style="padding: 0 0 2px;" | <small>''[[Killing Floor 2|<span style="color: #252525;">Killing Floor 2</span>]] event''</small>
| colspan="8" style="padding: 0 0 2px;" | <small>''[[Killing Floor 2|<span style="color: #252525;">Killing Floor 2</span>]] {{#ifeq: {{lc:{{{Weekly|}}}}}|true|horzine weekly outbreak|event}}''</small>
|- style="background: #ffffff; color: #ffffff; text-align: center;"
|- style="background: #ffffff; color: #ffffff; text-align: center;"
| colspan="8" style="padding: 0; background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top right; vertical-align: top; position: relative; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 350px;"><div style="display: table-cell; vertical-align: middle;">'''{{{EventName}}}'''</div></div><div style="background: linear-gradient(135deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
| colspan="8" style="padding: 0; background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top right; vertical-align: top; position: relative; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 350px;"><div style="display: table-cell; vertical-align: middle;">'''{{{EventName}}}'''</div></div><div style="background: linear-gradient(135deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
|- {{#ifeq: {{lc:{{{Weekly|}}}}}|true|{{#if: {{{WeeklyDescription|}}}|style="height: 20px; text-align: center;"|style="display: none;"}}|style="display: none;"}}
| colspan="8" style="padding: 0 12px 8px;" | {{{WeeklyDescription}}}
|- style="text-align: center;"
|- style="text-align: center;"
| colspan="8" style="padding: 0 12px 8px;" | [[File:{{{EventImage}}}|326px]]
| colspan="8" style="padding: 0 12px 8px;" | [[File:{{{EventImage}}}|326x163px]]
|- {{#if: {{{StartDate|}}} | style="height: 20px" | style="display: none;"}}
|- {{#ifeq: {{lc:{{{Weekly|}}}}}|true|{{#if: {{{ModifierDescription|}}}|style="height: 20px;"|style="display: none;"}}|style="display: none;"}}
| colspan="8" style="padding: 0 12px 8px;" | {{{ModifierDescription}}}
|- {{#if: {{{StartDate|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="4" style="padding: 0 0 0 12px;" | '''Start Date'''
| colspan="4" style="padding: 0 0 0 12px;" | '''Start Date'''
| colspan="4" style="padding: 0 12px 0 0; text-align: right;" | {{{StartDate}}}
| colspan="4" style="padding: 0 12px 0 0; text-align: right;" | {{{StartDate}}}
|- {{#if: {{{EndDate|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{EndDate|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="4" style="padding: 0 0 0 12px;" | '''End Date'''
| colspan="4" style="padding: 0 0 0 12px;" | '''End Date'''
| colspan="4" style="padding: 0 12px 0 0; text-align: right;" | {{{StartDate}}}
| colspan="4" style="padding: 0 12px 0 0; text-align: right;" | {{{EndDate}}}
|- {{#if: {{{StartDate|}}}{{{EndDate|}}} | style="height: 8px;" | style="display: none;"}}
|- {{#if: {{{StartDate|}}}{{{EndDate|}}} | style="height: 8px;" | style="display: none;"}}
| colspan="8" style="padding: 0; height: 8px;" |  
| colspan="8" style="padding: 0; height: 8px;" |  
Line 18: Line 22:
| colspan="6" style="background: #202224; box-shadow: -7px 0 0 #000000 inset, -8px 0 0 #ffffff inset, 0 1px 0 #ffffff inset, 0 -1px 0 #ffffff inset; padding: 5px 12px 5px 6px;" | [{{{TrailerLink}}} <span style="color: #a6a7a9;">'''{{{TrailerName}}}'''</span>]
| colspan="6" style="background: #202224; box-shadow: -7px 0 0 #000000 inset, -8px 0 0 #ffffff inset, 0 1px 0 #ffffff inset, 0 -1px 0 #ffffff inset; padding: 5px 12px 5px 6px;" | [{{{TrailerLink}}} <span style="color: #a6a7a9;">'''{{{TrailerName}}}'''</span>]
|- {{#if: {{{TrailerName|}}} | style="height: 8px;" | style="display: none;"}}
|- {{#if: {{{TrailerName|}}} | style="height: 8px;" | style="display: none;"}}
| colspan="8" style="padding: 0; height: 8px;" |
|- {{#if: {{{RewardName|}}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}}
| colspan="8" style="padding: 0; background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 5px, #bd0000 0, #bd0000 60%, transparent 60%) top right; vertical-align: top; position: relative; height: 43px; width: 100%;" | <div style="background: linear-gradient(135deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #202224 0, #202224 60%, transparent 60%) top right; display: table; padding: 0; position: relative; left: 0; top: 5px; height: 30px; width: 100%;"><div style="display: table-cell; vertical-align: middle;">'''{{#ifeq: {{lc:{{{Weekly|}}}}}|true|Outbreak&nbsp;|}}Completion Reward'''</div></div><div style="background: linear-gradient(135deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 6px, #000000 0, #000000 60%, transparent 60%) top right; height: 8px; left: 0; position: absolute; top: 35px; width: 100%;"></div>
|- {{#if: {{{RewardName|}}} || style="display: none;"}}
| colspan="1" style="padding: 4px 6px 4px 12px; width: 48px;" | [[File:{{{RewardImage}}}|48px|link={{{RewardLink}}}]]
| colspan="7" style="padding: 0 12px 0 6px;" | [[{{{RewardLink}}}|<span style="color: #a6a7a9;">'''{{{RewardName}}}'''</span>]]
|- {{#if: {{{RewardName|}}} | style="height: 8px;" | style="display: none;"}}
| colspan="8" style="padding: 0; height: 8px;" |  
| colspan="8" style="padding: 0; height: 8px;" |  
|- {{#if: {{{Achievements|}}}{{{Achievements_PS4|}}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}}
|- {{#if: {{{Achievements|}}}{{{Achievements_PS4|}}} | style="background: #000000; color: #ffffff; text-align: center;" | style="display: none;"}}
Line 37: Line 48:
{{KF2EventInfo
{{KF2EventInfo
| EventName=Summer Sideshow
| EventName=Summer Sideshow
| EventImage=KF2_Update_SummerSideshow2017.jpg
| EventImage=KF2_Event_SummerSideshow2017.png
|
|
| StartDate=June 13, 2017
| StartDate=June 13, 2017
Line 52: Line 63:
   {{KF2VariousInfo_Achievement|191|Where Nightmares Come True}}
   {{KF2VariousInfo_Achievement|191|Where Nightmares Come True}}
   {{KF2VariousInfo_Achievement|192|The Wonderful World of Merchandising}}
   {{KF2VariousInfo_Achievement|192|The Wonderful World of Merchandising}}
}}
{{KF2EventInfo
| EventName=Bobble Zed
| EventImage=KF2_Event_Weekly_BobbleZed.png
|
|
| Achievements_PS4=
| Weekly=true
  {{KF2VariousInfo_Achievement|PS4=true|0|Platinum|Platinum}}
| WeeklyDescription=...that must hurt their necks.
| ModifierDescription=Something went horribly wrong with this batch of Zeds and their heads are wwwaaaayyyyyyy larger than normal! Huge even!
|
| StartDate=July 4, 2017
| EndDate=July 11, 2017
|
| TrailerName=Killing Floor 2 Weekly Outbreak - Bobble Zed
| TrailerThumbnail=KF2_Event_Weekly_BobbleZed_Thumbnail.jpg
| TrailerLink=https://youtu.be/J9TBVJfdjyk
|
| RewardName=Weekly &#124; Horzine Helmet &#124; Precious
| RewardImage=KF2_Cosmetic_Weekly_HorzineHelmet_Precious.png
| RewardLink=Cosmetics (Killing Floor 2)#Weekly Horzine Helmet Precious
}}
}}


Line 60: Line 87:
=== Parameters ===
=== Parameters ===
{| style="background-color: #F9F9F9; border: #DDD solid 1px; padding: 1em;"
{| style="background-color: #F9F9F9; border: #DDD solid 1px; padding: 1em;"
| colspan="8" style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>{{KF2UpdateInfo</nowiki>
| colspan="6" style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>{{KF2UpdateInfo</nowiki>
|-
| colspan="6" |
----
|-
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| Weekly=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | Name of the image of the corresponding event
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''true''
|-
| colspan="6" |
----
|-
| colspan="6" style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>|</nowiki>
|-
|-
| colspan="6" |  
| colspan="6" |  
Line 168: Line 210:


== Template ==
== Template ==
Copy these templates for quick usage.
Copy this template for quick usage.


<pre>
<pre>
{{KF2EventInfo
{{KF2EventInfo
| Weekly=
|
| EventName=
| EventName=
| EventImage=
| EventImage=

Revision as of 08:38, 6 July 2017


Killing Floor 2 event
Summer Sideshow
{{{WeeklyDescription}}}
{{{ModifierDescription}}}
Start Date June 13, 2017
End Date
Killing Floor 2 - Summer Sideshow 2017 Trailer
Completion Reward
[[File:{{{RewardImage}}}|48px|link={{{RewardLink}}}]] [[{{{RewardLink}}}|{{{RewardName}}}]]
Related Achievements
PS4 Trophies
Killing Floor 2 horzine weekly outbreak
Bobble Zed
...that must hurt their necks.
Something went horribly wrong with this batch of Zeds and their heads are wwwaaaayyyyyyy larger than normal! Huge even!
Start Date July 4, 2017
End Date July 11, 2017
Killing Floor 2 Weekly Outbreak - Bobble Zed
Outbreak Completion Reward
Weekly | Horzine Helmet | Precious
Related Achievements
PS4 Trophies


Syntax

Parameters

{{KF2UpdateInfo

| Weekly= Name of the image of the corresponding event Example: true

|

| EventName= Name of the event Example: Summer Sideshow

| EventImage= Name of the image of the corresponding event Example: KF2_Update_SummerSideshow2017.png

|

| StartDate= Date on which the event started
Syntax: Month Day, Year
Example: June 13, 2017

| EndDate= Date on which the event ended
Syntax: Month Day, Year
Example: July 11, 2017

|

| TrailerName= Title of the YouTube-Trailer of this major update Example: Killing Floor 2: Incinerate 'N Detonate Release Trailer

| TrailerThumbnail= Name of the thumbnail of the corresponding update-trailer Example: KF2_Update_IncinerateNDetonateUpdate_Thumbnail.jpg

| TrailerName= Link to the YouTube-Trailer of this major update Example: https://youtu.be/XOKbmgE-_o0

|

| Achievements=
  {{KF2VariousInfo_Achievement|1|2}}
Related Achievement entrys

1 - Achievement Number
According to steamdb.info

2 - Achievement Title

Example: {{KF2VariousInfo_Achievement|192|The Wonderful World of Merchandising}}

}}

Template

Copy this template for quick usage.

{{KF2EventInfo
| Weekly=
|
| EventName=
| EventImage=
|
| StartDate=
| EndDate=
|
| TrailerName=
| TrailerThumbnail=
| TrailerLink=
|
| Achievements=
  {{KF2VariousInfo_Achievement|1|2}}
|
| Achievements_PS4=
  {{KF2VariousInfo_Achievement|PS4=true|1|2|3}}
}}