Difference between revisions of "Template:Show achievement"

From Team Fortress Wiki
Jump to: navigation, search
m (Reverting changes)
m (Reverted to wrong date earlier, I'm useless.)
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 – 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 – see [[:Category:Achievement insertion templates/core]].
  
== Usage ==
+
== Syntax ==
* {{tlx|Show achievement|Medic|Autoclave}} generates
+
* {{tlx|Show achievement|<Pack>|<Name>|<Difficulty>|<Description>|6=width = <value>}}
{{Show achievement|Medic|Autoclave}}
 
  
* {{tlx|Show achievement|General|Dynasty}} generates
+
== Examples ==
 +
=== 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:24, 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.

Syntax

Examples

One by itself

Code: {{show achievement|General|Dynasty|width = 50%}}
Dynasty
Dynasty
Win 20 games.


In a table

{{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}}
}}
Dynasty
Dynasty
Win 20 games.


Dynasty
Dynasty
Win 20 games.


Dynasty
Dynasty
Win 20 games.


Dynasty
Dynasty
Win 20 games.
Flamethrower
Flamethrower
Set five enemies on fire in 30 seconds.


Flamethrower
Flamethrower
Set five enemies on fire in 30 seconds.


Flamethrower
Flamethrower
Set five enemies on fire in 30 seconds.

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