Template:Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(moved L4D1.)
(Updated L4D2 and HL Opposing Force.)
Line 25: Line 25:
|hl|hl1|hls = {{Chapters/Half-Life}}
|hl|hl1|hls = {{Chapters/Half-Life}}
|hlop4|hlof = {{Chapters/Half-Life: Opposing Force}}
     |hld|decay = {{Chapters/Half-Life: Decay}}
     |hld|decay = {{Chapters/Half-Life: Decay}}
      
      
Line 33: Line 34:
|hl2ep2|ep2 = {{Chapters/Half-Life 2: Episode Two}}
|hl2ep2|ep2 = {{Chapters/Half-Life 2: Episode Two}}
|l4d|left4dead= {{Chapters/Left 4 Dead}}
|l4d|left4dead= {{Chapters/Left 4 Dead}}
|l4d2|left4dead2= {{Chapters/Left 4 Dead 2}}
     <!-- Source (third-party) -->
     <!-- Source (third-party) -->
|bms = {Chapters/Black Mesa (Source)}}
|bms = {Chapters/Black Mesa (Source)}}
Line 39: Line 41:
<!-- --------------------- TODO: Split (see the split info) --------------------- -->
<!-- --------------------- TODO: Split (see the split info) --------------------- -->
|hlop4|hlof = <!-- Half-Life: Opposing Force -->
{{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/Incoming|{{Chapters/strings|Incoming}}]]'''<!-- <br>{{code|bm_c1a0a}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Welcome To Black Mesa|{{Chapters/strings|Welcome To Black Mesa}}]]'''<!-- <br>{{code|bm_c1a1a}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/"We Are Pulling Out"|{{Chapters/strings|We Are Pulling Out}}]]'''<!-- <br>{{code|bm_c1a2a}} -->}}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Missing In Action|{{Chapters/strings|Missing In Action}}]]'''<!-- <br>{{code|bm_c1a3a}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Friendly Fire|{{Chapters/strings|Friendly Fire}}]]'''<!-- <br>{{code|bm_c1a4a}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/We Are Not Alone|{{Chapters/strings|We Are Not Alone}}]]'''<!-- <br>{{code|bm_c2a1a}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Crush Depth|{{Chapters/strings|Crush Depth}}]]'''<!-- <br>{{code|bm_c2a2a}} -->}}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Vicarious Reality|{{Chapters/strings|Vicarious Reality}}]]'''<!-- <br>{{code|bm_c2a3a}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Pit Worm's Nest|{{Chapters/strings|Pit Worm's Nest}}]]'''<!-- <br>{{code|bm_c2a4a}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Foxtrot Uniform|{{Chapters/strings|Foxtrot Uniform}}]]'''<!-- <br>{{code|bm_c2a4e}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/"The Package"|{{Chapters/strings|The Package}}]]'''<!-- <br>{{code|bm_c2a5a}} -->}}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Worlds Collide|{{Chapters/strings|Worlds Collide}}]]'''<!-- <br>{{code|bm_c3a1a}} -->}}
  {{td|width = 25%|font-size = 0.95em| '''[[Half-Life: Opposing Force/Conclusion|{{Chapters/strings|Conclusion}}]]'''<!-- <br>{{code|bm_c3a2a}} -->}}
}}
|hlbs = <!-- Half-Life: Blue Shift -->
|hlbs = <!-- Half-Life: Blue Shift -->
{{tr|align = center
{{tr|align = center
Line 189: Line 168:
  {{td|width = 25%|font-size = 0.95em| Champ Rescue }}
  {{td|width = 25%|font-size = 0.95em| Champ Rescue }}
  {{td|width = 25%|font-size = 0.95em| Daveland }}
  {{td|width = 25%|font-size = 0.95em| Daveland }}
}}
}}
|l4d2|left4dead2= <!-- Left 4 Dead 2 -->
{{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|{{Chapters/strings|DC1}}|icon=hide}}''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C6_thepassing.png|224px|The Passing|link=https://left4dead.fandom.com/wiki/The_Passing]]<br>'''{{l4dwiki|{{Chapters/strings|TP1}}|icon=hide}}''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C2_darkcanival.png|224px|Dark Carnival|link=https://left4dead.fandom.com/wiki/Dark_Carnival]]<br>'''{{l4dwiki|{{Chapters/strings|DC2}}|icon=hide}}''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C3_swampfever.png|224px|Swamp Fever|link=https://left4dead.fandom.com/wiki/Swamp_Fever]]<br>'''{{l4dwiki|{{Chapters/strings|SF}}|icon=hide}}''' }}
}}
{{tr|align = left|bgcolor = rgba(0,0,0,.4)
| {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|DC1 maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|TP1 maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|DC2 maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|SF maps}} }}
}}
{{tr|align = center
| {{td|width = 18%|font-size = 0.95em| [[File:C4_hardrain.png|224px|Hard Rain|link=https://left4dead.fandom.com/wiki/Hard_Rain]]<br>'''{{l4dwiki|{{Chapters/strings|HR}}|icon=hide}}''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C5_theparish.png|224px|The Parish|link=https://left4dead.fandom.com/wiki/The_Parish]]<br>'''{{l4dwiki|{{Chapters/strings|TP2}}|icon=hide}}''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C13_coldstream.png|224px|Cold Stream|link=https://left4dead.fandom.com/wiki/Cold_Stream]]<br>'''{{l4dwiki|{{Chapters/strings|CS}}|icon=hide}}''' }}
}}
{{tr|align = left|bgcolor = rgba(0,0,0,.4)
| {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|HR maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|TP2 maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|CS maps}} }}
}} {{td|width = 18%|align = center|bgcolor = rgba(49, 124, 41, .2)|font-size = 0.95em|colspan=4| {{Chapters/strings|l4dOG}} }}
{{tr|align = center
| {{td|width = 18%|font-size = 0.95em| [[File:C8_nomercy.png|224px|No Mercy|link=https://left4dead.fandom.com/wiki/No_Mercy]]<br>'''{{l4dwiki|{{Chapters/strings|NM}}|icon=hide}}''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C9_crashcourse.png|224px|Crash Course|link=https://left4dead.fandom.com/wiki/Crash_Course]]<br>'''{{l4dwiki|{{Chapters/strings|CC}}|icon=hide}}''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C10_deadtoll.png|224px|Death Toll|link=https://left4dead.fandom.com/wiki/Death_Toll]]<br>'''{{l4dwiki|{{Chapters/strings|DT}}|icon=hide}}''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C11_deadair.png|224px|Dead Air|link=https://left4dead.fandom.com/wiki/Dead_Air]]<br>'''{{l4dwiki|{{Chapters/strings|DA}}|icon=hide}}''' }}
}}
{{tr|align = left|bgcolor = rgba(0,0,0,.4)
| {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|NM maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|CC maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|DT maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|DA maps}} }}
}}
{{tr|align = center
|
  {{td|width = 18%|font-size = 0.95em| [[File:C12_bloodharvest.png|224px|Blood Harvest|link=https://left4dead.fandom.com/wiki/Blood_Harvest]]<br>'''{{l4dwiki|{{Chapters/strings|BH}}|icon=hide}}''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C7_thesacrifice.png|224px|The Sacrifice|link=The Sacrifice]]<br>'''[[The Sacrifice|{{Chapters/strings|TS}}]]''' }}
  {{td|width = 18%|font-size = 0.95em| [[File:C14_thelaststand.png|224px|{{Chapters/strings|TLS2 popup}}|link=https://left4dead.fandom.com/wiki/The_Last_Stand_(Left_4_Dead_2)]]<br>'''{{l4dwiki|The Last Stand (Left_4_Dead_2)|{{Chapters/strings|TLS2}}|icon=hide}}''' }}
}}
{{tr|align = left|bgcolor = rgba(0,0,0,.4)
| {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|BH maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|TS maps}} }}
  {{td|width = 18%|font-size = 0.95em| {{Chapters/strings|TLS2 maps}} }}
}}
}}
}}<!-- END OF SWITCH -->
}}<!-- END OF SWITCH -->
}}<!-- END OF TABLE -->
}}<!-- END OF TABLE -->
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Revision as of 01:47, 17 April 2025

English (en)Tiếng Việt (vi)

Split-arrows.png Split

It has been suggested that this article or section be split into multiple articles: Why are several games within a single big template ? The content should just be on their game pages, example: "Template:Chapters/Half Life 2". (Discuss)

Todo: Split each game to a subpage, example: "Template:Chapters/Half Life 2".
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