Template:Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added Opposing Force.)
No edit summary
Line 16: Line 16:
{{#switch: {{{game|hl2}}}
{{#switch: {{{game|hl2}}}
|#default
|#default
|hl2=
|hl2 = <!-- Half-Life 2 -->
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 1.png|160px|Chapter 1: Point Insertion|link=Point Insertion]]<br>'''[[Point Insertion]]'''<br>{{code|d1_trainstation_01}} }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 1.png|160px|Chapter 1: Point Insertion|link=Point Insertion]]<br>'''[[Point Insertion]]'''<br>{{code|d1_trainstation_01}} }}
Line 39: Line 39:
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 13.png|160px|Chapter 13: Dark Energy|link=Dark Energy]]<br>'''[[Dark Energy]]'''<br>{{code|d3_breen_01}} }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 13.png|160px|Chapter 13: Dark Energy|link=Dark Energy]]<br>'''[[Dark Energy]]'''<br>{{code|d3_breen_01}} }}
}}
}}
|hl2ep1|ep1|episodic=
|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]]'''<br>{{code|ep1_citadel_00}} }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 1.png|160px|Chapter 1: Undue Alarm|link=Undue Alarm]]<br>'''[[Undue Alarm]]'''<br>{{code|ep1_citadel_00}} }}
Line 49: Line 49:
| {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 5.png|160px|Chapter 5: Exit 17|link=Exit 17]]<br>'''[[Exit 17]]'''<br>{{code|ep1_c17_05}} }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2EP1 GamepadUI - Chapter 5.png|160px|Chapter 5: Exit 17|link=Exit 17]]<br>'''[[Exit 17]]'''<br>{{code|ep1_c17_05}} }}
}}
}}
|hl2ep2|ep2=
|hl2ep2|ep2 = <!-- Half-Life 2: Episode Two -->
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| [[File:HL2EP2 GamepadUI - Chapter 1.png|160px|Chapter 1: To The White Forest|link=To The White Forest]]<br>'''[[To The White Forest]]'''<br>{{code|ep2_outland_01}} }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2EP2 GamepadUI - Chapter 1.png|160px|Chapter 1: To The White Forest|link=To The White Forest]]<br>'''[[To The White Forest]]'''<br>{{code|ep2_outland_01}} }}
Line 61: Line 61:
  {{td|width = 25%|font-size = 0.95em| [[File:HL2EP2 GamepadUI - Chapter 7.png|160px|Chapter 7: T-Minus One|link=T-Minus One]]<br>'''[[T-Minus One]]'''<br>{{code|ep2_outland_12a}} }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2EP2 GamepadUI - Chapter 7.png|160px|Chapter 7: T-Minus One|link=T-Minus One]]<br>'''[[T-Minus One]]'''<br>{{code|ep2_outland_12a}} }}
}}
}}
|hl|hl1|hls =
|hl|hl1|hls = <!-- Half-Life -->
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Hazard Course|{{Chapters/strings|Hazard Course}}]]'''<br>{{code|t0a0}} }}
| {{td|width = 25%|font-size = 0.95em| '''[[Hazard Course|{{Chapters/strings|Hazard Course}}]]'''<br>{{code|t0a0}} }}
Line 92: Line 92:
  {{td|width = 25%|font-size = 0.95em| '''[[Endgame|{{Chapters/strings|Endgame}}]]'''<br>{{code|c5a1}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Endgame|{{Chapters/strings|Endgame}}]]'''<br>{{code|c5a1}} }}
}}
}}
|bms =<!-- same chapters with HL1, but different links -->
|bms = <!-- Black Mesa Source. same chapters with HL1, but different links -->
{{tr|align = center
{{tr|align = center
| <!-- {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Hazard Course|{{Chapters/strings|Hazard Course}}]]''' }} Only available as a mod. BMS cut the whole Hazard Course because devs think it's useless now thanks to "env_hudhint". -->
| <!-- {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Hazard Course|{{Chapters/strings|Hazard Course}}]]''' }} Only available as a mod. BMS cut the whole Hazard Course because devs think it's useless now thanks to "env_hudhint". -->
Line 123: Line 123:
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Endgame|{{Chapters/strings|Endgame}}]]'''<br>{{code|bm_c5a1a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Endgame|{{Chapters/strings|Endgame}}]]'''<br>{{code|bm_c5a1a}} }}
}}
}}
|hlop4|hlof =<!-- same chapters with HL1, but different links -->
|hlop4|hlof = <!-- Half-Life: Opposing Force -->
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Boot Camp|{{Chapters/strings|Boot Camp}}]]'''<!-- <br>{{code|bm_c0a0a}} -->}}
| {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Boot Camp|{{Chapters/strings|Boot Camp}}]]'''<!-- <br>{{code|bm_c0a0a}} -->}}
Line 146: Line 146:
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Conclusion|{{Chapters/strings|Conclusion}}]]'''<!-- <br>{{code|bm_c3a2a}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Conclusion|{{Chapters/strings|Conclusion}}]]'''<!-- <br>{{code|bm_c3a2a}} -->}}
}}
}}
|portal2|p2 =
|portal2|p2 = <!-- Portal 2 -->
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_2_-_Chapter_1.png|160px|Chapter 1: The Courtesy Call|link=https://theportalwiki.com/wiki/Story#Chapter_1:_The_Courtesy_Call_(Act_1)_/_Chapter_2:_The_Cold_Boot_(Act_2)]]<br>'''{{portalwiki|Story#Chapter_1:_The_Courtesy_Call_(Act_1)_/_Chapter_2:_The_Cold_Boot_(Act_2)|The Courtesy Call|icon=hide}}''' }}
| {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_2_-_Chapter_1.png|160px|Chapter 1: The Courtesy Call|link=https://theportalwiki.com/wiki/Story#Chapter_1:_The_Courtesy_Call_(Act_1)_/_Chapter_2:_The_Cold_Boot_(Act_2)]]<br>'''{{portalwiki|Story#Chapter_1:_The_Courtesy_Call_(Act_1)_/_Chapter_2:_The_Cold_Boot_(Act_2)|The Courtesy Call|icon=hide}}''' }}
Line 163: Line 163:
  {{td|width = 25%|font-size = 0.95em| {{portalwiki|Cooperative_Testing_Initiative#Courses|Co-op|icon=hide}} }}
  {{td|width = 25%|font-size = 0.95em| {{portalwiki|Cooperative_Testing_Initiative#Courses|Co-op|icon=hide}} }}
}}
}}
|l4d|left4dead=
|l4d|left4dead= <!-- Left 4 Dead -->
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| [[File:C8_nomercy.png|224px|No Mercy|link=https://left4dead.fandom.com/wiki/No_Mercy]]<br>'''{{l4dwiki|No Mercy|icon=hide}}''' }}
| {{td|width = 25%|font-size = 0.95em| [[File:C8_nomercy.png|224px|No Mercy|link=https://left4dead.fandom.com/wiki/No_Mercy]]<br>'''{{l4dwiki|No Mercy|icon=hide}}''' }}
Line 186: Line 186:
  {{td|width = 25%|font-size = 0.95em| The Lighthouse }}
  {{td|width = 25%|font-size = 0.95em| The Lighthouse }}
}}
}}
|l4d2|left4dead2=
|l4d2|left4dead2= <!-- Left 4 Dead 2 -->
{{tr|align = center
{{tr|align = center
| {{td|width = 18%|font-size = 0.95em| [[File:C1_deadcenter.png|224px|Dead Center|link=https://left4dead.fandom.com/wiki/Dead_Center]]<br>'''{{l4dwiki|Dead Center|icon=hide}}''' }}
| {{td|width = 18%|font-size = 0.95em| [[File:C1_deadcenter.png|224px|Dead Center|link=https://left4dead.fandom.com/wiki/Dead_Center]]<br>'''{{l4dwiki|Dead Center|icon=hide}}''' }}

Revision as of 04:18, 9 March 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) 88.89% 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 Preview
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