Difference between revisions of "Template:Show achievement"

From Team Fortress Wiki
Jump to: navigation, search
m (Switching to fixed width)
m (Reverting changes)
Line 1: Line 1:
<includeonly>{{Achievement | width = {{{width|500px}}}
+
<includeonly>{{Achievement | width = {{{width|100%}}}
 
| 1 = {{{{#switch:{{ucfirst:{{{1|}}}}}
 
| 1 = {{{{#switch:{{ucfirst:{{{1|}}}}}
 
  | Scarechievements
 
  | Scarechievements
Line 56: Line 56:
 
This template allows you to display achievements on multiple pages and in different languages. This template itself does not use [[Help:Translation switching|translation switching]] as it does not contain any text. All achievement text and titles are stored elsewhere &ndash; see [[:Category:Achievement insertion templates/core]].
 
This template allows you to display achievements on multiple pages and in different languages. This template itself does not use [[Help:Translation switching|translation switching]] as it does not contain any text. All achievement text and titles are stored elsewhere &ndash; see [[:Category:Achievement insertion templates/core]].
  
== Syntax ==
+
== Usage ==
* {{tlx|Show achievement|<Pack>|<Name>|<Difficulty>|<Description>|6=width = <value>}}
+
* {{tlx|Show achievement|Medic|Autoclave}} generates
 +
{{Show achievement|Medic|Autoclave}}
  
== Examples ==
+
* {{tlx|Show achievement|General|Dynasty}} generates
=== One by itself ===
 
:Code: {{tlx|show achievement|General|Dynasty|4=width = 50%}}
 
{{show achievement|General|Dynasty|width = 50%}}
 
 
 
=== In a table ===
 
<pre><nowiki>
 
{{Achievement table
 
| 1 = {{Show achievement|General|Dynasty}}
 
{{Show achievement|General|Dynasty}}
 
{{Show achievement|General|Dynasty}}
 
{{Show achievement|General|Dynasty}}
 
| 2 = {{Show achievement|General|Flamethrower}}
 
{{Show achievement|General|Flamethrower}}
 
{{Show achievement|General|Flamethrower}}
 
}}
 
</nowiki></pre>
 
 
 
{{Achievement table
 
| 1 = {{Show achievement|General|Dynasty}}
 
{{Show achievement|General|Dynasty}}
 
{{Show achievement|General|Dynasty}}
 
 
{{Show achievement|General|Dynasty}}
 
{{Show achievement|General|Dynasty}}
| 2 = {{Show achievement|General|Flamethrower}}
 
{{Show achievement|General|Flamethrower}}
 
{{Show achievement|General|Flamethrower}}
 
}}
 
  
 
=== Obtaining achievements ===
 
=== Obtaining achievements ===

Revision as of 18:22, 14 October 2010

Documentation for Show achievement

This template allows you to display achievements on multiple pages and in different languages. This template itself does not use translation switching as it does not contain any text. All achievement text and titles are stored elsewhere – see Category:Achievement insertion templates/core.

Usage

Autoclave
Autoclave
Assist in burning 5 enemies with a single ÜberCharge on a Pyro.


Dynasty
Dynasty
Win 20 games.


Obtaining achievements

{{Show achievement|General|Dynasty|Medium
| Simply play until you have won 20 games. If you find a good team and stick with them, this should happen in no time.
}}
  • The above code will generate:
Dynasty
Dynasty
Win 20 games.
Difficulty: Medium
How to obtain: Simply play until you have won 20 games. If you find a good team and stick with them, this should happen in no time.


See also