Template:Stub/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Doc/subpage}}<!-- Please place categories where indicated at the bottom of this page. -->
{{Doc/subpage}}


== Usage ==
== Usage ==
This template is used when pages or sections are short or lack vital information
This template is used when pages or sections are short or lack vital information.


=== Parameters ===
=== Parameters ===
{| class="standard-table" width="100%"
;{{param|1}} (optional)
! width="15%" | Parameter
: the type of stub that the page is. Currently supported categories are:
! width="25%" | Description
*console command
! Example
*console variable
! Result
|-
| align=center | No Parameters
| This should be used in most cases
| {{CodeBlock|margin=5px|<nowiki>{{Stub}}</nowiki>}}
| {{Stub|nocat=1}}
|-
| align=center | {{Code|<nowiki>{{stub|console command}}</nowiki>}}
| Stub for console commands
| {{CodeBlock|margin=5px|<nowiki>{{Stub|console command}}</nowiki>}}
| {{Stub|console command}}
|}
{{Note|The template will automatically load the content according to the interface language.}}
{{Note|The template will automatically load the content according to the interface language.}}
{{Doc/Sandbox other|
<!-- Categories below this line, please -->
[[Category:Notice templates]]
}}

Revision as of 15:03, 27 February 2024

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

Usage

This template is used when pages or sections are short or lack vital information.

Parameters

{{{1}}} (optional)
the type of stub that the page is. Currently supported categories are:
  • console command
  • console variable
Note.pngNote:The template will automatically load the content according to the interface language.