Template:KF2VariousInfo Achievement: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
(Added Trophy icons)
(Reduced size of trophy icons)
 
Line 1: Line 1:
<includeonly><div style="display: table; padding: 0; float: left; clear: left; width: 100%; max-width: 326px; line-height: 16px;"><div style="display: table-row;"><div style="display: table-cell; padding: 4px 0; margin: 0 12px 0 0; float: left; position: relative;">[[File:KF2_{{#ifeq:{{lc:{{{PS4|}}}}}|true|Trophy|Achievement}}_{{#if:{{{1|}}}|{{{1}}}|Locked}}.{{#ifeq:{{lc:{{{PS4|}}}}}|true|png|jpg}}|24x24px|top|link=]]<div style="background: linear-gradient(135deg, #000000 2.5px, transparent 0) top left; position: absolute; top: 4px; left: 0; height: 4px; width: 4px;"></div><div style="background: linear-gradient(315deg, #000000 2.5px, transparent 0) bottom right; position: absolute; bottom: 4px; right: 0; height: 4px; width: 4px;"></div></div><div style="display: table-cell; width: {{#ifeq:{{lc:{{{PS4|}}}}}|true|241|290}}px; vertical-align: middle;">[[{{#ifeq:{{lc:{{{PS4|}}}}}|true|Trophies|Achievements}} (Killing Floor 2{{#ifeq:{{lc:{{{PS4|}}}}}|true|_PS4}})#{{{2|}}}|<span style="color: #a6a7a9;">{{{2|}}}</span>]]</div>{{#ifeq:{{lc:{{{PS4|}}}}}|true|<div style="display: table-cell; padding: 0 0 0 25px; position: relative; width: 24px; vertical-align: middle;"><div style="background: linear-gradient(transparent, #a6a7a9, transparent); height: 24px; width: 1px; position: absolute; left: 12px; top: 4px;"></div>[[File:PS4_Trophy_{{ucfirst:{{lc:{{{3|}}}}}}}.png|24x24px|top|link=]]</div>}}</div></div></includeonly>
<includeonly><div style="display: table; padding: 0; float: left; clear: left; width: 100%; max-width: 326px; line-height: 16px;"><div style="display: table-row;"><div style="display: table-cell; padding: 4px 0; margin: 0 12px 0 0; float: left; position: relative;">[[File:KF2_{{#ifeq:{{lc:{{{PS4|}}}}}|true|Trophy|Achievement}}_{{#if:{{{1|}}}|{{{1}}}|Locked}}.{{#ifeq:{{lc:{{{PS4|}}}}}|true|png|jpg}}|24x24px|top|link=]]<div style="background: linear-gradient(135deg, #000000 2.5px, transparent 0) top left; position: absolute; top: 4px; left: 0; height: 4px; width: 4px;"></div><div style="background: linear-gradient(315deg, #000000 2.5px, transparent 0) bottom right; position: absolute; bottom: 4px; right: 0; height: 4px; width: 4px;"></div></div><div style="display: table-cell; width: {{#ifeq:{{lc:{{{PS4|}}}}}|true|249|290}}px; vertical-align: middle;">[[{{#ifeq:{{lc:{{{PS4|}}}}}|true|Trophies|Achievements}} (Killing Floor 2{{#ifeq:{{lc:{{{PS4|}}}}}|true|_PS4}})#{{{2|}}}|<span style="color: #a6a7a9;">{{{2|}}}</span>]]</div>{{#ifeq:{{lc:{{{PS4|}}}}}|true|<div style="display: table-cell; padding: 0 0 0 25px; position: relative; width: 16px; vertical-align: middle;"><div style="background: linear-gradient(transparent, #a6a7a9, transparent); height: 24px; width: 1px; position: absolute; left: 12px; top: 4px;"></div>[[File:PS4_Trophy_{{ucfirst:{{lc:{{{3|}}}}}}}.png|16x16px|middle|link=]]</div>}}</div></div></includeonly>
<noinclude>{{KF2VariousInfo_Achievement||Test-Achievement with a short title}}
<noinclude>{{KF2VariousInfo_Achievement||Test-Achievement with a short title}}
{{KF2VariousInfo_Achievement||Test-Achievement with a very long title so it wraps into 2 lines}}
{{KF2VariousInfo_Achievement||Test-Achievement with a very long title so it wraps into 2 lines}}

Latest revision as of 11:20, 31 January 2017