Template:Stub/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Section lacks information; not required)
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.) -->
This template is used to mark a page as a stub because it does not have enough useful information.
== Usage ==
 
This template is used when pages are short or lack vital information
== Example ==
=== Parameters ===
{{Code|<nowiki>{{Stub}}</nowiki>}} {{Stub|nocat=1}}
{| 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" | {{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}}
|}
{{ModernNote|The template will automatically load the content according to the interface language.}}
{{ModernNote|The template will automatically load the content according to the interface language.}}
{{Doc/Sandbox other|
{{Doc/Sandbox other|

Revision as of 09:27, 27 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 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.

Template:ModernNote