From Valve Developer Community
Jump to navigation
Jump to search
|
|
Line 1: |
Line 1: |
| {{Todo|Add {{code|mw-collapsible}} or something like that to hide more chapters by default unless users clicked on the Next button to see more chapters. Do not use {{t|Expand}} or {{t|ExpandBox}} with this as they made the article looks low quality.}} | | {{Todo|Add {{code|mw-collapsible}} or something like that to hide more chapters by default unless users clicked on the Next button to see more chapters. Do not use {{t|Expand}} or {{t|ExpandBox}} with this as they made the article looks low quality.<br>read the [https://www.mediawiki.org/wiki/Manual:Collapsible_elements#With_custom_toggle_link tutorial] for adding a custom toggle button. (see [[/sandbox]] page)}} |
| {{Doc}} | | {{Doc}} |
| <includeonly><onlyinclude> | | <includeonly><onlyinclude> |
Revision as of 08:34, 27 May 2025
Todo: Add mw-collapsible or something like that to hide more chapters by default unless users clicked on the Next button to see more chapters. Do not use {{Expand}} or {{ExpandBox}} with this as they made the article looks low quality.
read the tutorial for adding a custom toggle button. (see /sandbox page)

Available doc translations
…
EnglishThis template uses a strings subpagePlease follow the format on this subpage(s) to add translations.
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.
|
|
|
{{{type}}}
|
Changes the title bar to Chapters, campaigns or missions.
|
|
Left 4 Dead Campaigns
|
 No Mercy
|
 Crash Course
|
 Death Toll
|
 Dead Air
|
1. The Apartments - l4d_hospital01_apartment 2. The Subway - l4d_hospital02_subway 3. The Sewer - l4d_hospital03_sewers 4. The Hospital - l4d_hospital04_interior 5. Rooftop Finale - l4d_hospital05_rooftop
|
1. The Alleys - l4d_garage_alleys 2. The Truck Depot Finale - l4d_garage_lots
|
1. The Turnpike - l4d_smalltown01_caves 2. The Drains - l4d_smalltown02_drainage 3. The Church - l4d_smalltown03_ranchhouse 4. The Town - l4d_smalltown04_mainstreet 5. Boathouse Finale - l4d_smalltown05_chouseboat
|
1. The Greenhouse - l4d_airport01_greenhouse 2. The Crane - l4d_airport02_offices 3. The Construction Site - l4d_airport03_garage 4. The Terminal - l4d_airport04_terminal 5. Runway Finale - l4d_airport05_runway
|
 Blood Harvest
|
 The Sacrifice
|
 The Last Stand (Survival)
|
1. The Woods - l4d_farm01_hilltop 2. The Tunnel - l4d_farm02_traintunnel 3. The Bridge - l4d_farm03_bridge 4. The Train Station - l4d_farm04_barn 5. Farmhouse Finale - l4d_farm05_cornfield
|
1. The Docks - l4d_river01_docks 2. The Barge - l4d_river02_barge 3. Port Finale - l4d_river03_port
|
The Lighthouse
|
|
{{{state}}} ~ {{{state<?>}}}
|
Collapses the chapters. (<?> : Unknown amount of states, used in "Template:Chapters/<game name>")
|
|
Left 4 Dead 2 Campaigns
|
 Dead Center
|
 The Passing
|
 Dark Carnival
|
 Swamp Fever
|
1. The Hotel - c1m1_hotel 2. The Streets - c1m2_streets 3. The Mall - c1m3_mall 4. The Atrium - c1m4_atrium
|
1. The Riverbank - c6m1_riverbank 2. Underground - c6m2_bedlam 3. The Port - c6m3_port
|
1. The Highway - c2m1_highway 2. The Fairground - c2m2_fairgrounds 3. The Coaster - c2m3_coaster 4. The Barns - c2m4_barns 5. The Concert - c2m5_concert
|
1. Plank Country - c3m1_plankcountry 2. The Swamp - c3m2_swamp 3. Shanty Town - c3m3_shantytown 4. The Plantation - c3m4_plantation
|
 Hard Rain
|
 The Parish
|
 Cold Stream
|
1. The Milltown - c4m1_milltown_a 2. The Sugar Mill - c4m2_sugarmill_a 3. Mill Escape - c4m3_sugarmill_b 4. Return To Town - c4m4_milltown_b 5. Town Escape - c4m5_milltown_escape
|
1. The Waterfront - c5m1_waterfront 2. The Park - c5m2_park 3. The Cemetery - c5m3_cemetery 4. The Quarter - c5m4_quarter 5. The Bridge - c5m5_bridge
|
1. Alpine Creek - c13m1_alpinecreek 2. South Pine Stream - c13m2_southpinestream 3. Memorial Bridge - c13m3_memorialbridge 4. Cut-throat Creek - c13m4_cutthroatcreek
|
Toggle chaptersCampaigns originally from Left 4 Dead + The Last Stand Community UpdateToggle chapters |
 No Mercy
|
 Crash Course
|
 Death Toll
|
 Dead Air
|
1. The Apartments - c8m1_apartments 2. The Subway - c8m2_subway 3. The Sewer - c8m3_sewers 4. The Hospital - c8m4_interior 5. Rooftop Finale - c8m5_rooftops
|
1. The Alleys - c9m1_alleys 2. The Truck Depot Finale - c9m2_lots
|
1. The Turnpike - c10m1_caves 2. The Drains - c10n2_drainage 3. The Church - c10m3_ranchhouse 4. The Town - c10m4_mainstreet 5. Boathouse Finale - c10m5_houseboat
|
1. The Greenhouse - c11m1_greenhouse 2. The Crane - c11m2_offices 3. The Construction Site - c11m3_garage 4. The Terminal - c11m4_terminal 5. Runway Finale - c11m5_runway
|
 Blood Harvest
|
 The Sacrifice
|
 The Last Stand (Campaign)
|
1. The Woods - c12m1_hilltop 2. The Tunnel - c12m2_traintunnel 3. The Bridge - c12m3_bridge 4. The Train Station - c12m4_barn 5. Farmhouse Finale - c12m5_cornfield
|
1. The Docks - c7m1_docks 2. The Barge - c7m2_barge 3. Port Finale - c7m3_port
|
1. The Junkyard - c14m1_junkyard 2. Lighthouse Finale - c14m2_lighthouse
|
|