Template:Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(EP1 and EP2 added.)
(Testing L4D.)
Line 8: Line 8:
|colspan = 99 <!--may vary per game, 99 is ok -->
|colspan = 99 <!--may vary per game, 99 is ok -->
|bgcolor = rgba(0,0,0,.6) <!-- 60 % black -->
|bgcolor = rgba(0,0,0,.6) <!-- 60 % black -->
|{{{{{game|hl2}}}|4}} Chapters
|{{{{{game|hl2}}}|4}} {{#switch: {{{type}}}|#default|chapters=Chapters|camp|campaign=Campaigns}}
}}
}}
}}
}}
Line 106: Line 106:
| {{td|width = 25%|font-size = 0.95em| '''[[The Part Where He Kills You]]''' }}
| {{td|width = 25%|font-size = 0.95em| '''[[The Part Where He Kills You]]''' }}
}}
}}
|l4d|left4dead = <!-- L4D CAMPAIGN NAMES)
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| [[File:C8_nomercy.png|160px|Campaign: No Mercy|link=https://left4dead.fandom.com/wiki/No_Mercy]]<br>'''[https://left4dead.fandom.com/wiki/No_Mercy No Mercy]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:C9_crashcourse.png|160px|Campaign: Crash Course|link=https://left4dead.fandom.com/wiki/Crash_Course ]]<br>'''[https://left4dead.fandom.com/wiki/Crash_Course Crash Course]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:C10_deadtoll.png|160px|Campaign: Death Toll|link=https://left4dead.fandom.com/wiki/Death_Toll]]<br>'''[https://left4dead.fandom.com/wiki/Death_Toll Death Toll]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:C11_deadair.png|160px|Campaign: Dead Air|link=https://left4dead.fandom.com/wiki/Dead_Air]]<br>'''[https://left4dead.fandom.com/wiki/Dead_Air Dead Air]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:C12_bloodharvest.png|160px|Campaign: Blood Harvest|link=https://left4dead.fandom.com/wiki/Blood_Harvest]]<br>'''[https://left4dead.fandom.com/wiki/Blood_Harvest Blood Harvest]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:C7_thesacrifice.png|160px|Campaign: The Sacrifice|link=The Sacrifice]]<br>'''[[The Sacrifice]]''' }}
}}
{{tr|align = center <!-- L4D CAMPAIGN MAPS -->
| {{td|width = 25%|font-size = 0.95em|  * The Apartments
* The Subway
* The Sewer
* The Hospital
* Rooftop Finale
}}
  {{td|width = 25%|font-size = 0.95em| * The Alleys
* The Truck Depot Finale
}}
  {{td|width = 25%|font-size = 0.95em|  * The Turnpike
* The Drains
* The Church
* The Town
* Boathouse Finale
}}
  {{td|width = 25%|font-size = 0.95em|  * The Greenhouse
* The Crane
* The Construction Site
* The Terminal
* Runway Finale
}}
  {{td|width = 25%|font-size = 0.95em|  * The Woods
* The Tunnel
* The Bridge
* The Train Station
* Farmhouse Finale
}}
  {{td|width = 25%|font-size = 0.95em|  * The Docks
* The Barge
* Port Finale
}}<!-- End of L4D -->
}}<!-- END OF SWITCH -->
}}<!-- END OF SWITCH -->
}}<!-- END OF TABLE -->
}}<!-- END OF TABLE -->
</onlyinclude></includeonly>
</onlyinclude></includeonly>

Revision as of 10:48, 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