Template:Chapters/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added examples to get a preview when editing this template.)
Line 3: Line 3:


== Usage ==
== Usage ==
* Do {{code|<nowiki>{{Chapters|game=hl2}}</nowiki>}} to list all of {{hl2|4}} Chapters, using {{tl|link=Table}} template. <br>
* Do {{code|<nowiki>{{Chapters}}</nowiki>}} or {{code|<nowiki>{{Chapters|game=hl2}}</nowiki>}} to list all of {{hl2|4}} Chapters, using {{tl|link=Table}} template. <br>
* Do {{code|<nowiki>{{Chapters|game=hl}}</nowiki>}} for {{hl|4}} chapters.
* Do {{code|<nowiki>{{Chapters|game=hl}}</nowiki>}} for {{hl|4}} chapters.



Revision as of 03:10, 26 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. Documentation will be improved later.

Usage

  • Do {{Chapters}} or {{Chapters|game=hl2}} to list all of Half-Life 2 Half-Life 2 Chapters, using {{Table}} template.
  • Do {{Chapters|game=hl}} for Half-Life Half-Life chapters.

Examples

{{Chapters}}
{{Chapters|game=hl}}