Difference between revisions of "Template:Achievement"

From Team Fortress Wiki
Jump to: navigation, search
m
m (Added missing PT-BR translation and updated some existing ones; updated {{translation switching}}.)
 
(97 intermediate revisions by 54 users not shown)
Line 1: Line 1:
<table cellpadding="0" style="width: {{{width|50%}}}; text-align: left;"><tr>
+
{| 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|}}}}}
<td width="10%">[[File:{{{3|TF2_crosshair.png}}}|56px]]</td>
+
| Very Easy      = B5F3FF; background: #F0F8FF
<td style="padding-left: 4px; padding-right: 4px;">'''''{{{1|Achievement Name}}}'''''<br />{{{2|Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet.}}}{{#if:{{{reward|}}}|<br />
+
| Easy          = B5F36D; background: #F0F8E7
<small>'''Reward''': [[{{{reward|Weapons}}}|{{{reward|Weapon name}}}]]</small></td>|</td>}}</tr></table><noinclude>
+
| Easy/Medium
 
+
| Easy-Medium    = D1D746; background: #F6F7DA
== Usage ==
+
| Medium        = FFC345; background: #FFF3DA
This template was created in order to standardise how achievements appear in article pages.
+
| Medium/Hard
* {{ Achievement
+
| Medium-Hard    = FA8944; background: #FEE5DA
** | ''Quick Hook''  - name of the achievement.
+
| Hard          = FA8944; background: #FEE5DA
** | ''Kill a player in Well before the round starts.'' - the corresponding description (should use exact wording from Steam page).
+
| Hard/Very Hard
** | ''Quick hook.png'' - file name of the image (excluding "File:" or "Image:" prefix). Will display TF2 logo if none is given.
+
| Hard-Very Hard = CF3C38; background: #F6D8D7
** | ''reward = Ambassador'' - if the achievement is a Milestone achievement, put the name of the weapon that is earned (i.e. the [[Ambassador]]).
+
| Very Hard      = a42e2c; background: #EDD5D5
** | ''width = 50%'' - handy for use in pages with two columns of achievements.
+
| #default      = D3D3D3; background: #EEE
* <nowiki>}}</nowiki>
+
}}; margin: 1em 0em; | }}"<!-- END STYLE -->
 
+
| width="10%" style="padding:0em 0.5em;" | [[File:{{{3|TF2_crosshair.png}}}|64px|center|alt={{{1|Achievement}}}]]
[[Category:Formatting templates|Achievement]]
+
| 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
 +
| en = Reward
 +
| ar = جائزة
 +
| cs = Odměna
 +
| da = Belønning
 +
| de = Belohnung
 +
| es = Recompensa
 +
| fi = Palkkio
 +
| fr = Récompense
 +
| hu = Jutalom
 +
| it = Ricompensa
 +
| ja = 報酬
 +
| ko = 보상
 +
| nl = Beloning
 +
| no = Belønning
 +
| pl = Nagroda
 +
| pt = Recompensa
 +
| pt-br = Recompensa(s)
 +
| ro = Recompensă
 +
| ru = Награда
 +
| sv = Belöning
 +
| tr = Ödül
 +
| zh-hans = 奖励
 +
