Template:Chapters/testcases: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{testcase}}__NOTOC__ {|class="standard-table" | style="width:100%;" |- ! style="width:50%" |{{Dictionary/common|Desc}} ! {{Dictionary/common|Preview}} |- | style="background:...")
 
(Added Portal 2)
Line 10: Line 10:
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|For {{hl|4}} chapters<br>{{codeblock|game &#61; hl<br>game &#61; hl1<br>game &#61; hls}}}}
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|For {{hl|4}} chapters<br>{{codeblock|game &#61; hl<br>game &#61; hl1<br>game &#61; hls}}}}
| {{Chapters|game=hl}}  
| {{Chapters|game=hl}}  
|-
| style="background:#282828; padding-inline:.5em; text-align:center;" | {{capsule|style=2|For {{portal2|4}} chapters<br>{{codeblock|game &#61; p2<br>game &#61; portal2}}}}
| {{Chapters|game=portal2}}
|-
|-
|}
|}

Revision as of 08:00, 26 July 2023

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 Half-Life chapters
game = hl
game = hl1
game = hls
For Portal 2 Portal 2 chapters
game = p2
game = portal2