Template:Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(HL1 and BMS chapters name are now automatically translated.)
Line 60: Line 60:
|hl|hl1|hls =
|hl|hl1|hls =
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Hazard Course]]'''<br>{{code|t0a0}} }}
| {{td|width = 25%|font-size = 0.95em| '''[[Hazard Course|{{Chapters/strings|Hazard Course}}]]'''<br>{{code|t0a0}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa Inbound]]'''<br>{{code|c0a0}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa Inbound|{{Chapters/strings|Black Mesa Inbound}}]]'''<br>{{code|c0a0}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Anomalous Materials]]'''<br>{{code|c1a0}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Anomalous Materials|{{Chapters/strings|Anomalous Materials}}]]'''<br>{{code|c1a0}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Unforeseen Consequences]]'''<br>{{code|c1a1}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Unforeseen Consequences|{{Chapters/strings|Unforeseen Consequences}}]]'''<br>{{code|c1a1}} }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Office Complex]]'''<br>{{code|c1a2}} }}
| {{td|width = 25%|font-size = 0.95em| '''[[Office Complex|{{Chapters/strings|Office Complex}}]]'''<br>{{code|c1a2}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Weve_Got_Hostiles|"We've Got Hostiles!"]]'''<br>{{code|c1a3}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Weve_Got_Hostiles|{{Chapters/strings|We've Got Hostiles!}}]]'''<br>{{code|c1a3}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Blast Pit]]'''<br>{{code|c1a4}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Blast Pit|{{Chapters/strings|Blast Pit}}]]'''<br>{{code|c1a4}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Power Up]]'''<br>{{code|c2a1}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Power Up|{{Chapters/strings|Power Up}}]]'''<br>{{code|c2a1}} }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[On a Rail]]'''<br>{{code|c2a2}} }}
| {{td|width = 25%|font-size = 0.95em| '''[[On a Rail|{{Chapters/strings|On a Rail}}]]'''<br>{{code|c2a2}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Apprehension]]'''<br>{{code|c2a3}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Apprehension|{{Chapters/strings|Apprehension}}]]'''<br>{{code|c2a3}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Residue Processing]]'''<br>{{code|c2a4}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Residue Processing|{{Chapters/strings|Residue Processing}}]]'''<br>{{code|c2a4}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Questionable Ethics]]'''<br>{{code|c2a4d}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Questionable Ethics|{{Chapters/strings|Questionable Ethics}}]]'''<br>{{code|c2a4d}} }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Surface Tension]]'''<br>{{code|c2a5}} }}
| {{td|width = 25%|font-size = 0.95em| '''[[Surface Tension|{{Chapters/strings|Surface Tension}}]]'''<br>{{code|c2a5}} }}
  {{td|width = 25%|font-size = 0.95em| '''[["Forget About Freeman!"]]'''<br>{{code|c3a1}} }}
  {{td|width = 25%|font-size = 0.95em| '''[["Forget About Freeman!"|{{Chapters/strings|Forget About Freeman!}}]]'''<br>{{code|c3a1}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Lambda Core]]'''<br>{{code|c3a2}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Lambda Core|{{Chapters/strings|Lambda Core}}]]'''<br>{{code|c3a2}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Xen]]'''<br>{{code|c4a1}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Xen|{{Chapters/strings|Xen}}]]'''<br>{{code|c4a1}} }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Gonarch's Lair]]'''<br>{{code|c4a2}} }}
| {{td|width = 25%|font-size = 0.95em| '''[[Gonarch's Lair|{{Chapters/strings|Gonarch's Lair}}]]'''<br>{{code|c4a2}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Interloper]]'''<br>{{code|c4a1a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Interloper|{{Chapters/strings|Interloper}}]]'''<br>{{code|c4a1a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Nihilanth]]'''<br>{{code|c4a3}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Nihilanth|{{Chapters/strings|Nihilanth}}]]'''<br>{{code|c4a3}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[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 =<!-- same chapters with HL1, but different links -->

Revision as of 05:29, 7 March 2024

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