Difference between revisions of "Template:Achievement notification"

From Team Fortress Wiki
Jump to: navigation, search
m (Undo edit by CAPTCHALiam97 (Talk) (2090691) Bad grammar.)
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| 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:280px; 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.3em; color: #9dc34c; font-weight: bold; padding-left: 10px;" |
+
| 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}}}
+
{{{title}}}<br /><span style="font-size: 0.7em; color: #C8B996; font-weight: normal;line-height:1.3em; margin-top: 8px;">{{{text}}}</span>
<span style="font-size: 0.em; color: #C8B996;">{{{text}}}</span>
+
|}</includeonly><noinclude>{{doc begin}}
|}<noinclude>
+
 
 +
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 ==
 +
 
 +
<pre>{{Achievement notification
 +
| img  = Filename.png
 +
| title = Title of Achievement
 +
| text  = Achievement text
 +
}}</pre>
  
 
== Example ==
 
== Example ==
  
{{Achievement_Notification
+
{{Achievement notification
| img  = Tf win gravelpit noenemycaps.jpg
+
| img  = Tf win gravelpit noenemycaps.png
| title = Win Gravelpit!
+
| title = Impossible Defense
| text  = You have succeeded. Now go die.
+
| text  = Successfully defend Gravel Pit without giving up a capture.
 
}}
 
}}
 +
 +
[[Category:Achievement insertion templates| ]]</noinclude>

Latest revision as of 18:25, 29 April 2016

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.png
| title = Title of Achievement
| text  = Achievement text
}}

Example

Tf win gravelpit noenemycaps.png

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