Difference between revisions of "Template:KF2CharacterInfo"

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...")
 
(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 24px 24px; text-align: left; vertical-align: middle; width: 350px;"
 
<includeonly>{|style="background: #000000; border-collapse: collapse; color: #a6a7a9; float: right; margin: 0 0 24px 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: 6px 12px;" | <small>''[[Killing Floor 2|<span style="color: #a6a7a9;">Killing Floor 2</span>]] character''</small>
+
| colspan="4" style="padding: 0 0 2px;" | <small>''[[Killing Floor 2]] character''</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;" | '''{{{Name}}}'''
+
| 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;">'''{{{Name}}}'''</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>
 
|- style="text-align: center;"
 
|- style="text-align: center;"
 
| colspan="4" style="padding: 12px;" | [[File:{{{CharacterImage}}}]]
 
| colspan="4" style="padding: 12px;" | [[File:{{{CharacterImage}}}]]
 
|- {{#if: {{{Sex|}}} | style="{{#ifexpr: ({{#if: {{{Sex|}}} | 1 | 0}} mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
 
|- {{#if: {{{Sex|}}} | style="{{#ifexpr: ({{#if: {{{Sex|}}} | 1 | 0}} mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
| style="padding-left: 12px; vertical-align: top; width: 100px;" | '''Sex'''
+
| style="padding-left: 12px; vertical-align: top; width: 124px;" | '''Sex'''
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Sex}}}
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Sex}}}
 
|- {{#if: {{{Age|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
 
|- {{#if: {{{Age|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
| style="padding-left: 12px; vertical-align: top; width: 100px;" | '''Age'''
+
| style="padding-left: 12px; vertical-align: top; width: 124px;" | '''Age'''
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Age}}}
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Age}}}
 
|- {{#if: {{{Origin|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
 
|- {{#if: {{{Origin|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
| style="padding-left: 12px; vertical-align: top; width: 100px;" | '''Origin'''
+
| style="padding-left: 12px; vertical-align: top; width: 124px;" | '''Origin'''
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Origin}}}
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Origin}}}
 
|- {{#if: {{{PlaceOfBirth|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
 
|- {{#if: {{{PlaceOfBirth|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
| style="padding-left: 12px; vertical-align: top; width: 100px;" | '''Place of Birth'''
+
| style="padding-left: 12px; vertical-align: top; width: 124px;" | '''Place of Birth'''
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{PlaceOfBirth}}}
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{PlaceOfBirth}}}
 
|- {{#if: {{{Occupation|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
 
|- {{#if: {{{Occupation|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
| style="padding-left: 12px; vertical-align: top; width: 100px;" | '''Occupation'''
+
| style="padding-left: 12px; vertical-align: top; width: 124px;" | '''Occupation'''
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Occupation}}}
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Occupation}}}
 
