Template:Achievement: Difference between revisions

From the Portal Wiki
Jump to navigation Jump to search
(Created page with "{| cellpadding="0" style="width: {{{width|50%}}}; text-align: left; {{#if:{{{obtain-text|}}}{{{obtain-level|}}} | border-left: 6px solid #{{#switch:{{ucfirst:{{{obtain-level|}}}}...")
 
(Undo revision 183971 by KEMONO PANTSU (talk))
 
(6 intermediate revisions by 6 users not shown)
Line 13: Line 13:
  | #default      = D3D3D3; background: #EEE
  | #default      = D3D3D3; background: #EEE
  }}; 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|Achievement Aperture Science.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|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
Line 77: Line 77:
     | 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 169: Line 169:
     | pl = Bardzo trudny
     | pl = Bardzo trudny
     | pt = Muito Difícil
     | pt = Muito Difícil
     | pt-br = Muito Difícil
     | pt-br = Muito difícil
     | ru = Очень высокая
     | ru = Очень высокая
     | sv = Mycket Svår
     | sv = Mycket Svår
Line 239: Line 239:
     | 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
     | ru = Высокая — очень высокая
     | ru = Высокая — очень высокая
     | sv = Svår/Mycket Svår
     | sv = Svår/Mycket Svår
Line 256: Line 257:
   | fr = Comment l'obtenir
   | fr = Comment l'obtenir
   | hu = Így szerezd meg:
   | hu = Így szerezd meg:
   | ja = とり方
   | ja = 取得方法
   | ko = 깨는 방법
   | ko = 깨는 방법
   | nl = Hoe te verkrijgen
   | nl = Hoe te verkrijgen
Line 271: Line 272:
|-
|-
|}<noinclude>
|}<noinclude>
{{Translation switching|ar, cs, de, es, fi, fr, hu, ja, ko, no, pl, pt, pt-br, ro, it, ru, sv, zh-hans, zh-hant}}
{{Translation switching|ar, cs, de, es, fi, fr, hu, ja, ko, no, nl, pl, pt, pt-br, ro, it, ru, sv, zh-hans, zh-hant}}
{{doc begin}}
{{doc begin}}



Latest revision as of 04:09, 13 June 2023

Achievement
Achievement Name
Lorem ipsum dolor sit amet, lorem ipsum, dolor, sit amet.
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for Achievement


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 Heartbreaker Name of the achievement.
2 Complete Portal. The description (should use exact wording from Steam).
3 Tf quick hook.png The file name of the image (exclude File: or Image: prefix)
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 "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.
obtain-text Just beat the game to the end The description text.

See also