Difference between revisions of "Template:KF2UpdateInfo"

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(Fixed incorrect layout if there were less than 3 updates in the List of Updates)
(Fixed style issue in IE)
Line 11: Line 11:
 
|- {{#if: {{{ReleaseDate|}}} | style="height: 6px;" | style="display: none;"}}
 
|- {{#if: {{{ReleaseDate|}}} | style="height: 6px;" | style="display: none;"}}
 
| colspan="8" style="padding: 0; height: 6px;" |  
 
| colspan="8" style="padding: 0; height: 6px;" |  
|- {{#if: {{{TrailerName|}}} | style="background: #202224; box-shadow: 6px 0 0 #000000 inset, -6px 0 0 #000000 inset, 7px 0 0 #ffffff inset, -7px 0 0 #ffffff inset, 0 1px 0 #ffffff inset, 0 -1px 0 #ffffff inset;" | style="display: none;"}}
+
|- {{#if: {{{TrailerName|}}} || style="display: none;"}}
| colspan="2" style="padding: 6px 6px 6px 12px;" | [[File:{{{TrailerThumbnail}}}|94px|link={{{TrailerLink}}}]]
+
| 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="6" style="padding: 6px 12px 6px 6px;" | [{{{TrailerLink}}} <span style="color: #a6a7a9;">'''{{{TrailerName}}}'''</span>]
+
| 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>]
 
|- {{#if: {{{TrailerName|}}} | style="height: 6px;" | style="display: none;"}}
 
|- {{#if: {{{TrailerName|}}} | style="height: 6px;" | style="display: none;"}}
 
| colspan="8" style="padding: 0; height: 6px;" |  
 
| colspan="8" style="padding: 0; height: 6px;" |  

Revision as of 18:38, 20 December 2016


Killing Floor 2 update
Incinerate 'N Detonate Update
KF2 Update IncinerateNDetonateUpdate.png
Release Date September 1, 2015
KF2 Update IncinerateNDetonateUpdate Thumbnail.jpg 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=

}}

Template

Copy this template for quick usage.

{{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=
}}