Template:KF2VariousInfo Achievement: Difference between revisions

From Tripwire Interactive Wiki
Jump to navigation Jump to search
No edit summary
(Added PS4 support)
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_Achievement_{{#if: {{{1|}}} | {{{1}}} | Locked}}.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: 290px; vertical-align: middle;">[[Achievements (Killing Floor 2)#{{{2|}}}|<span style="color: #a6a7a9;">{{{2|}}}</span>]]</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|253|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: 12px; vertical-align: middle;"><div style="background: linear-gradient(transparent, #a6a7a9, transparent); height: 24px; width: 1px; position: absolute; left: 12px; top: 4px;"></div><div style="background: #{{#switch:{{lc:{{{3|}}}}}|bronze=c46438|silver=777777|gold=c2903e|platinum=667fb2|000000}}; border-radius: 16px; width: 12px; height: 12px;"></div></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}}</noinclude>
{{KF2VariousInfo_Achievement||Test-Achievement with a very long title so it wraps into 2 lines}}
{{KF2VariousInfo_Achievement|PS4=true|1|PS4 Bronze Trophy test|Bronze}}
{{KF2VariousInfo_Achievement|PS4=true|14|PS4 Silver Trophy test|Silver}}
{{KF2VariousInfo_Achievement|PS4=true|29|PS4 Gold Trophy test|Gold}}
{{KF2VariousInfo_Achievement|PS4=true|0|PS4 Platinum Trophy test|Platinum}}</noinclude>

Revision as of 19:29, 30 January 2017