Template:KF2UpdatesNavBox: Difference between revisions
Jump to navigation
Jump to search
(Changed width of the Parameters-table) |
(Changed design to match the newest UI changes) |
||
Line 1: | Line 1: | ||
<includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; margin: 0 0 | <includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; margin: 0 0 18px 24px; text-align: left; vertical-align: middle; width: 350px;" | ||
|- style="text-align: center;" | |- style="background: #ffffff; color: #000000; text-align: center;" | ||
| colspan="4" style="padding: | | colspan="4" style="padding: 0 0 2px;" | <small>''[[Killing Floor 2]] update''</small> | ||
|- style="background: # | |- style="background: #ffffff; color: #ffffff; text-align: center;" | ||
| colspan="4" style="height: 30px; position: relative;" | | colspan="4" style="padding: 0;" | <div style="background: linear-gradient(transparent 50%, #202224 50%), linear-gradient(135deg, transparent 4px, #bd0000 0, #bd0000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 4px, #bd0000 0, #bd0000 60%, transparent 60%) top right; height: 41px; position: relative; width: 350px;"><div style="background: linear-gradient(135deg, transparent 4px, #202224 0, #202224 60%, transparent 60%) top left, linear-gradient(225deg, transparent 4px, #202224 0, #202224 60%, transparent 60%) top right; display: table-cell; height: 30px; left: 0; position: relative; top: 5px; vertical-align: middle; width: 350px;">'''Update {{{CurrentUpdate}}}'''</div><div style="background: linear-gradient(135deg, transparent 4px, #000000 0, #000000 60%, transparent 60%) top left, linear-gradient(225deg, transparent 4px, #000000 0, #000000 60%, transparent 60%) top right; height: 6px; left: 0; position: absolute; top: 35px; width: 350px"></div></div> | ||
|- {{#ifexpr: {{#if: {{{RelatedMajorUpdateImage|}}} | 0 | 1}} and ({{#if: {{{ReleaseDate|}}} | 1 | 0}} or {{#if: {{{PreviousUpdate|}}} | 1 | 0}} or {{#if: {{{NextUpdate|}}} | 1 | 0}}) || style="display: none;"}} | |- {{#ifexpr: {{#if: {{{RelatedMajorUpdateImage|}}} | 0 | 1}} and ({{#if: {{{ReleaseDate|}}} | 1 | 0}} or {{#if: {{{PreviousUpdate|}}} | 1 | 0}} or {{#if: {{{NextUpdate|}}} | 1 | 0}}) || style="display: none;"}} | ||
| colspan="4" style="height: | | colspan="4" style="height: 6px;" | | ||
|- {{#if: {{{RelatedMajorUpdateImage|}}} | style="text-align: center;" | style="display: none;"}} | |- {{#if: {{{RelatedMajorUpdateImage|}}} | style="text-align: center;" | style="display: none;"}} | ||
| colspan="4" style="padding: 12px;" | [[File:{{{RelatedMajorUpdateImage}}}|326px|link={{#if: {{{RelatedMajorUpdate|}}} | Updates (Killing Floor 2)#{{{RelatedMajorUpdate}}} |}}]] | | colspan="4" style="padding: 12px;" | [[File:{{{RelatedMajorUpdateImage}}}|326px|link={{#if: {{{RelatedMajorUpdate|}}} | Updates (Killing Floor 2)#{{{RelatedMajorUpdate}}} |}}]] | ||
Line 19: | Line 19: | ||
| 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">►</span>►</span>]] |}} | | 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">►</span>►</span>]] |}} | ||
|- {{#ifexpr: {{#if: {{{ReleaseDate|}}} | 1 | 0}} or {{#if: {{{PreviousUpdate|}}} | 1 | 0}} or {{#if: {{{NextUpdate|}}} | 1 | 0}} || style="display: none;"}} | |- {{#ifexpr: {{#if: {{{ReleaseDate|}}} | 1 | 0}} or {{#if: {{{PreviousUpdate|}}} | 1 | 0}} or {{#if: {{{NextUpdate|}}} | 1 | 0}} || style="display: none;"}} | ||
| colspan="4" style="height: | | colspan="4" style="height: 6px;" | | ||
|- style="background: #ffffff; color: #ffffff; text-align: center;" | |||
| colspan="4" style="height: 6px; padding: 0;" | <div style="background: linear-gradient(45deg, #ffffff 4px, #000000 0, #000000 60%, transparent 60%) bottom left, linear-gradient(315deg, #ffffff 4px, #000000 0, #000000 60%, transparent 60%) bottom right; height: 6px; position: relative; top: -6px; width: 350px;"></div> | |||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude> | ||
{{KF2UpdatesNavBox | {{KF2UpdatesNavBox | ||
| CurrentUpdate= | | 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 | | ReleaseDate=April 17, 2015 | ||
| FirstUpdate= | | FirstUpdate=1002 | ||
| PreviousUpdate= | | PreviousUpdate=1003 | ||
| NextUpdate= | | NextUpdate=1005 | ||
| NextMajorUpdate= | | NextMajorUpdate=1009 | ||
}} | }} | ||
Line 46: | Line 48: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
| style="vertical-align: top;" | '' | | style="vertical-align: top;" | ''1004'' | ||
|- | |- | ||
| colspan="6" | | | colspan="6" | | ||
Line 76: | Line 78: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
| style="vertical-align: top;" | ''April | | style="vertical-align: top;" | ''April 17, 2015'' | ||
|- | |- | ||
| colspan="6" | | | colspan="6" | | ||
Line 96: | Line 98: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
| style="vertical-align: top;" | '' | | style="vertical-align: top;" | ''1003'' | ||
|- | |- | ||
| colspan="6" | | | colspan="6" | | ||
Line 106: | Line 108: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
| style="vertical-align: top;" | '' | | style="vertical-align: top;" | ''1005'' | ||
|- | |- | ||
| colspan="6" | | | colspan="6" | | ||
Line 116: | Line 118: | ||
| style="vertical-align: top;" |   | | style="vertical-align: top;" |   | ||
| style="vertical-align: top;" | ''Example: '' | | style="vertical-align: top;" | ''Example: '' | ||
| style="vertical-align: top;" | '' | | style="vertical-align: top;" | ''1009'' | ||
|- | |||
| 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> |
Revision as of 02:34, 11 August 2016
Killing Floor 2 update | |||
Update 1004 | |||
Release Date | April 17, 2015 | ||
◄◄ 1002 | ◄ 1003 | 1005 ► | 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 ot the corresponding major update then insert the number of the first update of the previous major update |
Example: | 1002 | ||
| |||||
| 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 |
Example: | 1003 | ||
| |||||
| NextUpdate= | Number of the next update If there is no next update within the corresponding major update then leave this one empty |
Example: | 1005 | ||
| |||||
| 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 |
Example: | 1009 | ||
| |||||
}} |
Template
Copy this template for quick usage.
{{KF2UpdatesNavBox | CurrentUpdate= | RelatedMajorUpdateImage= | RelatedMajorUpdate= | ReleaseDate= | FirstUpdate= | PreviousUpdate= | NextUpdate= | NextMajorUpdate= }}