Difference between revisions of "Template:Achievement"

From Team Fortress Wiki
Jump to: navigation, search
m (Undo edit by Mrcoconutman (Talk) (904163) one period)
m ((FR) Translated line 192)
 
(32 intermediate revisions by 24 users not shown)
Line 1: Line 1:
{| cellpadding="0" {{#if:{{{anchor|}}}|id="{{{anchor}}}"}} style="width: {{{width|50%}}}; text-align: left; {{#if:{{{obtain-text|}}}{{{obtain-level|}}} | border-left: 6px solid #{{#switch:{{ucfirst:{{{obtain-level|}}}}}
+
{| cellpadding="0" {{#if:{{{anchor|}}}|id="{{{anchor}}}"}} class="achievement" style="width: {{{width|50%}}}; text-align: left; {{#if:{{{obtain-text|}}}{{{obtain-level|}}} | border-left: 6px solid #{{#switch:{{ucfirst:{{{obtain-level|}}}}}
 
  | Very Easy      = B5F3FF; background: #F0F8FF
 
  | Very Easy      = B5F3FF; background: #F0F8FF
 
  | Easy          = B5F36D; background: #F0F8E7
 
  | Easy          = B5F36D; background: #F0F8E7
Line 14: Line 14:
 
  }}; margin: 1em 0em; | }}"<!-- END STYLE -->
 
  }}; margin: 1em 0em; | }}"<!-- END STYLE -->
 
| width="10%" style="padding:0em 0.5em;" | [[File:{{{3|TF2_crosshair.png}}}|64px|center|alt={{{1|Achievement}}}]]
 
