Template:Chapters/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Removed L4D2 examples to prevent clutter after added temporarily for previewing edit.)
Line 27: Line 27:
| align="center" | Changes the title bar to Chapters, campaigns or missions.
| align="center" | Changes the title bar to Chapters, campaigns or missions.
| {{CodeBlock|margin=5px|<nowiki>| type = chapters</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| type = camp</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| type = missions</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>| type = chapters</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| type = camp</nowiki>}}{{CodeBlock|margin=5px|<nowiki>| type = missions</nowiki>}}
| {{Chapters|game=l4d|type=camp}} {{Chapters|game=l4d2|type=camp}}<!-- temporarily added while previewing edit -->
| {{Chapters|game=l4d|type=camp}}
|-
|-
|}
|}

Revision as of 06:00, 31 July 2023

Edit-copy.png
This is a documentation subpage for Template:Chapters.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Note.pngNote:Currently work in progress. But it can be used in most pages now.

This template is used to list all game chapters, campaign or missions.

Testcases

Parameters

Parameter Description Value Previews
None Default appearance N/A
{{{type}}} 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