Difference between revisions of "Template:Stub"

From Valve Developer Community
Jump to: navigation, search
(there's no good reason to not categorize stubs)
 
Line 1: Line 1:
 
{{Todo|Simplify code. This can probably be simplified to where only one instance of {{tl2|asbox}} is used.}}
 
{{Todo|Simplify code. This can probably be simplified to where only one instance of {{tl2|asbox}} is used.}}
<includeonly><onlyinclude>{{#switch: {{{1}}}
+
<onlyinclude>{{#switch: {{{1}}}
 
| console command = {{asbox
 
| console command = {{asbox
  |title = {{Autolang|Stub|eo=Etaĉo|ru=Неполная|vi=Sơ khai|zh=小作品}}
 
 
   |category = Console command stubs
 
   |category = Console command stubs
 
   |This article about a [[Developer console|console command]] is a stub. You can help by adding to it.
 
   |This article about a [[Developer console|console command]] is a stub. You can help by adding to it.
  |nocat=no
 
 
     }}
 
     }}
 
| console variable = {{asbox
 
| console variable = {{asbox
  | title = {{Autolang|Stub|eo=Etaĉo|ru=Неполная|vi=Sơ khai|zh=小作品}}
 
 
   |category = Console variable stubs
 
   |category = Console variable stubs
 
   |This article about a [[Developer console|console variable]] is a stub. You can help by adding to it.
 
   |This article about a [[Developer console|console variable]] is a stub. You can help by adding to it.
  |nocat=no
 
 
     }}
 
     }}
  
 
| {{asbox
 
| {{asbox
 
   | category = Stubs
 
   | category = Stubs
  | title = {{Autolang|Stub|eo=Etaĉo|ru=Неполная|vi=Sơ khai|zh=小作品}}
 
 
   | {{Autolang
 
   | {{Autolang
 
       | This article or section is a [[Help:Stubs|stub]]. You can help by adding to it.
 
       | This article or section is a [[Help:Stubs|stub]]. You can help by adding to it.
Line 29: Line 24:
 
       | zh-tw = 這是一篇[[Help:Stubs|小作品]],你可以幫忙完善它。
 
       | zh-tw = 這是一篇[[Help:Stubs|小作品]],你可以幫忙完善它。
 
     }}
 
     }}
  |nocat=no
 
 
}}
 
}}
}}</onlyinclude></includeonly>
+
}}</onlyinclude>
<noinclude>{{doc}}</noinclude>
+
 
<noinclude>[[Category:Asbox templates]]</noinclude>
+
 
 +
{{doc}}
 +
[[Category:Asbox templates]]

Latest revision as of 15:11, 29 April 2024

Blank image.pngTodo: Simplify code. This can probably be simplified to where only one instance of {{asbox}} is used.

Stub

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


Curly brackets white.pngTemplate Documentation
Icon-translate.png
View
Edit
Page history

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
Note.pngNote:The template will automatically load the content according to the interface language.