Template:Stub/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Undo revision 386861 by Pee (talk) (still useful))
Tag: Undo
Line 7: Line 7:
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 ===
{| class="standard-table" width="100%"
! width="15%" | Parameter
! width="25%" | Description
! Example
! Result
|-
| align=center | No Parameters
| This should be used in most cases
| {{CodeBlock|margin=5px|<nowiki>{{Stub}}</nowiki>}}
| {{Stub|nocat=1}}
|-
| align=center | {{Code|{{Param|nocat}}}}
| To prevent the adding of the [[:Category:Stubs]] category. Does not change anything visibly.
| {{CodeBlock|margin=5px|<nowiki>{{Stub|nocat=1}}</nowiki>}}
| {{Stub|nocat=1}}
|}
{{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 00:32, 19 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.

Options

Empty

This article or section is empty. You can help by adding it.

Usage

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

Parameters

Parameter Description Example Result
No Parameters This should be used in most cases
{{Stub}}

Stub

This article or section is a stub. You can help by expanding it.

{{{nocat}}} To prevent the adding of the Category:Stubs category. Does not change anything visibly.
{{Stub|nocat=1}}

Stub

This article or section is a stub. You can help by expanding it.

Note.pngNote:The template will automatically load the content according to the interface language.