Template:Chapters: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Replaced P2 Co-op with a string)
(Added Portal: Revolution)
Line 200: Line 200:
| {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_2_-_Chapter_9.png|160px|Chapter 9: The Part Where He Kills You|link=https://theportalwiki.com/wiki/Story#Chapter_9:_The_Part_Where_He_Kills_You]]<br>'''{{portalwiki|Story#Chapter_9:_The_Part_Where_He_Kills_You|{{Chapters/strings|TPWHKY}}|icon=hide}}''' }}
| {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_2_-_Chapter_9.png|160px|Chapter 9: The Part Where He Kills You|link=https://theportalwiki.com/wiki/Story#Chapter_9:_The_Part_Where_He_Kills_You]]<br>'''{{portalwiki|Story#Chapter_9:_The_Part_Where_He_Kills_You|{{Chapters/strings|TPWHKY}}|icon=hide}}''' }}
  {{td|width = 25%|font-size = 0.95em| {{portalwiki|Cooperative_Testing_Initiative#Courses|{{Chapters/strings|Coop}}|icon=hide}} }}
  {{td|width = 25%|font-size = 0.95em| {{portalwiki|Cooperative_Testing_Initiative#Courses|{{Chapters/strings|Coop}}|icon=hide}} }}
}}
|portalrev|revolution = <!-- Portal: Revolution -->
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_rev_-_Chapter_1.jpg|160px|Chapter 1: The Human Resource|link=]]<br>'''[[The Human Resource]]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_rev_-_Chapter_2.jpg|160px|Chapter 2: The Default Route|link=]]<br>'''[[The Default Route]]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_rev_-_Chapter_3.jpg|160px|Chapter 3: The Surface|link=]]<br>'''[[The Surface]]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_rev_-_Chapter_4.jpg|160px|Chapter 4: The Diversion|link=]]<br>'''[[The Diversion]]''' }}
}}
{{tr|align = center
| {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_rev_-_Chapter_5.jpg|160px|Chapter 5: The Cutting Room Floor|link=]]<br>'''[[The Cutting Room Floor]]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_rev_-_Chapter_6.jpg|160px|Chapter 6: The Climb|link=]]<br>'''[[The Climb]]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_rev_-_Chapter_7.jpg|160px|Chapter 7: The Collision|link=]]<br>'''[[The Collision]]''' }}
  {{td|width = 25%|font-size = 0.95em| [[File:Chapter_Thumbnails_-_Portal_rev_-_Chapter_8.jpg|160px|Chapter 8: The Remote Execution|link=]]<br>'''[[The Remote Execution]]''' }}
}}
}}
|postal3|p3 = <!-- Postal 3 -->
|postal3|p3 = <!-- Postal 3 -->

Revision as of 14:01, 8 April 2024

English (en)Tiếng Việt (vi)
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