Template:Chapters/testcases: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added portal)
m (Added Portal: Rev and Postal3)
Line 32: Line 32:
| {{Chapters|game=portal2}}
| {{Chapters|game=portal2}}
|-
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|For {{portalrev|4}} chapters<br>{{codeblock|game &#61; portalrev}}}}
| {{Chapters|game=portalrev}}
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|For {{p3|4}} chapters<br>{{codeblock|game &#61; p3<br>game &#61; postal3}}}}
| {{Chapters|game=postal3}}
|}
|}

Revision as of 14:08, 8 April 2024

Gnome app science.png
This is the template test cases page for Template:Chapters. Purge this page in order to update the examples, if the template itself was recently edited.
If there are too many examples of a complicated template, later transclusions of such template may break due to the limitations of the Mediawiki software, or can cause the page itself to load very slow; See the HTML comment "NewPP limit Report" on the rendered page.
You can also use Special:ExpandTemplates to examine the results of template use cases.


Description Preview
Default appearance/For Half-Life 2 Half-Life 2 chapters
game = hl2
For Half-Life 2: Episode One Half-Life 2: Episode One chapters
game = hl2ep1
game = ep1
game = episodic
For Half-Life 2: Episode Two Half-Life 2: Episode Two chapters
game = hl2ep2
game = ep2
For Half-Life Half-Life chapters
game = hl
game = hl1
game = hls
For Black Mesa Black Mesa chapters, same as HL1, different link.
game = bms
Left 4 Dead Left 4 Dead Campaigns
game = l4d
game = left4dead
type = cam
type = campaign
Left 4 Dead Left 4 Dead + Left 4 Dead 2 Left 4 Dead 2 Campaigns
game = l4d2
game = left4dead2
type = cam
type = campaign
For Portal Portal chapters
game = portal
For Portal 2 Portal 2 chapters
game = p2
game = portal2
For Portal: Revolution Portal: Revolution chapters
game = portalrev
For Postal III Postal III chapters
game = p3
game = postal3