Template:Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Replaced chapter backgrounds with much lighter (KBs) ones)
m (Replaced chapter backgrounds with much lighter (KBs) ones)
Line 44: Line 44:
|hl2ep1|ep1|episodic = <!-- Half-Life 2: Episode One -->
|hl2ep1|ep1|episodic = <!-- Half-Life 2: Episode One -->
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 1.png|160px|Chapter 1: Undue Alarm|link=Undue Alarm]]<br>'''[[Undue Alarm|{{Chapters/strings|Undue Alarm}}]]'''<br>{{code|ep1_citadel_00}} }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 1 thumb.jpg|160px|Chapter 1: Undue Alarm|link=Undue Alarm]]<br>'''[[Undue Alarm|{{Chapters/strings|Undue Alarm}}]]'''<br>{{code|ep1_citadel_00}} }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 2.png|160px|Chapter 2: Direct Intervention|link=Direct Intervention]]<br>'''[[Direct Intervention|{{Chapters/strings|Direct Intervention}}]]'''<br>{{code|ep1_citadel_03}} }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 2 thumb.jpg|160px|Chapter 2: Direct Intervention|link=Direct Intervention]]<br>'''[[Direct Intervention|{{Chapters/strings|Direct Intervention}}]]'''<br>{{code|ep1_citadel_03}} }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 3.png|160px|Chapter 3: Lowlife|link=Lowlife]]<br>'''[[Lowlife|{{Chapters/strings|Lowlife}}]]'''<br>{{code|ep1_c17_00}} }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 3 thumb.jpg|160px|Chapter 3: Lowlife|link=Lowlife]]<br>'''[[Lowlife|{{Chapters/strings|Lowlife}}]]'''<br>{{code|ep1_c17_00}} }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 4.png|160px|Chapter 4: Urban Flight|link=Urban Flight]]<br>'''[[Urban Flight|{{Chapters/strings|Urban Flight}}]]'''<br>{{code|ep1_c17_01}} }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 4 thumb.jpg|160px|Chapter 4: Urban Flight|link=Urban Flight]]<br>'''[[Urban Flight|{{Chapters/strings|Urban Flight}}]]'''<br>{{code|ep1_c17_01}} }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 5.png|160px|Chapter 5: Exit 17|link=Exit 17]]<br>'''[[Exit 17|{{Chapters/strings|Exit 17}}]]'''<br>{{code|ep1_c17_05}} }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 5 thumb.jpg|160px|Chapter 5: Exit 17|link=Exit 17]]<br>'''[[Exit 17|{{Chapters/strings|Exit 17}}]]'''<br>{{code|ep1_c17_05}} }}
}}
}}
|hl2ep2|ep2 = <!-- Half-Life 2: Episode Two -->
|hl2ep2|ep2 = <!-- Half-Life 2: Episode Two -->

Revision as of 13:37, 24 June 2024

English (en)Tiếng Việt (vi)
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Number of strings:90
Approximate status of translation:English (en) 100% Deutsch (de) 57.78% Español (es) 22.22% Hrvatski (hr) 65.56% Русский (ru) 75.56% Tiếng Việt (vi) 6.67% 中文 (zh) 96.67% 
Gnome app science.png
This template uses a Testcases subpage
You can test how this page looks with it's different skins and parsers.

This template is used to list all game chapters, campaign or missions. Chapters name (and titlebar itself) are also translated automatically, but users can add new translations on the strings subpage.

Parameters

Parameter Description Value Previews
None Default appearance
(By default its expanded, for the documentation, its collapsed)
N/A
{{{game}}} Game name, uses anything that are based off {{Software}} template.
| game = hl
{{{type}}} Changes the title bar to Chapters, campaigns or missions.
| type = chapters
| type = camp
| type = missions
{{{state}}} ~ {{{state<?>}}} Collapses the chapters.
(<?>: Unknown amount of states, used in "Template:Chapters/<game name>")
| state = collapsed

| state1 = collapsed