Difference between revisions of "Template:Achievement notification"
(Added {{doc}}, updated slightly, added usage notes.) |
|||
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:300px; 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;" | | | style="background-color: #3e3e3e; width:64px; height:64px;" | [[File:{{{img}}}|64px]] || style="font-size: 1.2em; color: #9dc34c; font-weight: bold; padding-left: 10px;" | | ||
− | {{{title}}}<br /><span style="font-size: 0.7em; color: #C8B996; font-weight: normal;">{{{text}}}</span> | + | {{{title}}}<br /><span style="font-size: 0.7em; color: #C8B996; font-weight: normal;line-height:0.8em;">{{{text}}}</span> |
− | |}<noinclude> | + | |}</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.jpg | ||
+ | | title = Title of Achievement | ||
+ | | text = Achievement text | ||
+ | }}</pre> | ||
== Example == | == Example == | ||
− | {{ | + | {{Achievement notification |
| img = Tf win gravelpit noenemycaps.jpg | | img = Tf win gravelpit noenemycaps.jpg | ||
− | | title = | + | | title = Impossible Defense |
− | | text = | + | | text = Successfully defend Gravel Pit without giving up a capture. |
}} | }} |
Revision as of 02:06, 25 October 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 |