Template:KF2UpdatesNavBox: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; margin: 0 0 24px 24px; text-align: left; vertical-align: middle; width: 350...")
 
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; margin: 0 0 24px 24px; text-align: left; vertical-align: middle; width: 350px;"
<includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; margin: 0 0 16px 24px; padding: 0; text-align: left; vertical-align: middle; width: 350px;"
|- style="text-align: center;"
|- style="background: #ffffff; color: #252525; text-align: center;"
| colspan="4" style="padding: 6px 12px;" | <small>''[[Killing Floor 2|<span style="color: #a6a7a9;">Killing Floor 2</span>]] update''</small>
| colspan="4" style="padding: 0 0 2px;" | <small>''[[Killing Floor 2|<span style="color: #252525;">Killing Floor 2</span>]] update''</small>
|- style="background: #202224; border-top: #bd0000 solid 5px; color: #ffffff; text-align: center;"
|- style="background: #ffffff; color: #ffffff; text-align: center;"
| colspan="4" style="height: 30px; position: relative;" | '''Update {{{CurrentUpdate}}}'''
| colspan="4" 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;">'''Update {{{CurrentUpdate}}}'''</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>
|- {{#ifexpr: {{#if: {{{RelatedMajorUpdateImage|}}} | 0 | 1}} and ({{#if: {{{ReleaseDate|}}} | 1 | 0}} or {{#if: {{{PreviousUpdate|}}} | 1 | 0}} or {{#if: {{{NextUpdate|}}} | 1 | 0}}) || style="display: none;"}}
|- {{#if: {{{RelatedMajorUpdateImage|}}}{{{RelatedMajorUpdateImage_PS4|}}} | style="text-align: center;" | style="display: none;"}}
| colspan="4" style="height: 12px;" |
| colspan="4" style="padding: 0 12px 8px;" | [[File:{{#if:{{{RelatedMajorUpdateImage|}}}|{{{RelatedMajorUpdateImage}}}|{{{RelatedMajorUpdateImage_PS4}}}|}}|326px|link={{#if: {{{RelatedMajorUpdate|}}} | Updates (Killing Floor 2)#{{{RelatedMajorUpdate}}} | {{#if: {{{RelatedMajorUpdate_PS4|}}} | Updates (Killing Floor 2 PS4)#{{{RelatedMajorUpdate_PS4}}} |}}}}]]
|- {{#if: {{{RelatedMajorUpdateImage|}}} | style="text-align: center;" | style="display: none;"}}
|- {{#if: {{{ReleaseDate|}}} | style="height: 20px;" | style="display: none;"}}
| colspan="4" style="padding: 12px;" | [[File:{{{RelatedMajorUpdateImage}}}|326px|link={{#if: {{{RelatedMajorUpdate|}}} | Updates (Killing Floor 2)#{{{RelatedMajorUpdate}}} |}}]]
| colspan="2" style="padding: 0 0 0 12px;" | '''Release Date'''
|- {{#if: {{{ReleaseDate|}}} | style="height: 20px" | style="display: none;"}}
| colspan="2" style="padding: 0 12px 0 0; text-align: right;" | {{{ReleaseDate}}}
| colspan="2" style="padding-left: 12px;" | '''Release Date'''
|- {{#if: {{{ReleaseDate|}}} || style="display: none;"}}
| colspan="2" style="padding-right: 12px; text-align: right;" | {{{ReleaseDate}}}
| colspan="4" style="height: 8px;" |
|- {{#ifexpr: ({{#if: {{{ReleaseDate|}}} | 1 | 0}}) and ({{#if: {{{PreviousUpdate|}}} | 1 | 0}} or {{#if: {{{NextUpdate|}}} | 1 | 0}}) || style="display: none;"}}
|- {{#if: {{{FirstUpdate|}}}{{{PreviousUpdate|}}}{{{NextUpdate|}}}{{{NextMajorUpdate|}}}{{{FirstUpdate_PS4|}}}{{{PreviousUpdate_PS4|}}}{{{NextUpdate_PS4|}}}{{{NextMajorUpdate_PS4|}}} | style="height: 20px" | style="display: none;"}}
| colspan="4" style="height: 6px;" |  
| style="padding: 0 0 0 12px; text-align: center; width: 25%;" | {{#if: {{{FirstUpdate|}}} | [[Update {{{FirstUpdate}}} (Killing Floor 2)|<span style="color: #a6a7a9;"><span style="margin-right:-0.35em">&#9668;</span>&#9668; {{{FirstUpdate}}}</span>]] | {{#if: {{{FirstUpdate_PS4|}}} | [[Update {{{FirstUpdate_PS4}}} (Killing Floor 2 PS4)|<span style="color: #a6a7a9;"><span style="margin-right:-0.35em">&#9668;</span>&#9668; {{{FirstUpdate_PS4}}}</span>]] |}}}}
|- style="height: 20px"
| style="padding: 0; text-align: center; width: 25%;" | {{#if: {{{PreviousUpdate|}}} | [[Update {{{PreviousUpdate}}} (Killing Floor 2)|<span style="color: #a6a7a9;">&#9668; {{{PreviousUpdate}}}</span>]] | {{#if: {{{PreviousUpdate_PS4|}}} | [[Update {{{PreviousUpdate_PS4}}} (Killing Floor 2 PS4)|<span style="color: #a6a7a9;">&#9668; {{{PreviousUpdate_PS4}}}</span>]] |}}}}
| style="padding-left: 12px; text-align: center; width: 25%;" | {{#if: {{{FirstUpdate|}}} | [[Update {{{FirstUpdate}}} (Killing Floor 2)|<span style="color: #a6a7a9;"><span style="margin-right:-0.35em">&#9668;</span>&#9668; {{{FirstUpdate}}}</span>]] |}}
| style="padding: 0; text-align: center; width: 25%;" | {{#if: {{{NextUpdate|}}} | [[Update {{{NextUpdate}}} (Killing Floor 2)|<span style="color: #a6a7a9;">{{{NextUpdate}}} &#9658;</span>]] | {{#if: {{{NextUpdate_PS4|}}} | [[Update {{{NextUpdate_PS4}}} (Killing Floor 2 PS4)|<span style="color: #a6a7a9;">{{{NextUpdate_PS4}}} &#9658;</span>]] |}}}}
| style="text-align: center; width: 25%;" | {{#if: {{{PreviousUpdate|}}} | [[Update {{{PreviousUpdate}}} (Killing Floor 2)|<span style="color: #a6a7a9;">&#9668; {{{PreviousUpdate}}}</span>]] |}}
| style="padding: 0 12px 0 0; text-align: center; width: 25%;" | {{#if: {{{NextMajorUpdate|}}} | [[Update {{{NextMajorUpdate}}} (Killing Floor 2)|<span style="color: #a6a7a9;">{{{NextMajorUpdate}}} <span style="margin-right:-0.35em">&#9658;</span>&#9658;</span>]] | {{#if: {{{NextMajorUpdate_PS4|}}} | [[Update {{{NextMajorUpdate_PS4}}} (Killing Floor 2 PS4)|<span style="color: #a6a7a9;">{{{NextMajorUpdate_PS4}}} <span style="margin-right:-0.35em">&#9658;</span>&#9658;</span>]] |}}}}
| style="text-align: center; width: 25%;" | {{#if: {{{NextUpdate|}}} | [[Update {{{NextUpdate}}} (Killing Floor 2)|<span style="color: #a6a7a9;">{{{NextUpdate}}} &#9658;</span>]] |}}
|- {{#if: {{{FirstUpdate|}}}{{{PreviousUpdate|}}}{{{NextUpdate|}}}{{{NextMajorUpdate|}}}{{{FirstUpdate_PS4|}}}{{{PreviousUpdate_PS4|}}}{{{NextUpdate_PS4|}}}{{{NextMajorUpdate_PS4|}}} || style="display: none;"}}
| style="padding-right: 12px; text-align: center; width: 25%;" | {{#if: {{{NextMajorUpdate|}}} | [[Update {{{NextMajorUpdate}}} (Killing Floor 2)|<span style="color: #a6a7a9;">{{{NextMajorUpdate}}} <span style="margin-right:-0.35em">&#9658;</span>&#9658;</span>]] |}}
| colspan="4" style="padding: 0; height: 8px;" |
|- {{#ifexpr: {{#if: {{{ReleaseDate|}}} | 1 | 0}} or {{#if: {{{PreviousUpdate|}}} | 1 | 0}} or {{#if: {{{NextUpdate|}}} | 1 | 0}} || style="display: none;"}}
|- style="background: #ffffff;"
| colspan="4" style="height: 12px;" |  
| colspan="4" style="padding: 0; height: 8px;" | <div style="background: linear-gradient(45deg, #ffffff 5px, #000000 0, #000000 60%, transparent 60%) bottom left, linear-gradient(315deg, #ffffff 5px, #000000 0, #000000 60%, transparent 60%) bottom right; height: 8px; position: relative; top: -8px; width: 350px;"></div>
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
{{KF2UpdatesNavBox
{{KF2UpdatesNavBox
| CurrentUpdate=1003
| CurrentUpdate=1004
|
| RelatedMajorUpdateImage=KF2_Update_EarlyAccessContentPatch01.png
| RelatedMajorUpdateImage=KF2_Update_EarlyAccessContentPatch01.png
| RelatedMajorUpdate=Early Access Content Patch 01
| RelatedMajorUpdate=Early Access Content Patch 01
| ReleaseDate=April 15, 2015
|
| FirstUpdate=
| ReleaseDate=April 17, 2015
| PreviousUpdate=1002
|
| NextUpdate=1004
| FirstUpdate=1002
| NextMajorUpdate=1006
| PreviousUpdate=1003
| NextUpdate=1006
| NextMajorUpdate=1009
}}
}}


Line 43: Line 46:
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| CurrentUpdate=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| CurrentUpdate=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Number of this update
| style="vertical-align: top;" | Number of this update
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''1003''
| style="vertical-align: top;" | ''1004''
|-
| colspan="6" |
----
|-
| colspan="6" style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>|</nowiki>
|-
|-
| colspan="6" |  
| colspan="6" |  
Line 53: Line 61:
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| RelatedMajorUpdateImage=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| RelatedMajorUpdateImage=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Name of the image of the corresponding major update
| style="vertical-align: top;" | Name of the image of the corresponding major update
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
Line 63: Line 71:
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| RelatedMajorUpdate=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| RelatedMajorUpdate=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Name of the corresponding major update
| style="vertical-align: top;" | Name of the corresponding major update
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Early Access Content Patch 01''
| style="vertical-align: top;" | ''Early Access Content Patch 01''
|-
| colspan="6" |
----
|-
| colspan="6" style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>|</nowiki>
|-
|-
| colspan="6" |  
| colspan="6" |  
Line 73: Line 86:
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| ReleaseDate=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| ReleaseDate=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Date on which the update was released<br />Syntax: Month Day, Year
| style="vertical-align: top;" | Date on which the update was released<br />Syntax: Month Day, Year
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''April 15, 2015''
| style="vertical-align: top;" | ''April 17, 2015''
|-
| colspan="6" |
----
|-
| colspan="6" style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>|</nowiki>
|-
|-
| colspan="6" |  
| colspan="6" |  
Line 83: Line 101:
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| FirstUpdate=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| FirstUpdate=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Number of the first update of the major update this update is related to<br />If this is the first update ot the corresponding major update then insert the number of the first update of the previous major update
| style="vertical-align: top;" | Number of the first update of the major update this update is related to<br />If this is the first update of the corresponding major update then insert the number of the first update of the previous major update
 
''PC only''
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''1002''
| style="vertical-align: top;" | ''1.02''
|-
|-
| colspan="6" |  
| colspan="6" |  
Line 93: Line 113:
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| PreviousUpdate=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| PreviousUpdate=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Number of the previous update<br />If there is no previous update within the corresponding major update then insert the number of the last update of the previous major update<br />If the last update of the previous major update is the same as its first update then leave this one empty
| style="vertical-align: top;" | Number of the previous update<br />If there is no previous update within the corresponding major update then insert the number of the last update of the previous major update<br />If the last update of the previous major update is the same as its first update then leave this one empty
 
''PC only''
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''1002''
| style="vertical-align: top;" | ''1.03''
|-
|-
| colspan="6" |  
| colspan="6" |  
Line 103: Line 125:
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| NextUpdate=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| NextUpdate=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Number of the next update<br />If there is no next update within the corresponding major update then leave this one empty
| style="vertical-align: top;" | Number of the next update<br />If there is no next update within the corresponding major update then leave this one empty
 
''PC only''
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''1004''
| style="vertical-align: top;" | ''1.04''
|-
|-
| colspan="6" |  
| colspan="6" |  
Line 113: Line 137:
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| NextMajorUpdate=</nowiki>
| style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>| NextMajorUpdate=</nowiki>
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top; width: 300px;" | Number of the first update of the next major update<br />If there is no next major update at this point then leave this one empty
| style="vertical-align: top;" | Number of the first update of the next major update<br />If there is no next major update at this point then leave this one empty
 
''PC only''
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | &emsp;
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''Example: ''
| style="vertical-align: top;" | ''1006''
| style="vertical-align: top;" | ''1.05''
|-
| colspan="6" |
----
|-
|-
| colspan="6" style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>}}</nowiki>
| colspan="6" style="font-family: monospace, Courier; vertical-align: top; white-space: nowrap;" | <nowiki>}}</nowiki>
|}
|}
''Every entry is the same in the PS4-only template as in the PC-only template.<br />You need to use the right template so that the links to the pages are correct.''


== Template ==
== Template ==
Copy this template for quick usage.
Copy these templates for quick usage.
 
''PC only''
<pre>{{KF2UpdatesNavBox
<pre>{{KF2UpdatesNavBox
| CurrentUpdate=
| CurrentUpdate=
|
| RelatedMajorUpdateImage=
| RelatedMajorUpdateImage=
| RelatedMajorUpdate=
| RelatedMajorUpdate=
|
| ReleaseDate=
| ReleaseDate=
|
| FirstUpdate=
| FirstUpdate=
| PreviousUpdate=
| PreviousUpdate=
| NextUpdate=
| NextUpdate=
| NextMajorUpdate=
| NextMajorUpdate=
}}</pre>
''PS4 only''
<pre>{{KF2UpdatesNavBox
| CurrentUpdate=
|
| RelatedMajorUpdateImage_PS4=
| RelatedMajorUpdate_PS4=
|
| ReleaseDate=
|
| FirstUpdate_PS4=
| PreviousUpdate_PS4=
| NextUpdate_PS4=
| NextMajorUpdate_PS4=
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Latest revision as of 19:34, 30 January 2017


Killing Floor 2 update
Update 1004
Release Date April 17, 2015
◄ 1002 ◄ 1003 1006 ► 1009


Syntax

Parameters

{{KF2UpdatesNavBox

| CurrentUpdate= Number of this update Example: 1004

|

| RelatedMajorUpdateImage= Name of the image of the corresponding major update Example: KF2_Update_EarlyAccessContentPatch01.png

| RelatedMajorUpdate= Name of the corresponding major update Example: Early Access Content Patch 01

|

| ReleaseDate= Date on which the update was released
Syntax: Month Day, Year
Example: April 17, 2015

|

| FirstUpdate= Number of the first update of the major update this update is related to
If this is the first update of the corresponding major update then insert the number of the first update of the previous major update

PC only

Example: 1.02

| PreviousUpdate= Number of the previous update
If there is no previous update within the corresponding major update then insert the number of the last update of the previous major update
If the last update of the previous major update is the same as its first update then leave this one empty

PC only

Example: 1.03

| NextUpdate= Number of the next update
If there is no next update within the corresponding major update then leave this one empty

PC only

Example: 1.04

| NextMajorUpdate= Number of the first update of the next major update
If there is no next major update at this point then leave this one empty

PC only

Example: 1.05

}}

Every entry is the same in the PS4-only template as in the PC-only template.
You need to use the right template so that the links to the pages are correct.

Template

Copy these templates for quick usage.

PC only

{{KF2UpdatesNavBox
| CurrentUpdate=
|
| RelatedMajorUpdateImage=
| RelatedMajorUpdate=
|
| ReleaseDate=
|
| FirstUpdate=
| PreviousUpdate=
| NextUpdate=
| NextMajorUpdate=
}}


PS4 only

{{KF2UpdatesNavBox
| CurrentUpdate=
|
| RelatedMajorUpdateImage_PS4=
| RelatedMajorUpdate_PS4=
|
| ReleaseDate=
|
| FirstUpdate_PS4=
| PreviousUpdate_PS4=
| NextUpdate_PS4=
| NextMajorUpdate_PS4=
}}