Template:Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Hmm, maybe)
(Easier to read the template.)
Line 1: Line 1:
{{Uselangflags|en=1|vi=1}}
{{Uselangflags|en=1|vi=1}}
{{split|Why are several games within a single big template ? The content should just be on their game pages or own templates}}
{{split|Why are several games within a single big template ? The content should just be on their game pages, example: "Template:Chapters/Half Life 2".}}
{{Todo|Split each game to a subpage, example: "Template:Chapters/Half Life 2"}}
{{Doc}}
{{Doc}}
<includeonly><onlyinclude>
<includeonly><onlyinclude>
Line 21: Line 22:
| {{td|width = 25%|font-size = 0.95em| There are no chapters/campaigns/missions for this game, or it is not defined on the template itself. }}
| {{td|width = 25%|font-size = 0.95em| There are no chapters/campaigns/missions for this game, or it is not defined on the template itself. }}
}}
}}
<!-- GoldSrc -->
|hl|hl1|hls = {{Chapters/Half-Life}}
    |hld|decay = {{Chapters/Half-Life: Decay}}
   
<!-- Source -->
|hl2 = {{Chapters/Half-Life 2}}
|hl2 = {{Chapters/Half-Life 2}}
|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}}
|bms = {Chapters/Black Mesa (Source)}}
|hl|hl1|hls = <!-- Half-Life -->
{{tr|align = center
<!-- Source 2 -->
| {{td|width = 25%|font-size = 0.95em| '''[[Hazard Course|{{Chapters/strings|Hazard Course}}]]'''<br>{{code|t0a0}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa Inbound|{{Chapters/strings|Black Mesa Inbound}}]]'''<br>{{code|c0a0}} }}
<!-- --------------------- TODO: Split (see the split info) --------------------- -->
  {{td|width = 25%|font-size = 0.95em| '''[[Anomalous Materials|{{Chapters/strings|Anomalous Materials}}]]'''<br>{{code|c1a0}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Unforeseen Consequences|{{Chapters/strings|Unforeseen Consequences}}]]'''<br>{{code|c1a1}} }}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Office Complex|{{Chapters/strings|Office Complex}}]]'''<br>{{code|c1a2}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Weve_Got_Hostiles|{{Chapters/strings|We've Got Hostiles!}}]]'''<br>{{code|c1a3}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Blast Pit|{{Chapters/strings|Blast Pit}}]]'''<br>{{code|c1a4}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Power Up|{{Chapters/strings|Power Up}}]]'''<br>{{code|c2a1}} }}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[On a Rail|{{Chapters/strings|On a Rail}}]]'''<br>{{code|c2a2}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Apprehension|{{Chapters/strings|Apprehension}}]]'''<br>{{code|c2a3}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Residue Processing|{{Chapters/strings|Residue Processing}}]]'''<br>{{code|c2a4}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Questionable Ethics|{{Chapters/strings|Questionable Ethics}}]]'''<br>{{code|c2a4d}} }}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Surface Tension|{{Chapters/strings|Surface Tension}}]]'''<br>{{code|c2a5}} }}
  {{td|width = 25%|font-size = 0.95em| '''[["Forget About Freeman!"|{{Chapters/strings|Forget About Freeman!}}]]'''<br>{{code|c3a1}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Lambda Core|{{Chapters/strings|Lambda Core}}]]'''<br>{{code|c3a2}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Xen|{{Chapters/strings|Xen}}]]'''<br>{{code|c4a1}} }}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Gonarch's Lair|{{Chapters/strings|Gonarch's Lair}}]]'''<br>{{code|c4a2}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Interloper|{{Chapters/strings|Interloper}}]]'''<br>{{code|c4a1a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Nihilanth|{{Chapters/strings|Nihilanth}}]]'''<br>{{code|c4a3}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Endgame|{{Chapters/strings|Endgame}}]]'''<br>{{code|c5a1}} }}
}}
              |hld|decay = <!-- Half-Life -->
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''Dual Access'''}}
  {{td|width = 25%|font-size = 0.95em| '''Hazardous Course'''}}
  {{td|width = 25%|font-size = 0.95em| '''Surface Call'''}}
  {{td|width = 25%|font-size = 0.95em| '''Resonance'''}}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''Domestic Violence'''}}
  {{td|width = 25%|font-size = 0.95em| '''Code Green'''}}
  {{td|width = 25%|font-size = 0.95em| '''Crossfire'''}}
  {{td|width = 25%|font-size = 0.95em| '''Intensity'''}}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''Rift'''}}
  {{td|width = 25%|font-size = 0.95em| '''Xen Attacks'''}} }}
