Template:Inline note templates: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{lang|Template:Inline note templates}}
{{lang|Template:Inline note templates}}
<onlyinclude><includeonly>
<onlyinclude><includeonly>
{| class="standard-table sortable" style="{{{style|float:right; white-space:nowrap; margin:1em}}}"
{| class="standard-table sortable" style="{{{style|float:right; white-space:nowrap; margin:1em; clear:both;}}}"
|+ {{{title|[[:Category:Inline note templates|{{#switch:{{{suf|}}}|#default=Inline note templates|:zh-cn=注释模板|:ru=Встраиваемые шаблоны заметок}}]]}}}
|+ {{{title|[[:Category:Inline note templates|{{#switch:{{{suf|}}}|#default=Inline note templates|:zh-cn=注释模板|:ru=Встраиваемые шаблоны заметок}}]]}}}
!rowspan=2| {{#switch:{{{suf|}}}|#default=Template|:zh-cn=模板|:ru=Шаблон}}
!rowspan=2| {{#switch:{{{suf|}}}|#default=Template|:zh-cn=模板|:ru=Шаблон}}

Revision as of 17:43, 16 March 2023


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
Inline note templates
Template Pages using it
2023-03-17
{{Note}} 4,745
{{Warning}} 1,358
{{Bug}} 1,327
{{Tip}} 1,093
{{Todo}} 1,052
{{Inline note}} 654
{{Confirm}} 478
{{Fix}} 227
{{Important}} 125
{{Clarify}} 58
{{Distinguish}} 55
{{Workaround}} 41
{{Placement Tip}} 36
{{Main}} 36
{{Seealso}} 20
{{Why}} 18
{{Confusion}} 15
{{Example}} 14
{{Idea}} 12
{{Codenote}} 11
{{Altnames}} 11
{{Deprecated}} 11
{{How}} 10
{{Notice}} 7
{{Special thanks}} 3
Todo: Page is generally pretty out of date

Usage

Parameters

  • {{{title}}} - The headline text.
  • {{{style}}} - The style attributes for the table. By default, it floats on the right. To make it behave normally, use style=.
  • {{{suf}}} - The language for the template links, example: :ru.
    • Obsolete-notext.pngDeprecated:Do not use or create separate language pages for this template, edit the {{Dictionary/notices}} instead (which relies on Autolang and works similar to strings subpage).

Examples

The beginning of this doc page uses {{inline note templates}} and the result is on the right.

The following table is generated with {{inline note templates|title=Шаблоны|style=|suf=:ru}}:

Шаблоны
Шаблон Страницы, использующие его
2023-03-17
{{Note:ru}} 4,745
{{Warning:ru}} 1,358
{{Bug:ru}} 1,327
{{Tip:ru}} 1,093
{{Todo:ru}} 1,052
{{Inline note:ru}} 654
{{Confirm:ru}} 478
{{Fix:ru}} 227
{{Important:ru}} 125
{{Clarify:ru}} 58
{{Distinguish:ru}} 55
{{Workaround:ru}} 41
{{Placement Tip:ru}} 36
{{Main:ru}} 36
{{Seealso:ru}} 20
{{Why:ru}} 18
{{Confusion:ru}} 15
{{Example:ru}} 14
{{Idea:ru}} 12
{{Codenote:ru}} 11
{{Altnames:ru}} 11
{{Deprecated:ru}} 11
{{How:ru}} 10
{{Notice:ru}} 7
{{Special thanks:ru}} 3