| width="10%" style="padding:0em 0.5em;" | [[File:{{{3|TF2_crosshair.png}}}|64px|center|alt={{{1|Achievement}}}]]
| style="padding-left: 4px; padding-right: 4px; {{lang|ar=text-align:right;}}" | '''''{{{1|Achievement Name}}}'''''<br />{{{2|Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet.}}}{{#if:{{{reward|}}}|<br />
+
| style="padding-left: 4px; padding-right: 4px; {{lang incomplete|ar=text-align:right;}}" | '''''{{{1|Achievement Name}}}'''''<br />{{{2|Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet.}}}{{#if:{{{reward|}}}|<br />
 
<small>'''{{lang
 
<small>'''{{lang
 +
| en = Reward
 
  | ar = جائزة
 
  | ar = جائزة
 
  | cs = Odměna
 
  | cs = Odměna
  | en = Reward
+
  | da = Belønning
 
  | de = Belohnung
 
  | de = Belohnung
 
  | es = Recompensa
 
  | es = Recompensa
 
  | fi = Palkkio
 
  | fi = Palkkio
 
  | fr = Récompense
 
  | fr = Récompense
 +
| hu = Jutalom
 
  | it = Ricompensa
 
  | it = Ricompensa
| hu = Jutalom
 
 
  | ja = 報酬
 
  | ja = 報酬
 
  | ko = 보상
 
  | ko = 보상
Line 31: Line 32:
 
  | pl = Nagroda
 
  | pl = Nagroda
 
  | pt = Recompensa
 
  | pt = Recompensa
  | pt-br = Recompensa
+
  | pt-br = Recompensa(s)
 
  | ro = Recompensă
 
  | ro = Recompensă
 
  | ru = Награда
 
  | ru = Награда
Line 40: Line 41:
 
}}:''' {{{reward}}}</small>|}}{{#if:{{{obtain-text|}}}{{{obtain-level|}}}
 
}}:''' {{{reward}}}</small>|}}{{#if:{{{obtain-text|}}}{{{obtain-level|}}}
 
  | <hr style="margin: 0.5em 0;" />'''{{lang
 
  | <hr style="margin: 0.5em 0;" />'''{{lang
 +
  | en = Difficulty
 
   | ar = صعوبة
 
   | ar = صعوبة
 
   | cs = Obtížnost
 
   | cs = Obtížnost
   | en = Difficulty
+
   | da = Sværhedsgrad
 +
  | de = Schwierigkeitsgrad
 
   | es = Dificultad
 
   | es = Dificultad
  | de = Schwierigkeitsgrad
 
 
   | fi = Vaikeustaso
 
   | fi = Vaikeustaso
 
   | fr = Difficulté
 
   | fr = Difficulté
 +
  | hu = Nehézség
 
   | it = Difficoltà
 
   | it = Difficoltà
  | hu = Nehézség
 
 
   | ja = 難易度
 
   | ja = 難易度
 +
  | ko = 난이도
 
   | nl = Moeilijkheidsgraad
 
   | nl = Moeilijkheidsgraad
  | ko = 난이도
 
 
   | no = Vanskelighetsgrad
 
   | no = Vanskelighetsgrad
 
   | pl = Poziom trudności
 
   | pl = Poziom trudności
Line 58: Line 60:
 
   | ro = Nivel de Dificultate
 
   | ro = Nivel de Dificultate
 
   | ru = Сложность
 
   | ru = Сложность
   | sv = Svårighet
+
   | sv = Svårighetsgrad
 
   | tr = Zorluk
 
   | tr = Zorluk
 
   | zh-hans = 难度
 
   | zh-hans = 难度
Line 64: Line 66:
 
   }}:''' {{#switch:{{ucfirst:{{{obtain-level|}}}}}
 
   }}:''' {{#switch:{{ucfirst:{{{obtain-level|}}}}}
 
   | Very Easy = {{lang
 
   | Very Easy = {{lang
 +
    | en = Very Easy
 
     | ar = سهل جدا
 
     | ar = سهل جدا
     | cs = Velmi Snadné
+
     | cs = Velmi snadné
     | en = Very Easy
+
     | da = Meget let
    | es = Muy Fácil
 
    | it = Molto Facile
 
 
     | de = Sehr Leicht
 
     | de = Sehr Leicht
 +
    | es = Muy fácil
 
     | fi = Erittäin helppo
 
     | fi = Erittäin helppo
 
     | fr = Très facile
 
     | fr = Très facile
 
     | hu = Nagyon könnyű
 
     | hu = Nagyon könnyű
 +
    | it = Molto Facile
 
     | ja = Very Easy
 
     | ja = Very Easy
 +
    | ko = 매우 쉬움
 
     | nl = Zeer Gemakkelijk
 
     | nl = Zeer Gemakkelijk
    | ko = 매우 쉬움
 
 
     | no = Veldig Lett
 
     | no = Veldig Lett
 
     | pl = Bardzo łatwy
 
     | pl = Bardzo łatwy
 
     | pt = Muito Fácil
 
     | pt = Muito Fácil
     | pt-br = Muito Fácil
+
     | pt-br = Muito fácil
 
     | ro = Foarte Uşor
 
     | ro = Foarte Uşor
 
     | ru = Очень низкая
 
     | ru = Очень низкая
Line 88: Line 91:
 
     }}
 
     }}
 
   | Easy = {{lang
 
   | Easy = {{lang
 +
    | en = Easy
 
     | ar = سهل
 
     | ar = سهل
 
     | cs = Snadné
 
     | cs = Snadné
     | en = Easy
+
     | da = Let
 +
    | de = Leicht
 
     | es = Fácil
 
     | es = Fácil
    | it = Facile
 
    | de = Leicht
 
 
     | fi = Helppo
 
     | fi = Helppo
 
     | fr = Facile
 
     | fr = Facile
 
     | hu = Könnyű
 
     | hu = Könnyű
 +
    | it = Facile
 
     | ja = Easy
 
     | ja = Easy
 
     | ko = 쉬움
 
     | ko = 쉬움
Line 112: Line 116:
 
     }}
 
     }}
 
   | Medium = {{lang
 
   | Medium = {{lang
 +
    | en = Medium
 
     | ar = متوسط
 
     | ar = متوسط
 
     | cs = Střední
 
     | cs = Střední
     | en = Medium
+
     | da = Normal
 +
    | de = Mittel
 
     | es = Media
 
     | es = Media
    | it = Medio
 
    | de = Mittel
 
 
     | fi = Keskivaikea
 
     | fi = Keskivaikea
 
     | fr = Moyenne
 
     | fr = Moyenne
 
     | hu = Közepes
 
     | hu = Közepes
 +
    | it = Media
 
     | ja = Medium
 
     | ja = Medium
 
     | ko = 보통
 
     | ko = 보통
Line 136: Line 141:
 
     }}
 
     }}
 
   | Hard = {{lang
 
   | Hard = {{lang
 +
    | en = Hard
 
     | ar = صعب
 
     | ar = صعب
 
     | cs = Těžké
 
     | cs = Těžké
     | en = Hard
+
     | da = Svær
 +
    | de = Schwer
 
     | es = Difícil
 
     | es = Difícil
    | it = Difficile
 
    | de = Schwer
 
 
     | fi = Vaikea
 
     | fi = Vaikea
 
     | fr = Difficile
 
     | fr = Difficile
 
     | hu = Nehéz
 
     | hu = Nehéz
 +
    | it = Difficile
 
     | ja = Hard
 
     | ja = Hard
 
     | ko = 어려움
 
     | ko = 어려움
Line 154: Line 160:
 
     | ro = Dificil
 
     | ro = Dificil
 
     | ru = Высокая
 
     | ru = Высокая
     | sv = Svår
+
     | sv = Svårt
 
     | tr = Zor
 
     | tr = Zor
 
     | zh-hans = 困难
 
     | zh-hans = 困难
Line 160: Line 166:
 
     }}
 
     }}
 
   | Very Hard = {{lang
 
   | Very Hard = {{lang
 +
    | en = Very Hard
 
     | ar = صعب جدا
 
     | ar = صعب جدا
     | cs = Velmi Těžké
+
     | cs = Velmi těžké
     | en = Very Hard
+
     | da = Meget svær
    | es = Muy Difícil
 
    | it = Molto Difficile
 
 
     | de = Sehr Schwer
 
     | de = Sehr Schwer
 +
    | es = Muy difícil
 
     | fi = Erittäin vaikea
 
     | fi = Erittäin vaikea
 
     | fr = Très difficile
 
     | fr = Très difficile
 
     | hu = Nagyon nehéz
 
     | hu = Nagyon nehéz
 +
    | it = Molto Difficile
 
     | ja = Very Hard
 
     | ja = Very Hard
 
     | ko = 매우 어려움
 
     | ko = 매우 어려움
     | nl = Uitzonderlijk Moeilijk
+
     | nl = Zeer moeilijk
 
     | no = Veldig Vanskelig
 
     | no = Veldig Vanskelig
 
     | pl = Bardzo trudny
 
     | pl = Bardzo trudny
 
     | pt = Muito Difícil
 
     | pt = Muito Difícil
 
     | pt-br = Muito Difícil
 
     | pt-br = Muito Difícil
 +
    | ro =  Foarte Dificil
 
     | ru = Очень высокая
 
     | ru = Очень высокая
     | sv = Mycket Svår
+
     | sv = Mycket Svårt
 
     | tr = Çok Zor
 
     | tr = Çok Zor
 
     | zh-hans = 非常困难
 
     | zh-hans = 非常困难
Line 183: Line 191:
 
     }}
 
     }}
 
     | Varies = {{lang
 
     | Varies = {{lang
 +
    | en = Varies
 +
    | cs = Záleží
 +
    | de = Unterschiedlich
 +
    | es = Varios
 +
    | fr = Varie
 +
    | ko = 다양함
 +
    | nl = Gevarieerd
 +
    | pl = Zależy
 +
    | pt = Varia
 +
    | pt-br = Varia
 +
    | ro =  Depinde
 +
    | ru = Варьируется
 +
    | sv = Varierar
 +
    | tr = Değişken
 +
    | zh-hans = 可变化
 
     | zh-hant = 不一定
 
     | zh-hant = 不一定
 
     }}
 
     }}
 
   | Easy/Medium
 
   | Easy/Medium
 
   | Easy-Medium = {{lang
 
   | Easy-Medium = {{lang
 +
    | en = Easy-Medium
 
     | ar = متوسط-سهل
 
     | ar = متوسط-سهل
 
     | cs = Snadné-Střední
 
     | cs = Snadné-Střední
     | it = Facile/Medio
+
     | da = Let-mellem
    | en = Easy-Medium
 
    | es = Fácil-Media
 
 
     | de = Leicht-Mittel
 
     | de = Leicht-Mittel
 +
    | es = Fácil/Media
 
     | fi = Helppo/Keskivaikea
 
     | fi = Helppo/Keskivaikea
 
     | fr = Facile/Moyenne
 
     | fr = Facile/Moyenne
 
     | hu = Könnyű/közepes
 
     | hu = Könnyű/közepes
 +
    | it = Facile/Media
 
     | ja = Easy-Medium
 
     | ja = Easy-Medium
 
     | ko = 쉬움/보통
 
     | ko = 쉬움/보통
     | nl = Minder Gemakkelijk
+
     | nl = Makkelijk-gemiddeld
 
     | no = Lett/Middels
 
     | no = Lett/Middels
     | pl = Łatwy/Średni
+
     | pl = Łatwy/średni
 
     | pt = Fácil/Média
 
     | pt = Fácil/Média
 
     | pt-br = Fácil/Média
 
     | pt-br = Fácil/Média
Line 212: Line 236:
 
   | Medium/Hard
 
   | Medium/Hard
 
   | Medium-Hard = {{lang
 
   | Medium-Hard = {{lang
 +
    | en = Medium-Hard
 
     | ar = متوسط-صعب
 
     | ar = متوسط-صعب
 
     | cs = Střední-Těžké
 
     | cs = Střední-Těžké
     | en = Medium-Hard
+
     | da = Mellem-svær
    | es = Media-Difícil
 
    | it = Medio/Difficile
 
 
     | de = Mittel-Schwer
 
     | de = Mittel-Schwer
 +
    | es = Media/Difícil
 
     | fi = Keskivaikea/Vaikea
 
     | fi = Keskivaikea/Vaikea
 
     | fr = Moyenne/Difficile
 
     | fr = Moyenne/Difficile
 
     | hu = Közepes/nehéz
 
     | hu = Közepes/nehéz
 +
    | it = Media/Difficile
 
     | ja = Medium-Hard
 
     | ja = Medium-Hard
 
     | ko = 보통/어려움
 
     | ko = 보통/어려움
     | nl = Aan de Moeilijke Kant
+
     | nl = Gemiddeld-moeilijk
 
     | no = Middels/Vanskelig
 
     | no = Middels/Vanskelig
     | pl = Średni/Trudny
+
     | pl = Średni/trudny
 
     | pt = Média/Difícil
 
     | pt = Média/Difícil
 
     | pt-br = Média/Difícil
 
     | pt-br = Média/Difícil
Line 237: Line 262:
 
   | Hard/Very Hard
 
   | Hard/Very Hard
 
   | Hard-Very Hard = {{lang
 
   | Hard-Very Hard = {{lang
 +
    | en = Hard-Very Hard
 
     | ar = صعب - صعب جدا
 
     | ar = صعب - صعب جدا
     | cs = Těžké-Velmi Těžké
+
     | cs = Těžké-Velmi těžké
     | en = Hard-Very Hard
+
     | da = Svær-meget svær
    | es = Difícil-Muy Difícil
 
    | it = Difficile/Molto Difficile
 
 
     | de = Schwer-Sehr Schwer
 
     | de = Schwer-Sehr Schwer
 +
    | es = Difícil/Muy difícil
 
     | fi = Vaikea/Erittäin vaikea
 
     | fi = Vaikea/Erittäin vaikea
 
     | fr = Difficile/Très difficile
 
     | fr = Difficile/Très difficile
 
     | hu = Nehéz/nagyon nehéz
 
     | hu = Nehéz/nagyon nehéz
 +
    | it = Difficile/Molto Difficile
 
     | ja = Hard-Very Hard
 
     | ja = Hard-Very Hard
 
     | ko = 어려움/매우 어려움
 
     | ko = 어려움/매우 어려움
     | nl = Moeilijk-Zeer Moeilijk
+
     | nl = Moeilijk-Zeer moeilijk
 
     | no = Vanskelig/Veldig Vanskelig
 
     | no = Vanskelig/Veldig Vanskelig
     | pl = Trudny/Bardzo trudny
+
     | pl = Trudny/bardzo trudny
 
     | pt = Difícil/Muito Difícil
 
     | pt = Difícil/Muito Difícil
     | pt-br = Difícil/Muito Difícil
+
     | pt-br = Difícil/Muito difícil
 +
    | ro = Dificil - Foarte Dificil
 
     | ru = Высокая — очень высокая
 
     | ru = Высокая — очень высокая
 
     | sv = Svår/Mycket Svår
 
     | sv = Svår/Mycket Svår
Line 261: Line 288:
 
   | #default = {{{obtain-level}}}
 
   | #default = {{{obtain-level}}}
 
   }}<br />'''{{lang
 
   }}<br />'''{{lang
 +
  | en = How to obtain
 
   | ar = كيفية الحصول على
 
   | ar = كيفية الحصول على
 
   | cs = Jak získat
 
   | cs = Jak získat
   | en = How to obtain
+
   | da = Hvordan den opnås
 +
  | de = Wie erreichen
 
   | es = Cómo obtenerlo
 
   | es = Cómo obtenerlo
  | it = Come ottenerlo
 
  | de = Wie erreichen
 
 
   | fi = Näin saavutat
 
   | fi = Näin saavutat
 
   | fr = Comment l'obtenir
 
   | fr = Comment l'obtenir
 
   | hu = Így szerezd meg:
 
   | hu = Így szerezd meg:
   | ja = とり方
+
  | it = Come ottenerlo
   | ko = 깨는 방법
+
   | ja = 解説
 +
   | ko = 달성 방법
 
   | nl = Hoe te verkrijgen
 
   | nl = Hoe te verkrijgen
 
   | no = Hvordan du oppnår
 
   | no = Hvordan du oppnår
   | pl = Jak odblokować
+
   | pl = Jak zdobyć
 
   | pt = Como obter
 
   | pt = Como obter
 
   | pt-br = Como obter
 
   | pt-br = Como obter
 +
  | ro = Cum este obținut
 
   | ru = Как выполнить
 
   | ru = Как выполнить
 
   | sv = Hur man får
 
   | sv = Hur man får
Line 285: Line 314:
 
  | <!-- NULL -->}}
 
  | <!-- NULL -->}}
 
|-
 
|-
|}<noinclude>
 
{{Translation switching|ar, cs, de, es, fi, fr, hu, ja, ko, no, pl, pt, pt-br, ro, it, ru, sv, tr, zh-hans, zh-hant}}
 
{{doc begin}}
 
 
This template was created in order to standardise how achievements appear in article pages.
 
 
You should ''not'' use this template directly. To show a particular achievement on a page, use {{tl|Show achievement}} instead. This template holds only the code to display achievements in a table. It does ''not'' hold any translated text or titles.
 
 
== Parameters ==
 
{| class="wikitable grid" style="width:100%;"
 
! width="12%" | Name
 
! width="30%" | Example
 
! width="auto" | Description
 
|-
 
| {{code|1}}
 
| {{code|Quick Hook}}
 
| Name of the achievement.
 
|-
 
| {{code|2}}
 
| {{code|Kill a player in Well before the round starts.}}
 
| The description (should use exact wording from Steam).
 
|-
 
| {{code|3}}
 
| {{code|Tf quick hook.png}}
 
| The file name of the image (exclude {{code|File:}} or {{code|Image:}} prefix)
 
|-
 
| {{code|reward}}
 
| {{code|[[Ambassador]]}}
 
| If the achievement is a Milestone, a link to the weapon that is earned.
 
|-
 
! style="text-align:left;" colspan="3" | ''Style''
 
|-
 
| {{code|width}}
 
| {{code|100%}}
 
| The width. Can be set to {{code|50%}} if not used in a table, otherwise it defaults to {{code|100%}}.
 
|-
 
! style="text-align:left;" colspan="3" | ''Obtaining''
 
|-
 
| {{code|obtain-level}}
 
| {{code|easy}}
 
| The level of difficulty. Accepts "easy", "medium" and "hard". This also gives the box a coloured background and border on the left. Not defining a level of difficulty gives the box a grey background.
 
|-
 
| {{code|obtain-text}}
 
| {{code|Simply build a Sentry Gun and keep it alive to get 10 kills to earn this achievement.}}
 
| The description text.
 
 
|}
 
|}
 
+
<noinclude>
== See also ==
+
{{Translation switching|en, cs, de, es, fr, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
* {{tl|Show achievement}} &ndash; the template to use to display achievements.
+
{{documentation}}
* {{tl|Achievement table}} &ndash; display achievements within a table.
 
* [[:Category:Achievement insertion templates/core]] &ndash; holds the templates that store text & titles of achievements in multiple languages.
 
 
 
[[Category:Formatting templates|Achievement]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:21, 17 February 2024

Achievement
Achievement Name
Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet.

Template documentation [view] [edit] [history] [purge]

This template was created in order to standardise how achievements appear in article pages.

You should not use this template directly. To show a particular achievement on a page, use {{Show achievement}} instead. This template holds only the code to display achievements in a table. It does not hold any translated text or titles.

Parameters

Name Example Description
1 Quick Hook Name of the achievement.
2 Kill a player in Well before the round starts. The description (should use exact wording from Steam).
3 Tf quick hook.png The file name of the image (exclude File: or Image: prefix)
reward Ambassador If the achievement is a Milestone, a link to the weapon that is earned.
Style
width 100% The width. Can be set to 50% if not used in a table, otherwise it defaults to 100%.
Obtaining
obtain-level easy The level of difficulty. Accepts "very easy", "easy", "medium","hard", and "very hard". This also gives the box a coloured background and border on the left. Not defining a level of difficulty gives the box a grey background.
obtain-text Simply build a Sentry Gun and keep it alive to get 10 kills to earn this achievement. The description text.

See also