Template:Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(More HL2 chapter thumbnails + centered text.)
(Added all chapters thumbnails for HL2, also adjust font size for all, slightly smaller but still readable.)
Line 15: Line 15:
|hl2=
|hl2=
{{tr|align = center
{{tr|align = center
| {{td|width = 25%| [[File:HL2 GamepadUI - Chapter 1.png|152px|Chapter 1: Point Insertion|link=Point Insertion]]<br>[[Point Insertion]] }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 1.png|152px|Chapter 1: Point Insertion|link=Point Insertion]]<br>'''[[Point Insertion]]''' }}
  {{td|width = 25%| [[File:HL2 GamepadUI - Chapter 2.png|152px|Chapter 2: "A Red Letter Day"|link="A Red Letter Day"]]<br>[["A Red Letter Day"]] }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 2.png|152px|Chapter 2: "A Red Letter Day"|link="A Red Letter Day"]]<br>'''[["A Red Letter Day"]]''' }}
  {{td|width = 25%| [[File:HL2 GamepadUI - Chapter 3.png|152px|Chapter 3: Route Kanal|link=Route Kanal]]<br>[[Route Kanal]] }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 3.png|152px|Chapter 3: Route Kanal|link=Route Kanal]]<br>'''[[Route Kanal]]''' }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%| [[File:HL2 GamepadUI - Chapter 4.png|152px|Chapter 4: Water Hazard|link=Water Hazard]]<br>[[Water Hazard]] }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 4.png|152px|Chapter 4: Water Hazard|link=Water Hazard]]<br>'''[[Water Hazard]]''' }}
  {{td|width = 25%| [[File:HL2 GamepadUI - Chapter 5.png|152px|Chapter 5: Black Mesa East|link=Black Mesa East]]<br>[[Black Mesa East]] }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 5.png|152px|Chapter 5: Black Mesa East|link=Black Mesa East]]<br>'''[[Black Mesa East]]''' }}
  {{td|width = 25%| [[File:HL2 GamepadUI - Chapter 6.png|152px|Chapter 6: "We Don't Go To Ravenholm..."|link=Ravenholm]]<br>[[Ravenholm|"We Don't Go To Ravenholm..."]] }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 6.png|152px|Chapter 6: "We Don't Go To Ravenholm..."|link=Ravenholm]]<br>'''[[Ravenholm|"We Don't Go To Ravenholm..."]]''' }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%| [[Highway 17]] }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 7.png|152px|Chapter 7: Highway 17|link=Highway 17]]<br>'''[[Highway 17]]''' }}
  {{td|width = 25%| [[Sandtraps]] }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 8.png|152px|Chapter 8: Sandtraps|link=Sandtraps]]<br>'''[[Sandtraps]]''' }}
  {{td|width = 25%| [[Nova Prospekt]] }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 9.png|152px|Chapter 9: Nova Prospekt|link=Nova Prospekt]]<br>'''[[Nova Prospekt]]''' }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%| [[Entanglement]] }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 9a.png|152px|Chapter 9a: Entanglement|link=Entanglement]]<br>'''[[Entanglement]]''' }}
  {{td|width = 25%| [[Anticitizen One]] }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 10.png|152px|Chapter 10: Anticitizen One|link=Anticitizen One]]<br>'''[[Anticitizen One]]''' }}
  {{td|width = 25%| [["Follow Freeman!"]] }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 11.png|152px|Chapter 11: "Follow Freeman!"|link="Follow Freeman!"]]<br>'''[["Follow Freeman!"]]''' }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%| [[Our Benefactors]] }}
| {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 12.png|152px|Chapter 12: Our Benefactors|link=Our Benefactors]]<br>'''[[Our Benefactors]]''' }}
  {{td|width = 25%| [[Dark Energy]] }}
  {{td|width = 25%|font-size = 0.95em| [[File:HL2 GamepadUI - Chapter 13.png|152px|Chapter 13: Dark Energy|link=Dark Energy]]<br>'''[[Dark Energy]]''' }}
}}
}}
|hl|hl1|hls =
|hl|hl1|hls =
{{tr|align = center
{{tr|align = center
| {{td|width = 25%| [[Hazard Course]] }}
| {{td|width = 25%|font-size = 0.95em| '''[[Hazard Course]]''' }}
  {{td|width = 25%| [[Black Mesa Inbound]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa Inbound]]''' }}
  {{td|width = 25%| [[Anomalous Materials]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Anomalous Materials]]''' }}
  {{td|width = 25%| [[Unforeseen Consequences]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Unforeseen Consequences]]''' }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%| [[Office Complex]] }}
| {{td|width = 25%|font-size = 0.95em| '''[[Office Complex]]''' }}
  {{td|width = 25%| [[Weve_Got_Hostiles|"We've Got Hostiles!"]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Weve_Got_Hostiles|"We've Got Hostiles!"]]''' }}
  {{td|width = 25%| [[Blast Pit]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Blast Pit]]''' }}
  {{td|width = 25%| [[Power Up]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Power Up]]''' }}
}}
}}
{{tr|align = center
{{tr|align = center
|  
|  
  {{td|width = 25%| [[On a Rail]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[On a Rail]]''' }}
  {{td|width = 25%| [[Apprehension]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Apprehension]]''' }}
  {{td|width = 25%| [[Residue Processing]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Residue Processing]]''' }}
  {{td|width = 25%| [[Questionable Ethics]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Questionable Ethics]]''' }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%| [[Surface Tension]] }}
| {{td|width = 25%|font-size = 0.95em| '''[[Surface Tension]]''' }}
  {{td|width = 25%| [["Forget About Freeman!"]] }}
  {{td|width = 25%|font-size = 0.95em| '''[["Forget About Freeman!"]]''' }}
  {{td|width = 25%| [[Lambda Core]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Lambda Core]]''' }}
  {{td|width = 25%| [[Xen]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Xen]]''' }}
}}
}}
{{tr|align = center
{{tr|align = center
| {{td|width = 25%| [[Gonarch's Lair]] }}
| {{td|width = 25%|font-size = 0.95em| '''[[Gonarch's Lair]]''' }}
  {{td|width = 25%| [[Interloper]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Interloper]]''' }}
  {{td|width = 25%| [[Nihilanth]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Nihilanth]]''' }}
  {{td|width = 25%| [[Endgame]] }}
  {{td|width = 25%|font-size = 0.95em| '''[[Endgame]]''' }}
}}
}}
}}<!-- END OF SWITCH -->
}}<!-- END OF SWITCH -->
}}<!-- END OF TABLE -->
}}<!-- END OF TABLE -->
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Revision as of 06:07, 26 July 2023

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:132
Approximate status of translation:English (en) 100% Deutsch (de) 71.21% Español (es) 15.91% Hrvatski (hr) 44.7% Русский (ru) 66.67% Tiếng Việt (vi) 18.94% 中文 (zh) 81.06% 
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