Jump to navigation
Jump to search
Notmyhandle (talk | contribs) (revised) |
(templatestyles) |
||
Line 1: | Line 1: | ||
{{TemplateStyles|Template:Achievements Header/styles.css}} | |||
This template is to provide a standard header for achievement list tables. | This template is to provide a standard header for achievement list tables. | ||
==Parameters== | ==Parameters== | ||
*If a game does not have Xbox 360, Xbox Live Arcade, or Games for Windows Achievements, omit the <code>|g=yes</code> parameter and adjust the number of columns appropriately. | * If a game does not have Xbox 360, Xbox Live Arcade, or Games for Windows Achievements, omit the <code>|g=yes</code> parameter and adjust the number of columns appropriately. | ||
*If a game does not have PlayStation 3 or PlayStation Network trophies, omit the <code>|trophy=yes</code> parameter and adjust the number of columns appropriately. | * If a game does not have PlayStation 3 or PlayStation Network trophies, omit the <code>|trophy=yes</code> 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. | * 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== | ==Example== | ||
Line 10: | Line 11: | ||
{{Achievements Header|g=yes|trophy=yes}} | {{Achievements Header|g=yes|trophy=yes}} | ||
|- | |- | ||
| [[File:1.jpg]] || Achievement name || Achievement description || {{G|50}} || {{Gold}} | | [[File:1.jpg|description]] || Achievement name || Achievement description || {{G|50}} || {{Gold}} | ||
|- | |- | ||
| [[File:2.jpg]] || Achievement 2 name || Achievement 2 description || {{G|15}} || {{Bronze}} | | [[File:2.jpg|description]] || Achievement 2 name || Achievement 2 description || {{G|15}} || {{Bronze}} | ||
|} | |} | ||
</pre> | </pre> | ||
<noinclude>[[Category:Template documentation]]</noinclude> | |||
<noinclude>[[Category:Template documentation |
Latest revision as of 03:37, 6 May 2024
This template uses TemplateStyles: |
This template is to provide a standard header for achievement list tables.
Parameters[edit]
- 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[edit]
{{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}} |}