Template:Stub/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Doc/subpage}} <!-- 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 us...")
 
mNo edit summary
 
(30 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
<!-- 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 ==
== Usage ==
{{Stub}}
This template is used when pages or sections are short or lack vital information.
{{ModernNote|The template will automatically load the content according to the interface language.}}
 
{{Doc/Sandbox other|
=== Parameters ===
<!-- Categories below this line, please -->
;{{param|1}} (optional)
[[Category:Notice templates]]
: the type of stub that the page is. The currently supported categories are:
}}
:*console command
:*console variable
:*game
:*other
 
;{{param|2}}
:*For {{param|game}}: <game>, uses the <nowiki>{{<game>|4.1}}</nowiki>
:*For {{param|other}}: text, link, etc. '''(required)'''
 
;{{param|namespace}}
 
{{Note|The template will automatically load the content according to the interface language.}}
 
== Preview ==
{{stub|nocat=1}}
{{stub|namespace=totally an article|nocat=1}}
{{stub|console command|nocat=1}}
{{stub|console variable|nocat=1}}
{{stub|game|hl2|nocat=1}}
{{stub|other|example|nocat=1}}

Latest revision as of 14:02, 19 February 2025

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. The currently supported categories are:
  • console command
  • console variable
  • game
  • other
{{{2}}}
  • For {{{game}}}: <game>, uses the {{<game>|4.1}}
  • For {{{other}}}: text, link, etc. (required)
{{{namespace}}}
Note.pngNote:The template will automatically load the content according to the interface language.

Preview

Stub

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

Stub

This totally an article is a stub. You can help by expanding it.

Stub

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

Stub

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

Stub

This article or section about a game, Half-Life 2 Half-Life 2, is a stub. You can help by expanding it.

Stub

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