|- {{#if: {{{BirthSign|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}} + {{#if: {{{BirthSign|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
 
|- {{#if: {{{BirthSign|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}} + {{#if: {{{BirthSign|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
| style="padding-left: 12px; vertical-align: top; width: 100px;" | '''Birth Sign'''
+
| style="padding-left: 12px; vertical-align: top; width: 124px;" | '''Birth Sign'''
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{BirthSign}}} {{#ifeq: {{{BirthSign|}}} | Aries | &#9800; | {{#ifeq: {{{BirthSign|}}} | Taurus | &#9801; | {{#ifeq: {{{BirthSign|}}} | Gemini | &#9802; | {{#ifeq: {{{BirthSign|}}} | Cancer | &#9803; | {{#ifeq: {{{BirthSign|}}} | Leo | &#9804; | {{#ifeq: {{{BirthSign|}}} | Virgo | &#9805; | {{#ifeq: {{{BirthSign|}}} | Libra | &#9806; | {{#ifeq: {{{BirthSign|}}} | Scorpio | &#9807; | {{#ifeq: {{{BirthSign|}}} | Sagittarius | &#9808; | {{#ifeq: {{{BirthSign|}}} | Capricorn | &#9809; | {{#ifeq: {{{BirthSign|}}} | Aquarius | &#9810; | {{#ifeq: {{{BirthSign|}}} | Pisces | &#9811; |}}}}}}}}}}}}}}}}}}}}}}}}
+
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{BirthSign}}} {{#ifeq: {{{BirthSign|}}} | Aries | &#9800; | {{#ifeq: {{{BirthSign|}}} | Taurus | &#9801; | {{#ifeq: {{{BirthSign|}}} | Gemini | &#9802; | {{#ifeq: {{{BirthSign|}}} | Cancer | &#9803; | {{#ifeq: {{{BirthSign|}}} | Leo | &#9804; | {{#ifeq: {{{BirthSign|}}} | Virgo | &#9805; | {{#ifeq: {{{BirthSign|}}} | Libra | &#9806; | {{#ifeq: {{{BirthSign|}}} | Scorpio | &#9807; | {{#ifeq: {{{BirthSign|}}} | Sagittarius | &#9808; | {{#ifeq: {{{BirthSign|}}} | Capricorn | &#9809; | {{#ifeq: {{{BirthSign|}}} | Aquarius | &#9810; | {{#ifeq: {{{BirthSign|}}} | Pisces | &#9811; | {{#ifeq: {{{BirthSign|}}} | Dosh | [[File:KF2_Dosh_Gray.png|text-bottom|16px|link=]] |}}}}}}}}}}}}}}}}}}}}}}}}}}
 
|- {{#if: {{{Likes|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}} + {{#if: {{{BirthSign|}}} | 1 | 0}} + {{#if: {{{Likes|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
 
|- {{#if: {{{Likes|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}} + {{#if: {{{BirthSign|}}} | 1 | 0}} + {{#if: {{{Likes|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
| style="padding-left: 12px; vertical-align: top; width: 100px;" | '''Likes'''
+
| style="padding-left: 12px; vertical-align: top; width: 124px;" | '''Likes'''
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Likes}}}
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Likes}}}
 
|- {{#if: {{{Dislikes|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}} + {{#if: {{{BirthSign|}}} | 1 | 0}} + {{#if: {{{Likes|}}} | 1 | 0}} + {{#if: {{{Dislikes|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
 
|- {{#if: {{{Dislikes|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}} + {{#if: {{{BirthSign|}}} | 1 | 0}} + {{#if: {{{Likes|}}} | 1 | 0}} + {{#if: {{{Dislikes|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
| style="padding-left: 12px; vertical-align: top; width: 100px;" | '''Dislikes'''
+
| style="padding-left: 12px; vertical-align: top; width: 124px;" | '''Dislikes'''
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Dislikes}}}
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{Dislikes}}}
 
|- {{#if: {{{VoiceActor|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}} + {{#if: {{{BirthSign|}}} | 1 | 0}} + {{#if: {{{Likes|}}} | 1 | 0}} + {{#if: {{{Dislikes|}}} | 1 | 0}} + {{#if: {{{VoiceActor|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
 
|- {{#if: {{{VoiceActor|}}} | style="{{#ifexpr: (({{#if: {{{Sex|}}} | 1 | 0}} + {{#if: {{{Age|}}} | 1 | 0}} + {{#if: {{{Origin|}}} | 1 | 0}} + {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} + {{#if: {{{Occupation|}}} | 1 | 0}} + {{#if: {{{BirthSign|}}} | 1 | 0}} + {{#if: {{{Likes|}}} | 1 | 0}} + {{#if: {{{Dislikes|}}} | 1 | 0}} + {{#if: {{{VoiceActor|}}} | 1 | 0}}) mod 2) = 1 || background-color: #202224; }}height: 20px;" | style="display: none;"}}
| style="padding-left: 12px; vertical-align: top; width: 100px;" | '''Voice Actor'''
+
| style="padding-left: 12px; vertical-align: top; width: 124px;" | '''Voice Actor'''
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{VoiceActor}}}
 
| style="padding-right: 12px; text-align: right; vertical-align: top;" | {{{VoiceActor}}}
 
|- {{#ifexpr: {{#if: {{{Sex|}}} | 1 | 0}} or {{#if: {{{Age|}}} | 1 | 0}} or {{#if: {{{Origin|}}} | 1 | 0}} or {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} or {{#if: {{{Occupation|}}} | 1 | 0}} or {{#if: {{{BirthSign|}}} | 1 | 0}} or {{#if: {{{Likes|}}} | 1 | 0}} or {{#if: {{{Dislikes|}}} | 1 | 0}} or {{#if: {{{VoiceActor|}}} | 1 | 0}} || style="display: none;"}}
 
|- {{#ifexpr: {{#if: {{{Sex|}}} | 1 | 0}} or {{#if: {{{Age|}}} | 1 | 0}} or {{#if: {{{Origin|}}} | 1 | 0}} or {{#if: {{{PlaceOfBirth|}}} | 1 | 0}} or {{#if: {{{Occupation|}}} | 1 | 0}} or {{#if: {{{BirthSign|}}} | 1 | 0}} or {{#if: {{{Likes|}}} | 1 | 0}} or {{#if: {{{Dislikes|}}} | 1 | 0}} or {{#if: {{{VoiceActor|}}} | 1 | 0}} || style="display: none;"}}
| colspan="2" style="height: 12px;" |
+
| colspan="2" style="height: 6px;" |  
 +
|- style="background: #ffffff; color: #ffffff; text-align: center;"
 +
| colspan="2" 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>

Latest revision as of 02:52, 11 August 2016


Killing Floor 2 character
Ana Larive
KF2 Character AnaLarive Head DeathRain.png
Sex Female
Age 29
Origin French
Place of Birth Lens, France
Occupation Part-time Photographer/Waitress
Birth Sign Virgo ♍
Likes Ruins, Photography and Death Metal
Dislikes Macho-men, Rules and Euro-pop Music
Voice Actor Laura Post


Syntax

Parameters

{{KF2CharacterInfo

| Name= Name of the character Example: Ana Larive

| CharacterImage= Name of the image of the corresponing character Example: KF2_Character_AnaLarive.png

| Sex= Gender of the character Example: Female

| Age= Age of the character Example: 29

| Origin= Origin of the character Example: French

| PlaceOfBirth= Place where the character were born Example: Lens, France

| Occupation= Occupation of the character Example: Part-time Photographer/Waitress

| BirthSign= Name of the birth sign of the character
Automatically adds the birth sign behind the name
Example: Virgo

| Likes= Likes of the Character Example: Ruins, Photography and Death Metal

| Dislikes= Dislikes of the character Example: Macho-men, Rules and Euro-pop Music

| VoiceActor= Name of the voice actor Example: Laura Post

}}

Template

Copy this template for quick usage.

{{KF2CharacterInfo
| Name=
| CharacterImage=
| Sex=
| Age=
| Origin=
| PlaceOfBirth=
| Occupation=
| BirthSign=
| Likes=
| Dislikes=
| VoiceActor=
}}