Template:Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 32: Line 32:
|hl2ep1|ep1|episodic = {{Chapters/Half-Life 2: Episode One}}
|hl2ep1|ep1|episodic = {{Chapters/Half-Life 2: Episode One}}
|hl2ep2|ep2 = {{Chapters/Half-Life 2: Episode Two}}
|hl2ep2|ep2 = {{Chapters/Half-Life 2: Episode Two}}
|l4d|left4dead= {{Wip}}{{Chapters/Left 4 Dead}}
    <!-- Source (third-party) -->
|bms = {Chapters/Black Mesa (Source)}}
|bms = {Chapters/Black Mesa (Source)}}
Line 188: Line 190:
  {{td|width = 25%|font-size = 0.95em| Daveland }}
  {{td|width = 25%|font-size = 0.95em| Daveland }}
}}
}}
}}
|l4d|left4dead= <!-- Left 4 Dead -->
{{tr|align = center
| {{td|width = 25%|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 = 25%|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 = 25%|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 = 25%|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 = 25%|font-size = 0.95em| {{Chapters/strings|NM maps}} }}
  {{td|width = 25%|font-size = 0.95em| {{Chapters/strings|CC maps}} }}
  {{td|width = 25%|font-size = 0.95em| {{Chapters/strings|DT maps}} }}
  {{td|width = 25%|font-size = 0.95em| {{Chapters/strings|DA maps}} }}
}}
{{tr|align = center
| {{td|width = 25%|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 = 25%|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|TLS1 popup}}|link=https://left4dead.fandom.com/wiki/The_Last_Stand]]<br>'''{{l4dwiki|{{Chapters/strings|TLS1}}|icon=hide}}''' }}
}}
{{tr|align = left|bgcolor = rgba(0,0,0,.4)
| {{td|width = 25%|font-size = 0.95em| {{Chapters/strings|BH maps}} }}
  {{td|width = 25%|font-size = 0.95em| {{Chapters/strings|TS maps}} }}
  {{td|width = 25%|font-size = 0.95em| {{Chapters/strings|TLS1 maps}} }}
}}
}}
|l4d2|left4dead2= <!-- Left 4 Dead 2 -->
|l4d2|left4dead2= <!-- Left 4 Dead 2 -->

Revision as of 22:47, 16 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
Under construction.png
This Template page is actively undergoing a major edit.
As a courtesy, please do not edit this Template while this message is displayed.
If this page has not been edited for at least several hours to a few days, please remove this template. This message is intended to help reduce edit conflicts; please remove it between editing sessions to allow others to edit the page.

The person who added this notice will be listed in its edit history should you wish to contact them.

}}

{{{state}}} ~ {{{state<?>}}} Collapses the chapters.
(<?>: Unknown amount of states, used in "Template:Chapters/<game name>")
| state = collapsed

| state1 = collapsed

}}

}}