Template:Stub/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}<!-- Please place categories where indicated at the bottom of this page. -->
<!-- Please place categories where indicated at the bottom of this page.) -->
== Usage ==
== Usage ==
This template is used when pages 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%"
{| class="standard-table" width="100%"
Line 10: Line 10:
! Result
! Result
|-
|-
| align="center" | No Parameters
| align=center | No Parameters
| This should be used in most cases
| This should be used in most cases
| {{CodeBlock|margin=5px|<nowiki>{{Stub}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Stub}}</nowiki>}}
| {{Stub|nocat=1}}
| {{Stub|nocat=1}}
|-
|-
| align="center" | {{Param|nocat}}
| align=center | {{Code|{{Param|nocat}}}}
| To prevent the adding of the [[:Category:Stubs]] category. Does not change anything visibly.
| To prevent the adding of the [[:Category:Stubs]] category. Does not change anything visibly.
| {{CodeBlock|margin=5px|<nowiki>{{Stub|nocat=1}}</nowiki>}}
| {{CodeBlock|margin=5px|<nowiki>{{Stub|nocat=1}}</nowiki>}}
| {{Stub|nocat=1}}
| {{Stub|nocat=1}}
|}
|}
{{ModernNote|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|
{{Doc/Sandbox other|
<!-- Categories below this line, please -->
<!-- Categories below this line, please -->
[[Category:Notice templates]]
[[Category:Notice templates]]
}}
}}

Revision as of 10:49, 29 April 2023

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

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.