Difference between revisions of "Template:Achievement notification"

From Team Fortress Wiki
Jump to: navigation, search
(Styling)
(Removed image link.)
Line 1: Line 1:
 
<includeonly>{| style="background-color: #4f4f4f; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; color: #c8b996; font-family: Tahoma, Arial, Helvetica, sans-serif; height:64px; width:320px; padding: 5px;"
 
<includeonly>{| style="background-color: #4f4f4f; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; color: #c8b996; font-family: Tahoma, Arial, Helvetica, sans-serif; height:64px; width:320px; padding: 5px;"
 
|-
 
|-
| style="background-color: #3e3e3e; width:64px; height:64px;" | [[File:{{{img}}}|64px]] || style="font-size: 1.2em; color: #9dc34c; font-weight: bold; padding-left: 10px; background: #4f4f4f;" |
+
| style="background-color: #3e3e3e; width:64px; height:64px;" | [[File:{{{img}}}|64px|link=]] || style="font-size: 1.2em; color: #9dc34c; font-weight: bold; padding-left: 10px; background: #4f4f4f;" |
 
{{{title}}}<br /><span style="font-size: 0.7em; color: #C8B996; font-weight: normal;line-height:1.3em; margin-top: 8px;">{{{text}}}</span>
 
{{{title}}}<br /><span style="font-size: 0.7em; color: #C8B996; font-weight: normal;line-height:1.3em; margin-top: 8px;">{{{text}}}</span>
 
|}</includeonly><noinclude>{{doc begin}}
 
|}</includeonly><noinclude>{{doc begin}}

Revision as of 07:09, 2 November 2010

Documentation for Achievement notification


This template aims to create Steam interface-style achievements for the wiki; either for "Wikichievements" (an achievement-like feature for Wiki contributions), or simply for displaying an achievement.

Syntax

{{Achievement notification
| img   = Filename.jpg
| title = Title of Achievement
| text  = Achievement text
}}

Example

64px

Impossible Defense
Successfully defend Gravel Pit without giving up a capture.