Difference between revisions of "Template:Achievement notification"

From Team Fortress Wiki
Jump to: navigation, search
(Tweaks are good.)
m (Undo edit by CAPTCHALiam97 (Talk) (2090691) Bad grammar.)
 
(16 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:300px; 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]] || <span style="font-size: 1.3em; color: #9dc34c; font-weight: bold; padding-left: 10px;>{{{title}}}</span><span style="display: block; font-size: 0.7em; color: #C8B996; line-height: 1.1em; margin-top: 15px;">{{{text}}}</span>
+
| 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;" |
|}<noinclude>
+
{{{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}}
 +
 
 +
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.