|bms = <!-- Black Mesa Source. same chapters with HL1, but different links -->
{{tr|align = center
| <!-- {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Hazard Course|{{Chapters/strings|Hazard Course|game=bms}}]]''' }} Only available as a mod. BMS cut the whole Hazard Course because devs think it's useless now thanks to "env_hudhint". -->
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Black Mesa Inbound|{{Chapters/strings|Black Mesa Inbound|game=bms}}]]'''<br>{{code|bm_c0a0a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Anomalous Materials|{{Chapters/strings|Anomalous Materials|game=bms}}]]'''<br>{{code|bm_c1a0a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Unforeseen Consequences|{{Chapters/strings|Unforeseen Consequences|game=bms}}]]'''<br>{{code|bm_c1a1a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Office Complex|{{Chapters/strings|Office Complex|game=bms}}]]'''<br>{{code|bm_c1a2a}} }}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/We've Got Hostiles|{{Chapters/strings|We've Got Hostiles!|game=bms}}]]'''<br>{{code|bm_c1a3a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Blast Pit|{{Chapters/strings|Blast Pit|game=bms}}]]'''<br>{{code|bm_c1a4a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Power Up|{{Chapters/strings|Power Up|game=bms}}]]'''<br>{{code|bm_c2a1a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/On a Rail|{{Chapters/strings|On a Rail|game=bms}}]]'''<br>{{code|bm_c2a2a}} }}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Apprehension|{{Chapters/strings|Apprehension|game=bms}}]]'''<br>{{code|bm_c2a3a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Residue Processing|{{Chapters/strings|Residue Processing|game=bms}}]]'''<br>{{code|bm_c2a4a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Questionable Ethics|{{Chapters/strings|Questionable Ethics|game=bms}}]]'''<br>{{code|bm_c2a4e}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Surface Tension|{{Chapters/strings|Surface Tension|game=bms}}]]'''<br>{{code|bm_c2a5a}} }}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/"Forget About Freeman!"|{{Chapters/strings|Forget About Freeman!|game=bms}}]]'''<br>{{code|bm_c3a1a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Lambda Core|{{Chapters/strings|Lambda Core|game=bms}}]]'''<br>{{code|bm_c3a2a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Xen|{{Chapters/strings|Xen|game=bms}}]]'''<br>{{code|bm_c4a1a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Gonarch's Lair|{{Chapters/strings|Gonarch's Lair|game=bms}}]]'''<br>{{code|bm_c4a2a}} }}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Interloper|{{Chapters/strings|Interloper|game=bms}}]]'''<br>{{code|bm_c4a3a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Nihilanth|{{Chapters/strings|Nihilanth|game=bms}}]]'''<br>{{code|bm_c4a4a}} }}
  {{td|width = 25%|font-size = 0.95em| '''[[Black Mesa (Source)/Endgame|{{Chapters/strings|Endgame|game=bms}}]]'''<br>{{code|bm_c5a1a}} }}
}}
|hlop4|hlof = <!-- Half-Life: Opposing Force -->
|hlop4|hlof = <!-- Half-Life: Opposing Force -->
{{tr|align = center
{{tr|align = center

Revision as of 13:50, 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

}}

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

| state1 = collapsed

}}

}}