Template:KF2UpdateInfo: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(Added PS4 support, optical improvements)
(Optical improvements)
 
Line 5: Line 5:
| 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;">'''{{{MajorUpdateName}}}'''</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;">'''{{{MajorUpdateName}}}'''</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>
|- style="text-align: center;"
|- style="text-align: center;"
| colspan="8" style="padding: 0 12px 6px;" | [[File:{{{MajorUpdateImage}}}|326px]]
| colspan="8" style="padding: 0 12px 8px;" | [[File:{{{MajorUpdateImage}}}|326px]]
|- {{#if: {{{ReleaseDate|}}} | style="height: 20px" | style="display: none;"}}
|- {{#if: {{{ReleaseDate|}}} | style="height: 20px" | style="display: none;"}}
| colspan="4" style="padding: 0 0 0 12px;" | '''Release Date'''
| colspan="4" style="padding: 0 0 0 12px;" | '''Release Date'''
Line 12: Line 12:
| colspan="8" style="padding: 0; height: 8px;" |  
| colspan="8" style="padding: 0; height: 8px;" |  
|- {{#if: {{{TrailerName|}}} || style="display: none;"}}
|- {{#if: {{{TrailerName|}}} || style="display: none;"}}
| colspan="2" style="background: #202224; box-shadow: 6px 0 0 #000000 inset, 7px 0 0 #ffffff inset, 0 1px 0 #ffffff inset, 0 -1px 0 #ffffff inset; padding: 6px 6px 6px 12px;" | [[File:{{{TrailerThumbnail}}}|94px|link={{{TrailerLink}}}]]
| colspan="2" 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 6px 5px 12px;" | [[File:{{{TrailerThumbnail}}}|94px|link={{{TrailerLink}}}]]
| colspan="6" style="background: #202224; box-shadow: -6px 0 0 #000000 inset, -7px 0 0 #ffffff inset, 0 1px 0 #ffffff inset, 0 -1px 0 #ffffff inset; padding: 6px 12px 6px 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;" |  
| colspan="8" style="padding: 0; height: 8px;" |  

Latest revision as of 14:15, 30 January 2017


Killing Floor 2 update
Incinerate 'N Detonate Update
Release Date September 1, 2015
Killing Floor 2: Incinerate 'N Detonate Release Trailer
List of Updates
Update 1009 Update 1010 Update 1011


Syntax

Parameters

{{KF2UpdateInfo

| MajorUpdateName= Name of the update Example: Incinerate 'N Detonate Update

| MajorUpdateImage= Name of the image of the corresponding major update Example: KF2_Update_TacticalResponseUpdate.png

|

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

|

| 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

|

| ListOfUpdates_0= Number of one of the updates of this major update Example: 1009

| ListOfUpdates_1=

|          .
|          .
|          .
.
.
.
.
.
.

| ListOfUpdates_20=

}}

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

{{KF2UpdateInfo
| MajorUpdateName=
| MajorUpdateImage=
|
| ReleaseDate=
|
| TrailerName=
| TrailerThumbnail=
| TrailerLink=
|
| ListOfUpdates_0=
| ListOfUpdates_1=
| ListOfUpdates_2=
| ListOfUpdates_3=
| ListOfUpdates_4=
| ListOfUpdates_5=
| ListOfUpdates_6=
| ListOfUpdates_7=
| ListOfUpdates_8=
| ListOfUpdates_9=
| ListOfUpdates_10=
| ListOfUpdates_11=
| ListOfUpdates_12=
| ListOfUpdates_13=
| ListOfUpdates_14=
| ListOfUpdates_15=
| ListOfUpdates_16=
| ListOfUpdates_17=
| ListOfUpdates_18=
| ListOfUpdates_19=
| ListOfUpdates_20=
}}


PS4 only

{{KF2UpdateInfo
| MajorUpdateName=
| MajorUpdateImage=
|
| ReleaseDate=
|
| TrailerName=
| TrailerThumbnail=
| TrailerLink=
|
| ListOfUpdates_0_PS4=
| ListOfUpdates_1_PS4=
| ListOfUpdates_2_PS4=
| ListOfUpdates_3_PS4=
| ListOfUpdates_4_PS4=
| ListOfUpdates_5_PS4=
| ListOfUpdates_6_PS4=
| ListOfUpdates_7_PS4=
| ListOfUpdates_8_PS4=
| ListOfUpdates_9_PS4=
| ListOfUpdates_10_PS4=
| ListOfUpdates_11_PS4=
| ListOfUpdates_12_PS4=
| ListOfUpdates_13_PS4=
| ListOfUpdates_14_PS4=
| ListOfUpdates_15_PS4=
| ListOfUpdates_16_PS4=
| ListOfUpdates_17_PS4=
| ListOfUpdates_18_PS4=
| ListOfUpdates_19_PS4=
| ListOfUpdates_20_PS4=
}}