Template:Chapters/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Removed L4D2 examples to prevent clutter after added temporarily for previewing edit.)
(dont know how to code this one much so gonna add this todo hoping anyone would do it, to hide some chapters by default until a user expands it.)
Line 1: Line 1:
{{doc/subpage}}
{{doc/subpage}}
{{Note|Currently work in progress. But it can be used in most pages now.}}
{{Note|Currently work in progress. But it can be used in most pages now.}}
{{Todo|Add {{code|mw-collapsible}} or something like that to hide more chapters by default unless users clicked on the Next button to see more chapters.}}


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

Revision as of 03:47, 1 August 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.
Todo: Add mw-collapsible or something like that to hide more chapters by default unless users clicked on the Next button to see more chapters.

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