From StrategyWiki, the video game walkthrough and strategy guide wiki
Jump to navigation Jump to search
(updating to merge trophies and gamer score into one template, will need more work)
(templatestyles)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{|{{prettytable|sortable=1|class=achievement_list}}
<templatestyles src="Template:Achievements Header/styles.css" />
!width="64"|Picture
{| class="wikitable sortable achievement_list" style="width: 100%"
!Name||Description{{#if:{{{g|}}}|<th>{{G}}</th>}}{{#if:{{{trophy|}}}|<th>Trophy</th>|}}
! width="{{{picturewidth|64}}}" class="unsortable" | Picture
! Name
! Description<!--
-->{{#if:{{{g|}}}|!! style="width:40px" {{!}} [[File:Gamerscore icon.png|Gamerscore icon]]}}<!--
-->{{#if:{{{trophy|}}}|!! style="width:75px" {{!}} Trophy}}<!--
-->{{#if:{{{1|}}}|!! style="width:75px" {{!}} {{{1|}}}}}
|-<noinclude>
|-<noinclude>
|}
|}
{{Achievements Header/Documentation}}
{{Documentation}}


[[Category:Templates|A]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 03:36, 6 May 2024

Picture Name Description

This page has been transcluded from Template:Achievements Header/Documentation.


This template is to provide a standard header for achievement list tables.

Parameters

  • If a game does not have Xbox 360, Xbox Live Arcade, or Games for Windows Achievements, omit the |g=yes parameter and adjust the number of columns appropriately.
  • If a game does not have PlayStation 3 or PlayStation Network trophies, omit the |trophy=yes parameter and adjust the number of columns appropriately.
  • If you need to adjust the width of the picture column, for example to allow two images to sit next to each other horizontally, use picturewidth=128 or whatever size (in pixels) you need.

Example

{{Achievements Header|g=yes|trophy=yes}}
|-
| [[File:1.jpg|description]] || Achievement name || Achievement description || {{G|50}} || {{Gold}}
|-
| [[File:2.jpg|description]] || Achievement 2 name || Achievement 2 description || {{G|15}} || {{Bronze}}
|}