Difference between revisions of "Template:Achievement"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
<table cellpadding="0" style="width: {{{width|50%}}}; text-align: left;"><tr>
 
<table cellpadding="0" style="width: {{{width|50%}}}; text-align: left;"><tr>
<td width="10%" rowspan="2">[[File:{{{image|Tf2-logo-transparent.png}}}|64px]]</td>
+
<td width="10%" rowspan="2">[[File:{{{3|Tf2-logo-transparent.png}}}|64px]]</td>
<td style="padding-left: 2px; padding-right: 4px;">'''''{{{name|Achievement Name}}}'''''</td></tr><tr>
+
<td style="padding-left: 2px; padding-right: 4px;">'''''{{{1|Achievement Name}}}'''''</td></tr><tr>
<td style="padding-left: 2px; padding-right: 4px;">{{{desc|Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet. Lorem dolor, sit amet ipsum.}}}{{#if:{{{reward|}}}|<br />
+
<td style="padding-left: 2px; padding-right: 4px;">{{{2|Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet. Lorem dolor, sit amet ipsum.}}}{{#if:{{{reward|}}}|<br />
 
<small>'''Reward''': [[{{{reward|Weapons}}}|{{{reward|Weapon name}}}]]</small></td>|</td>}}</tr></table><noinclude>
 
<small>'''Reward''': [[{{{reward|Weapons}}}|{{{reward|Weapon name}}}]]</small></td>|</td>}}</tr></table><noinclude>
  
Line 8: Line 8:
 
This template was created in order to standardise how achievements appear in article pages.
 
This template was created in order to standardise how achievements appear in article pages.
 
* {{ Achievement  
 
* {{ Achievement  
** | ''image'' - file name of the image (excluding "File:" or "Image:" prefix). Will display TF2 logo if none is given.
+
** | ''Quick Hook''  - name of the achievement.
** | ''name''  - name of the achievement.
+
** | ''Kill a player in Well before the round starts.'' - the corresponding description (should use exact wording from Steam page).
** | ''desc'' or ''description'' - the corresponding description (should use exact wording from Steam page).
+
** | ''Quick hook.png'' - file name of the image (excluding "File:" or "Image:" prefix). Will display TF2 logo if none is given.
** | ''reward'' - if the achievement is a Milestone achievement, put the name of the weapon that is earned (i.e. the [[Ambassador]]).
+
** | ''reward = Ambassador'' - if the achievement is a Milestone achievement, put the name of the weapon that is earned (i.e. the [[Ambassador]]).
 +
** | ''width = 50%'' - handy for use in pages with two columns of achievements.
 
* <nowiki>}}</nowiki>
 
* <nowiki>}}</nowiki>
  
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
 
</noinclude>
 
</noinclude>

Revision as of 07:30, 29 July 2010

64px Achievement Name
Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet. Lorem dolor, sit amet ipsum.

Usage

This template was created in order to standardise how achievements appear in article pages.

  • {{ Achievement
    • | Quick Hook - name of the achievement.
    • | Kill a player in Well before the round starts. - the corresponding description (should use exact wording from Steam page).
    • | Quick hook.png - file name of the image (excluding "File:" or "Image:" prefix). Will display TF2 logo if none is given.
    • | reward = Ambassador - if the achievement is a Milestone achievement, put the name of the weapon that is earned (i.e. the Ambassador).
    • | width = 50% - handy for use in pages with two columns of achievements.
  • }}