Difference between revisions of "AchievementRow"

From Sega Retro

Line 2: Line 2:
 
|rowspan="2" style="text-align:center;" width="72px"|[[File:{{#if:{{{icon|}}}|{{{icon}}}|Notavailable.svg}}|64px]]
 
|rowspan="2" style="text-align:center;" width="72px"|[[File:{{#if:{{{icon|}}}|{{{icon}}}|Notavailable.svg}}|64px]]
 
!style="text-align:left;"|'''{{{title|}}}'''
 
!style="text-align:left;"|'''{{{title|}}}'''
|rowspan="2" style="text-align:center;"|{{{gamerscore}}}
+
|rowspan="2" style="text-align:center;"|{{{gamerscore}}}{{#vardefine:totalgamerscore|{{#expr:{{#var:totalgamerscore}} + {{{gamerscore}}}}}}}  
 
|rowspan="2" style="text-align:center;"|{{#switch:{{{trophy}}}
 
|rowspan="2" style="text-align:center;"|{{#switch:{{{trophy}}}
| bronze=[[File:PlayStation Trophy Bronze.png|64px]]
+
| bronze=[[File:PlayStation Trophy Bronze.png|64px]]{{#vardefine:totalbronze|{{#expr:{{#var:totalbronze}} + 1}}}}
| silver=[[File:PlayStation Trophy Silver.png|64px]]
+
| silver=[[File:PlayStation Trophy Silver.png|64px]]{{#vardefine:totalsilver|{{#expr:{{#var:totalsilver}} + 1}}}}
| gold=[[File:PlayStation Trophy Gold.png|64px]]
+
| gold=[[File:PlayStation Trophy Gold.png|64px]]{{#vardefine:totalgold|{{#expr:{{#var:totalgold}} + 1}}}}
| platinum=[[File:PlayStation Trophy Platinum.png|64px]]
+
| platinum=[[File:PlayStation Trophy Platinum.png|64px]]{{#vardefine:totalplatinum|{{#expr:{{#var:totalplatinum}} + 1}}}}
| hidden=[[File:PlayStation Trophy Hidden.png|64px]]
+
| hidden=[[File:PlayStation Trophy Hidden.png|64px]]{{#vardefine:totalhidden|{{#expr:{{#var:totalhidden}} + 1}}}}
 
| default=
 
| default=
 
}}
 
}}

Revision as of 10:40, 22 October 2017

|- |rowspan="2" style="text-align:center;" width="72px"|Notavailable.svg !style="text-align:left;"|' |rowspan="2" style="text-align:center;"|{{{gamerscore}}} |rowspan="2" style="text-align:center;"| |- |