Template:Doc/sandbox/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 5: Line 5:
== Changes made ==
== Changes made ==
* Added {{param|DocParam1}} ~ {{param|DocParam5}} for /doc page
* Added {{param|DocParam1}} ~ {{param|DocParam5}} for /doc page
::Useful for pages transcluding from a page.
::Useful for pages transcluding from a page and needing a very small change.


== Example ==
== Example ==

Revision as of 09:59, 6 May 2025

Edit-copy.png
This is a documentation subpage for Template:Doc.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Test page that uses for testing the new style of the template.

Changes made

  • Added {{{DocParam1}}} ~ {{{DocParam5}}} for /doc page
Useful for pages transcluding from a page and needing a very small change.

Example

{{Doc/sandbox|docpage=abc|DocParam1=Half-Life 2|DocParam2=hl2}}

In a /doc page:

{{ {{{DocParam1|Half-Life 2}}}|4|nt={{{DocParam2|}}} }}

Test parameters