Template:Stub: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Overhauled stub in the style of the status template)
mNo edit summary
 
(69 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{Lang}}
{{doc}}
{{Doc}}
<includeonly><onlyinclude>


<div style="background: #262626; border-radius:3px; display:flow-root; padding:10px; margin:.4em 0" align="left"> <div style="display:flex; border:1px solid rgb(33, 119, 217, .3); border-radius: .5em; overflow:hidden; margin-block:.5em;">
<includeonly>
<p style="background:rgb(33, 119, 217, .3); flex-basis:3em; align-items:center; display:inline-flex; margin:0; padding:.3em; justify-content:center; font-weight:bold;">Stub</p>
<p style="background:rgb(33, 119, 217, .1); flex:1; align-items:center; margin:0; padding:.3em;">{{autolang|This article is a [[Help:Stubs|stub]]. You can help by adding to it.|de=Dieser Artikel ist [[Help:Stubs:de|unvollständig]]. Du kannst helfen, indem du ihn erweiterst.|es=Este artículo es un [[Help:Stubs:es|stub]]. Puedes ayudar añadiendo información.|fr=Cet article est une [[Help:Stubs|ébauche]] ({{en}}). Vous pouvez contribuer en ajoutant des informations à cet article.|zh=这篇文章是一个[[Help:Stubs|小作品]],您可以帮助我们完善它。|zh-tw=這是一篇[[Help:Stubs|小作品]],你可以幫忙完善它。}}</p>
{{#if:{{{1|}}}|<small>{{{1}}}</small>|}}
</div></div>


</onlyinclude></includeonly>
<onlyinclude>{{asbox|{{#switch: {{{1}}}
| console command = {{Stub/strings|console command|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
| console variable = {{Stub/strings|console variable|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
| game = {{Stub/strings|game|game={{{2|}}}|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
| other = {{Stub/strings|other|other={{{2|}}}|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
| {{Stub/strings|stub|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
}}{{#if:{{{nocat|}}}||
{{#switch: {{{1}}}
| console command = {{ACategory|Console command stubs}}
| console variable = {{ACategory|Console variable stubs}}
| {{ACategory|Stubs}}
}}}}
}}</onlyinclude>
 
</includeonly>
 
[[Category:Asbox templates]]

Latest revision as of 13:05, 4 December 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

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.