Difference between revisions of "AchievementTable"
From Sonic Retro
BSonirachi (talk | contribs) (added Windows Phone 7 support and checks to hide the total row for formats that don't give Gamerscore, Trophies or XP (at some point we'll need to add iOS Game Center achievement support)) |
BSonirachi (talk | contribs) m (further formatting adjustments to fix an issue with Steam achievement tables) |
||
Line 1: | Line 1: | ||
<includeonly>{{clearvar|totalgamerscore|totalbronze|totalsilver|totalgold|totalplatinum|totalhidden|totalxp}}{| class="prettytable" style="width:auto;" | <includeonly>{{clearvar|totalgamerscore|totalbronze|totalsilver|totalgold|totalplatinum|totalhidden|totalxp}}{| class="prettytable" style="width:auto;" | ||
!width="100px;"|Icon | !width="100px;"|Icon | ||
− | !Description | + | !Description{{#switch:{{uc:{{{format|}}}}} |
− | {{#switch:{{uc:{{{format|}}}}} | ||
|360 | |360 | ||
|XBONE | |XBONE | ||
|XSX | |XSX | ||
− | |WP7=!Gamerscore{{#vardefine:totalrow|true}} | + | |WP7=!!Gamerscore{{#vardefine:totalrow|true}} |
|PS3 | |PS3 | ||
|PSP | |PSP | ||
|PSV | |PSV | ||
|PS4 | |PS4 | ||
− | |PS5=!Trophy{{#vardefine:totalrow|true}} | + | |PS5=!!Trophy{{#vardefine:totalrow|true}} |
− | |ANDROID=!Experience points{{#vardefine:totalrow|true}} | + | |ANDROID=!!Experience points{{#vardefine:totalrow|true}} |
|#default={{#vardefine:totalrow|false}} | |#default={{#vardefine:totalrow|false}} | ||
}} | }} |
Latest revision as of 12:49, 10 September 2023
Template for listing trophies/achievements (the sort first introduced with the Xbox 360). To be used in conjunction with Template:AchievementRow.
Supply a format and it will automatically decide whether to display the trophy or gamerscore heading. You can technically mix and match in the rows... but you probably shouldn't. Calculations are also automatic.
{{AchievementTable|format=PS3| {{AchievementRow | icon=SonicOrigins PS4 Achievement BronzeTrophy.png | title=Welcome to Sonic the Hedgehog | description=Watch the opening for ''[[Sonic the Hedgehog (16-bit)|Sonic the Hedgehog]]'' | trophy=bronze }} }}
Icon | Description | Trophy |
---|---|---|
Welcome to Sonic the Hedgehog | ||
Watch the opening for Sonic the Hedgehog
| ||
Total: | ×1 |
{{AchievementTable|format=360| {{AchievementRow | icon=Sonic2006 Achievement SonicEpisodeCleared.png | title=Sonic Episode: Cleared | description=Clear [[Sonic the Hedgehog|Sonic]] Episode! | gamerscore=30 }} {{AchievementRow | icon=Sonic2006 Achievement SonicEpisodeCleared.png | title=Seeecret | desc=You smell | gamerscore=30 | secret=yes }} }}
Icon | Description | Gamerscore |
---|---|---|
Sonic Episode: Cleared | G 30
| |
Clear Sonic Episode! | ||
Seeecret (secret) | G 30
| |
You smell
| ||
Total: | G 60
|
Tests
Icon | Description | Trophy |
---|---|---|
Welcome to Sonic the Hedgehog | ||
Watch the opening for Sonic the Hedgehog | ||
Blue Phantom | G 20
| |
Super Sonic Obtain the all moves. | ||
Blue Phantom (secret) | G 20
| |
Super Sonic Obtain the all moves. | ||
A Secret Revealed | 10000 XP | |
Find and complete Hidden Palace Zone.
| ||
Total: | G 40×1 10000 XP
|
Icon | Description |
---|---|
A Secret Revealed | |
Find and complete Hidden Palace Zone.
|