| zh-hant = 獎勵
 +
}}:''' {{{reward}}}</small>|}}{{#if:{{{obtain-text|}}}{{{obtain-level|}}}
 +
| <hr style="margin: 0.5em 0;" />'''{{lang
 +
  | en = Difficulty
 +
  | ar = صعوبة
 +
  | cs = Obtížnost
 +
  | da = Sværhedsgrad
 +
  | de = Schwierigkeitsgrad
 +
  | es = Dificultad
 +
  | fi = Vaikeustaso
 +
  | fr = Difficulté
 +
  | hu = Nehézség
 +
  | it = Difficoltà
 +
  | ja = 難易度
 +
  | ko = 난이도
 +
  | nl = Moeilijkheidsgraad
 +
  | no = Vanskelighetsgrad
 +
  | pl = Poziom trudności
 +
  | pt = Dificuldade
 +
  | pt-br = Dificuldade
 +
  | ro = Nivel de Dificultate
 +
  | ru = Сложность
 +
  | sv = Svårighetsgrad
 +
  | tr = Zorluk
 +
  | zh-hans = 难度
 +
  | zh-hant = 難度
 +
  }}:''' {{#switch:{{ucfirst:{{{obtain-level|}}}}}
 +
  | Very Easy = {{lang
 +
    | en = Very Easy
 +
    | ar = سهل جدا
 +
    | cs = Velmi snadné
 +
    | da = Meget let
 +
    | de = Sehr Leicht
 +
    | es = Muy fácil
 +
    | fi = Erittäin helppo
 +
    | fr = Très facile
 +
    | hu = Nagyon könnyű
 +
    | it = Molto Facile
 +
    | ja = Very Easy
 +
    | ko = 매우 쉬움
 +
    | nl = Zeer gemakkelijk
 +
    | no = Veldig Lett
 +
    | pl = Bardzo łatwy
 +
    | pt = Muito Fácil
 +
    | pt-br = Muito fácil
 +
    | ro = Foarte Uşor
 +
    | ru = Очень низкая
 +
    | sv = Mycket Lätt
 +
    | tr = Çok Kolay
 +
    | zh-hans = 非常容易
 +
    | zh-hant = 非常容易
 +
    }}
 +
  | Easy = {{lang
 +
    | en = Easy
 +
    | ar = سهل
 +
    | cs = Snadné
 +
    | da = Let
 +
    | de = Leicht
 +
    | es = Fácil
 +
    | fi = Helppo
 +
    | fr = Facile
 +
    | hu = Könnyű
 +
    | it = Facile
 +
    | ja = Easy
 +
    | ko = 쉬움
 +
    | nl = Gemakkelijk
 +
    | no = Lett
 +
    | pl = Łatwy
 +
    | pt = Fácil
 +
    | pt-br = Fácil
 +
    | ro = Uşor
 +
    | ru = Низкая
 +
    | sv = Lätt
 +
    | tr = Kolay
 +
    | zh-hans = 容易
 +
    | zh-hant = 容易
 +
    }}
 +
  | Medium = {{lang
 +
    | en = Medium
 +
    | ar = متوسط
 +
    | cs = Střední
 +
    | da = Normal
 +
    | de = Mittel
 +
    | es = Media
 +
    | fi = Keskivaikea
 +
    | fr = Moyenne
 +
    | hu = Közepes
 +
    | it = Media
 +
    | ja = Medium
 +
    | ko = 보통
 +
    | nl = Gemiddeld
 +
    | no = Middels
 +
    | pl = Średni
 +
    | pt = Média
 +
    | pt-br = Média
 +
    | ro = Mediu
 +
    | ru = Средняя
 +
    | sv = Medium
 +
    | tr = Orta
 +
    | zh-hans = 一般
 +
    | zh-hant = 一般
 +
    }}
 +
  | Hard = {{lang
 +
    | en = Hard
 +
    | ar = صعب
 +
    | cs = Těžké
 +
    | da = Svær
 +
    | de = Schwer
 +
    | es = Difícil
 +
    | fi = Vaikea
 +
    | fr = Difficile
 +
    | hu = Nehéz
 +
    | it = Difficile
 +
    | ja = Hard
 +
    | ko = 어려움
 +
    | nl = Moeilijk
 +
    | no = Vanskelig
 +
    | pl = Trudny
 +
    | pt = Difícil
 +
    | pt-br = Difícil
 +
    | ro = Dificil
 +
    | ru = Высокая
 +
    | sv = Svårt
 +
    | tr = Zor
 +
    | zh-hans = 困难
 +
    | zh-hant = 困難
 +
    }}
 +
  | Very Hard = {{lang
 +
    | en = Very Hard
 +
    | ar = صعب جدا
 +
    | cs = Velmi těžké
 +
    | da = Meget svær
 +
    | de = Sehr Schwer
 +
    | es = Muy difícil
 +
    | fi = Erittäin vaikea
 +
    | fr = Très difficile
 +
    | hu = Nagyon nehéz
 +
    | it = Molto Difficile
 +
    | ja = Very Hard
 +
    | ko = 매우 어려움
 +
    | nl = Zeer moeilijk
 +
    | no = Veldig Vanskelig
 +
    | pl = Bardzo trudny
 +
    | pt = Muito Difícil
 +
    | pt-br = Muito difícil
 +
    | ro =  Foarte Dificil
 +
    | ru = Очень высокая
 +
    | sv = Mycket Svårt
 +
    | tr = Çok Zor
 +
    | zh-hans = 非常困难
 +
    | zh-hant = 非常困難
 +
    }}
 +
    | Varies = {{lang
 +
    | en = Varies
 +
    | cs = Záleží
 +
    | de = Unterschiedlich
 +
    | es = Varía
 +
    | fr = Varie
 +
    | ko = 다양함
 +
    | nl = Gevarieerd
 +
    | pl = Zależy
 +
    | pt = Varia
 +
    | pt-br = Variável
 +
    | ro =  Depinde
 +
    | ru = Варьируется
 +
    | sv = Varierar
 +
    | tr = Değişken
 +
    | zh-hans = 可变化
 +
    | zh-hant = 不一定
 +
    }}
 +
  | Easy/Medium
 +
  | Easy-Medium = {{lang
 +
    | en = Easy-Medium
 +
    | ar = متوسط-سهل
 +
    | cs = Snadné-Střední
 +
    | da = Let-mellem
 +
    | de = Leicht-Mittel
 +
    | es = Fácil/Media
 +
    | fi = Helppo/Keskivaikea
 +
    | fr = Facile/Moyenne
 +
    | hu = Könnyű/közepes
 +
    | it = Facile/Media
 +
    | ja = Easy-Medium
 +
    | ko = 쉬움/보통
 +
    | nl = Makkelijk-gemiddeld
 +
    | no = Lett/Middels
 +
    | pl = Łatwy/średni
 +
    | pt = Fácil/Média
 +
    | pt-br = Fácil/Média
 +
    | ro = Uşor - Mediu
 +
    | ru = Низкая — средняя
 +
    | sv = Lätt/Medium
 +
    | tr = Kolay/Orta
 +
    | zh-hans = 容易/一般
 +
    | zh-hant = 容易~一般
 +
    }}
 +
  | Medium/Hard
 +
  | Medium-Hard = {{lang
 +
    | en = Medium-Hard
 +
    | ar = متوسط-صعب
 +
    | cs = Střední-Těžké
 +
    | da = Mellem-svær
 +
    | de = Mittel-Schwer
 +
    | es = Media/Difícil
 +
    | fi = Keskivaikea/Vaikea
 +
    | fr = Moyenne/Difficile
 +
    | hu = Közepes/nehéz
 +
    | it = Media/Difficile
 +
    | ja = Medium-Hard
 +
    | ko = 보통/어려움
 +
    | nl = Gemiddeld-moeilijk
 +
    | no = Middels/Vanskelig
 +
    | pl = Średni/trudny
 +
    | pt = Média/Difícil
 +
    | pt-br = Média/Difícil
 +
    | ro = Mediu - Dificil
 +
    | ru = Средняя — высокая
 +
    | sv = Medium/Svår
 +
    | tr = Orta/Zor
 +
    | zh-hans = 一般/困难
 +
    | zh-hant = 一般~困難
 +
    }}
 +
  | Hard/Very Hard
 +
  | Hard-Very Hard = {{lang
 +
    | en = Hard-Very Hard
 +
    | ar = صعب - صعب جدا
 +
    | cs = Těžké-Velmi těžké
 +
    | da = Svær-meget svær
 +
    | de = Schwer-Sehr Schwer
 +
    | es = Difícil/Muy difícil
 +
    | fi = Vaikea/Erittäin vaikea
 +
    | fr = Difficile/Très difficile
 +
    | hu = Nehéz/nagyon nehéz
 +
    | it = Difficile/Molto Difficile
 +
    | ja = Hard-Very Hard
 +
    | ko = 어려움/매우 어려움
 +
    | nl = Moeilijk-Zeer moeilijk
 +
    | no = Vanskelig/Veldig Vanskelig
 +
    | pl = Trudny/bardzo trudny
 +
    | pt = Difícil/Muito difícil
 +
    | pt-br = Difícil/Muito difícil
 +
    | ro = Dificil - Foarte Dificil
 +
    | ru = Высокая — очень высокая
 +
    | sv = Svår/Mycket Svår
 +
    | tr = Zor/Çok Zor
 +
    | zh-hans = 困难/非常困难
 +
    | zh-hant = 困难~非常困難
 +
    }}
 +
  | Unachievable = {{lang
 +
    | en = Unachievable
 +
    | es = Imposible de obtener
 +
    | nl = Onmogelijk
 +
    | pt-br = Inalcançável
 +
    | ru = Невозможная к получению
 +
}}
 +
  | #default = {{{obtain-level}}}
 +
  }}<br />'''{{lang
 +
  | en = How to obtain
 +
  | ar = كيفية الحصول على
 +
  | cs = Jak získat
 +
  | da = Hvordan den opnås
 +
  | de = Wie erreichen
 +
  | es = Cómo obtenerlo
 +
  | fi = Näin saavutat
 +
  | fr = Comment l'obtenir
 +
  | hu = Így szerezd meg:
 +
  | it = Come ottenerlo
 +
  | ja = 解説
 +
  | ko = 달성 방법
 +
  | nl = Hoe te verkrijgen
 +
  | no = Hvordan du oppnår
 +
  | pl = Jak zdobyć
 +
  | pt = Como obter
 +
  | pt-br = Como alcançar
 +
  | ro = Cum este obținut
 +
  | ru = Как выполнить
 +
  | sv = Hur man får
 +
  | tr = Nasıl Kazanılır
 +
  | zh-hans = 如何取得
 +
  | zh-hant = 如何取得
 +
  }}:''' {{{obtain-text|Lorem ipsum dolor sit amet.}}}
 +
| <!-- NULL -->}}
 +
|-
 +
|}
 +
<noinclude>
 +
{{Translation switching|en, es, nl, pt-br, ru}}
 +
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:31, 28 September 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", "very hard" and "unachievable". 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