Template:Inline note templates: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


<onlyinclude>{| class="standard-table sortable" style="{{{style|float:right; white-space:nowrap; margin:1em;}}}"
<onlyinclude>{| class="standard-table sortable" style="{{{style|float:right; white-space:nowrap; margin:1em;}}}"
|+ {{{title|[[:Category:Inline note templates|{{#switch: {{{lang|{{ROOTPAGENAME}}}}}|#default = Inline note templates|Zh=注释模板|Ru=Встраиваемые шаблоны заметок}}]]}}}
|+ {{{title|[[:Category:Inline note templates|{{#switch: {{language}}|#default = Inline note templates|Zh=注释模板|Ru=Встраиваемые шаблоны заметок}}]]}}}
!rowspan=2| {{#switch: {{{lang|{{ROOTPAGENAME}}}}}|#default = Template|Zh=模板|Ru=Шаблон}}
!rowspan=2| {{#switch: {{language}}|#default = Template|Zh=模板|Ru=Шаблон}}
!colspan=1| {{#switch: {{{lang|{{ROOTPAGENAME}}}}}|#default = Pages using it|Zh=使用页面数量|Ru=Страницы, использующие его}}
!colspan=1| {{#switch: {{language}}|#default = Pages using it|Zh=使用页面数量|Ru=Страницы, использующие его}}
|-
|-
! 2023-08-29
! 2023-08-29
|-
|-
| {{tl2|Note{{{suf|}}}}} || 5,964
| {{tl2|Note}} || 5,964
|-
|-
| {{tl2|Warning{{{suf|}}}}} || 2,331
| {{tl2|Warning}} || 2,331
|-
|-
| {{t|Bug}} || 1,550
| {{t|Bug}} || 1,550
|-
|-
| {{tl2|Tip{{{suf|}}}}} || 1,485
| {{tl2|Tip}} || 1,485
|-
|-
| {{tl2|Todo{{{suf|}}}}} || 1,551
| {{tl2|Todo}} || 1,551
|-
|-
| {{tl2|Inline note{{{suf|}}}}} || 955
| {{tl2|Inline note}} || 955
|-
|-
| {{tl2|Confirm{{{suf|}}}}}<br>{{t|ClassicConfirm}} || 691 + 324<!-- might not be accurate since there are some pages that appear in both template's "Pages transcluded on" lists, so having both for now. -->
| {{tl2|Confirm}} || 1015 <!-- might not be accurate since there are some pages that appear in both template's "Pages transcluded on" lists, so having both for now. -->
|-
|-
| {{tl2|Question}} || 4
| {{tl2|Question}} || 4
|-
|-
| {{tl2|ModernConfirm}} || 97
| {{tl2|Fix}}<br>{{t|ClassicFix}} || 174 + 33<!-- might not be accurate since there are some pages that appear in both template's "Pages transcluded on" lists, so having both for now. -->
|-
| {{tl2|Fix{{{suf|}}}}}<br>{{t|ClassicFix}} || 174 + 33<!-- might not be accurate since there are some pages that appear in both template's "Pages transcluded on" lists, so having both for now. -->
|-
|-
| {{tl2|ModernFix}} || 489
| {{tl2|ModernFix}} || 489
|-
|-
| {{tl2|Important{{{suf|}}}}} || 240 + 106<!-- might not be accurate since there are pages that appear some in both template's "Pages transcluded on" lists, so having both for now. -->
| {{tl2|Important}} || 240 + 106<!-- might not be accurate since there are pages that appear some in both template's "Pages transcluded on" lists, so having both for now. -->
|-
|-
| {{tl2|ModernImportant{{{suf|}}}}} || 308
| {{tl2|ModernImportant}} || 308
|-
|-
| {{tl2|Clarify{{{suf|}}}}}<br>{{t|ClassicClarify}} || 154 + 105<!-- might not be accurate since there are some pages that appear in both template's "Pages transcluded on" lists, so having both for now. -->
| {{tl2|Clarify}} || 259 <!-- might not be accurate since there are some pages that appear in both template's "Pages transcluded on" lists, so having both for now. -->
|-
|-
| {{tl2|Elaborate{{{suf|}}}}}<br>{{t|ClassicElaborate}} || 10
| {{tl2|Elaborate}} || 10
|-
|-
| {{tl2|Main{{{suf|}}}}} || 121
| {{tl2|Main}} || 121
|-
|-
| {{tl2|Distinguish{{{suf|}}}}} || 75
| {{tl2|Distinguish}} || 75
|-
|-
| {{tl2|Workaround{{{suf|}}}}} || 96
| {{tl2|Workaround}} || 96
|-
|-
| {{tl2|Seealso{{{suf|}}}}} || 62
| {{tl2|Seealso}} || 62
|-
|-
| {{tl2|Which{{{suf|}}}}}<br>{{t|ClassicWhich}} || 1
| {{tl2|Which}} || 1
|-
|-
| {{tl2|Why{{{suf|}}}}}<br>{{t|ClassicWhy}} || 21
| {{tl2|Why}} || 21
|-
|-
| {{tl2|Idea{{{suf|}}}}}<br>{{t|ClassicIdea}} || 11
| {{tl2|Idea}}<br>{{t|ClassicIdea}} || 11
|-
|-
| {{tl2|Placement Tip{{{suf|}}}}}<br>{{t|ClassicPlacementTip}} || 6 + 2
| {{tl2|Placement Tip}}<br>{{t|ClassicPlacementTip}} || 6 + 2
|-
|-
| {{tl2|Codenote{{{suf|}}}}}<br>{{t|Codenote}} || 10
| {{tl2|Codenote}}<br>{{t|Codenote}} || 10
|-
|-
| {{tl2|ModernCodenote{{{suf|}}}}} || N/A
| {{tl2|ModernCodenote}} || N/A
|-
|-
| {{tl2|Altnames{{{suf|}}}}} || 13
| {{tl2|Altnames}} || 13
|-
|-
| {{tl2|Deprecated{{{suf|}}}}}<br>{{t|ClassicDeprecated}} || 34 + 25<!-- excludes template pages. -->
| {{tl2|Deprecated}}<br>{{t|ClassicDeprecated}} || 34 + 25<!-- excludes template pages. -->
|-
|-
| {{tl2|How{{{suf|}}}}}<br>{{t|ClassicHow}} || 18 + 15<!-- excludes template pages. -->
| {{tl2|How}} || 33<!-- excludes template pages. -->
|-
|-
| {{tl2|Notice{{{suf|}}}}} || 15 + 10<!-- excludes template pages. may contain duplicated pages on both "Pages transcluded on" lists. -->
| {{tl2|Notice}} || 15 + 10<!-- excludes template pages. may contain duplicated pages on both "Pages transcluded on" lists. -->
|-
|-
| {{tl2|Example{{{suf|}}}}} || 3
| {{tl2|Example}} || 3
|-
|-
| {{tl2|Confusion{{{suf|}}}}} || 3 + 1<!-- mostly accurate. excludes template page.-->
| {{tl2|Confusion}} || 3 + 1<!-- mostly accurate. excludes template page.-->
|-
|-
| {{tl2|Special thanks{{{suf|}}}}} || 1
| {{tl2|Special thanks}} || 1
|-
|-
| {{tl2|Thanks}} (Modern) || N/A
| {{tl2|Thanks}} (Modern) || N/A

Revision as of 12:28, 26 August 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
Inline note templates
Template Pages using it
2023-08-29
{{Note}} 5,964
{{Warning}} 2,331
{{Bug}} 1,550
{{Tip}} 1,485
{{Todo}} 1,551
{{Inline note}} 955
{{Confirm}} 1015
{{Question}} 4
{{Fix}}
{{ClassicFix}}
174 + 33
{{ModernFix}} 489
{{Important}} 240 + 106
{{ModernImportant}} 308
{{Clarify}} 259
{{Elaborate}} 10
{{Main}} 121
{{Distinguish}} 75
{{Workaround}} 96
{{Seealso}} 62
{{Which}} 1
{{Why}} 21
{{Idea}}
{{ClassicIdea}}
11
{{Placement Tip}}
{{ClassicPlacementTip}}
6 + 2
{{Codenote}}
{{Codenote}}
10
{{ModernCodenote}} N/A
{{Altnames}} 13
{{Deprecated}}
{{ClassicDeprecated}}
34 + 25
{{How}} 33
{{Notice}} 15 + 10
{{Example}} 3
{{Confusion}} 3 + 1
{{Special thanks}} 1
{{Thanks}} (Modern) N/A
{{Code Fix}} N/A
{{Errornote}} N/A
{{Vote}} N/A
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}}:

Шаблоны
Template Pages using it
2023-08-29
{{Note}} 5,964
{{Warning}} 2,331
{{Bug}} 1,550
{{Tip}} 1,485
{{Todo}} 1,551
{{Inline note}} 955
{{Confirm}} 1015
{{Question}} 4
{{Fix}}
{{ClassicFix}}
174 + 33
{{ModernFix}} 489
{{Important}} 240 + 106
{{ModernImportant}} 308
{{Clarify}} 259
{{Elaborate}} 10
{{Main}} 121
{{Distinguish}} 75
{{Workaround}} 96
{{Seealso}} 62
{{Which}} 1
{{Why}} 21
{{Idea}}
{{ClassicIdea}}
11
{{Placement Tip}}
{{ClassicPlacementTip}}
6 + 2
{{Codenote}}
{{Codenote}}
10
{{ModernCodenote}} N/A
{{Altnames}} 13
{{Deprecated}}
{{ClassicDeprecated}}
34 + 25
{{How}} 33
{{Notice}} 15 + 10
{{Example}} 3
{{Confusion}} 3 + 1
{{Special thanks}} 1
{{Thanks}} (Modern) N/A
{{Code Fix}} N/A
{{Errornote}} N/A
{{Vote}} N/A