Template:Chapters/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Added examples to get a preview when editing this template.)
Line 2: Line 2:
{{Note|Currently work in progress. Documentation will be improved later.}}
{{Note|Currently work in progress. Documentation will be improved later.}}


Usage: {{code|<nowiki>{{Chapters|game=hl2}}</nowiki>}} to list all of {{hl2|4}} Chapters, using {{tl|link=Table}} template. <br>
== Usage ==
Do {{code|<nowiki>{{Chapters|game=hl}}</nowiki>}} for {{hl|4}} chapters.
* Do {{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.
 
== Examples ==
{| cellpadding=8 style="background:transparent"
| {{tlc|Chapters}}
| &rarr;
| {{Chapters}}
|-
| {{tlc|Chapters|game{{=}}hl}}
| &rarr;
| {{Chapters|game=hl}}
|}

Revision as of 13:45, 25 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|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}}