Template:Stub: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Todo|Simplify code. This can probably be simplified to where only one instance of {{tl2|asbox}} is used.}}
{{doc}}
<includeonly><onlyinclude>{{#switch: {{{1}}}
| console command = {{asbox
  |title = {{Autolang|Stub|eo=Etaĉo|ru=Неполная|vi=Sơ khai|zh=小作品}}
  |category = Console command stubs
  |This article about a [[Developer console|console command]] is a stub. You can help by adding to it.
  |nocat={{{nocat|}}}
    }}
| console variable = {{asbox
  | title = {{Autolang|Stub|eo=Etaĉo|ru=Неполная|vi=Sơ khai|zh=小作品}}
  |category = Console variable stubs
  |This article about a [[Developer console|console variable]] is a stub. You can help by adding to it.
  |nocat={{{nocat|}}}
    }}


| {{asbox
<includeonly>
  | category = Stubs
 
  | title = {{Autolang|Stub|eo=Etaĉo|ru=Неполная|vi=Sơ khai|zh=小作品}}
<onlyinclude>{{asbox|{{#switch: {{{1}}}
  | {{Autolang
| console command = {{Stub/strings|console command|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
      | This article or section is a [[Help:Stubs|stub]]. You can help by adding to it.
| console variable = {{Stub/strings|console variable|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
      | de = Dieser Artikel ist [[Help:Stubs|unvollständig]]. Du kannst helfen, indem du ihn erweiterst.
| game = {{Stub/strings|game|game={{{2|}}}|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
      | eo = TIu ĉi artikolo aŭ sekcio estas [[Help:Stubs|etaĉo]]. Vi povas aldoni al ĝi.
| other = {{Stub/strings|other|other={{{2|}}}|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
      | es = Este artículo es un [[Help:Stubs|esbozo]]. Puedes ayudar añadiendo información.
| {{Stub/strings|stub|namespace={{{namespace|{{Stub/strings|namespace}}}}}}}
      | fr = Cet article est une [[Help:Stubs|ébauche]]. Vous pouvez contribuer en ajoutant des informations à cet article.
}}{{#if:{{{nocat|}}}||
      | ru = Эта статья является [[Help:Stubs|неполной]]. Вы можете помочь, дополнив её.
{{#switch: {{{1}}}
      | vi = Bài viết này vẫn còn [[Help:Stubs|sơ khai]]. Bạn có thể giúp mở rộng nội dung để bài được hoàn chỉnh hơn.
| console command = {{ACategory|Console command stubs}}
      | zh = 这篇文章是一个[[Help:Stubs|小作品]],您可以帮助我们完善它。
| console variable = {{ACategory|Console variable stubs}}
      | zh-tw = 這是一篇[[Help:Stubs|小作品]],你可以幫忙完善它。
| {{ACategory|Stubs}}
    }}
}}}}
  |nocat={{{nocat|}}}
}}</onlyinclude>
}}
 
}}</onlyinclude></includeonly>
</includeonly>
<noinclude>{{doc}}</noinclude>
 
<noinclude>[[Category:Asbox templates]]</noinclude>
[[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.