Template:Inline note templates: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{ulf|en=1|de=1|zh=1}}
{{doc}}
<onlyinclude><includeonly>
 
{| class="standard-table sortable" style="{{{style|float:right; white-space:nowrap; margin:1em;}}}"
<includeonly>
|+ {{{title|[[:Category:Inline note templates|{{Autolang|Inline note templates|zh=注释模板|ru=Встраиваемые шаблоны заметок}}]]}}}
 
!rowspan=2| {{Autolang|Template|zh=模板|ru=Шаблон}}
<onlyinclude>{| class="standard-table sortable" style="{{{style|float:right; white-space:nowrap; margin:1em;}}}"
!colspan=1| {{Autolang|Pages using it|zh=使用页面数量|ru=Страницы, использующие его}}
|+ {{{title|[[:Category:Inline note templates|{{#switch: {{language}}|#default = Inline note templates|Zh=注释模板|Ru=Встраиваемые шаблоны заметок}}]]}}}
!rowspan=2| {{#switch: {{language}}|#default = Template|Zh=模板|Ru=Шаблон}}
!colspan=1| {{#switch: {{language}}|#default = Pages using it|Zh=使用页面数量|Ru=Страницы, использующие его}}
|-
|-
! 2023-08-29
! {{#time:{{#switch: {{language}}|#default = j xg Y|zh=Y 年 n 月 j 日}}|28 aug 2024|{{language}}}}
|-
|-
| {{tl2|Note{{{suf|}}}}} || 5,964
| {{T|note}} || 6,436
|-
|-
| {{tl2|Warning{{{suf|}}}}} || 2,331
| {{T|warning}} || 1,253
|-
|-
| {{t|Bug}} || 1,550
| {{T|BugNotice|alt=bug}} || 1,192
|-
|-
| {{tl2|Tip{{{suf|}}}}} || 1,485
| {{T|tip}} || 1,516
|-
|-
| {{tl2|Todo{{{suf|}}}}} || 1,551
| {{T|todo}} || 1,628
|-
|-
| {{tl2|Inline note{{{suf|}}}}} || 955
| {{T|inline note}} || 2,188
|-
|-
| {{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. -->
| {{T|confirm}} || 672 <!-- from 2023 (and so on for below): 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
| {{T|question}} || 11
|-
|-
| {{tl2|ModernConfirm}} || 97
| {{T|fix}} || 170 <!-- ~600? ; 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. -->
| {{T|important}} || 459 <!-- ~500? ; 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|ModernFix}} || 489
| {{T|clarify}} || 169 <!-- 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|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. -->
| {{T|elaborate}} || 18
|-
|-
| {{tl2|ModernImportant{{{suf|}}}}} || 308
| {{T|main}} || 143
|-
|-
| {{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. -->
| {{T|distinguish}} || 85
|-
|-
| {{tl2|Elaborate{{{suf|}}}}}<br>{{t|ClassicElaborate}} || 10
| {{T|workaround}} || 122
|-
|-
| {{tl2|Main{{{suf|}}}}} || 121
| {{T|seealso}} || 145
|-
|-
| {{tl2|Distinguish{{{suf|}}}}} || 75
| {{T|when}} || 1
|-
|-
| {{tl2|Workaround{{{suf|}}}}} || 96
| {{T|where}} || 0
|-
|-
| {{tl2|Seealso{{{suf|}}}}} || 62
| {{T|which}} || 2
|-
|-
| {{tl2|Why{{{suf|}}}}}<br>{{t|ClassicWhy}} || 21
| {{T|why}} || 38
|-
|-
| {{tl2|Idea{{{suf|}}}}}<br>{{t|ClassicIdea}} || 11
| {{T|idea}} || 21
|-
|-
| {{tl2|Placement Tip{{{suf|}}}}}<br>{{t|ClassicPlacementTip}} || 6 + 2
| {{T|placementTip}} || 13
|-
|-
| {{tl2|Codenote{{{suf|}}}}}<br>{{t|Codenote}} || 10
| {{T|codenote}} || 21
|-
|-
| {{tl2|Altnames{{{suf|}}}}} || 13
| {{T|altnames}} || 35
|-
|-
| {{tl2|Deprecated{{{suf|}}}}}<br>{{t|ClassicDeprecated}} || 34 + 25<!-- excludes template pages. -->
| {{T|deprecated}} || 109 <!-- Total amount used on this wiki --><!-- 59 ; excludes template pages. -->
|-
|-
| {{tl2|How{{{suf|}}}}}<br>{{t|ClassicHow}} || 18 + 15<!-- excludes template pages. -->
| {{T|how}} || 23 <!-- Total amount used on this wiki --><!-- 33 ; excludes template pages. -->
|-
|-
| {{tl2|Notice{{{suf|}}}}} || 15 + 10<!-- excludes template pages. may contain duplicated pages on both "Pages transcluded on" lists. -->
| {{T|example}} || 16
|-
|-
| {{tl2|Example{{{suf|}}}}} || 3
| {{T|confusion}} || 53 <!-- Total amount used on this wiki --><!-- 3 + 1 ; mostly accurate. excludes template page.-->
|-
|-
| {{tl2|Confusion{{{suf|}}}}} || 3 + 1<!-- mostly accurate. excludes template page.-->
| {{T|thanks}} || 7
|-
|-
| {{tl2|Special thanks{{{suf|}}}}} || 1
| {{T|code Fix}} || 9 + 7 (16) <!-- Template:Code Fix and Template:Code fix -->
|-
|-
| {{tl2|Thanks}} (Modern) || N/A
| {{T|vote}} || 4
|}</includeonly></onlyinclude>
|}</onlyinclude>
 
<noinclude>{{doc}}</noinclude>


<!-- Add categories to the /doc subpage, not here -->
</includeonly>

Latest revision as of 10:22, 9 April 2025

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
28 August 2024
{{note}} 6,436
{{warning}} 1,253
{{bug}} 1,192
{{tip}} 1,516
{{todo}} 1,628
{{inline note}} 2,188
{{confirm}} 672
{{question}} 11
{{fix}} 170
{{important}} 459
{{clarify}} 169
{{elaborate}} 18
{{main}} 143
{{distinguish}} 85
{{workaround}} 122
{{seealso}} 145
{{when}} 1
{{where}} 0
{{which}} 2
{{why}} 38
{{idea}} 21
{{placementTip}} 13
{{codenote}} 21
{{altnames}} 35
{{deprecated}} 109
{{how}} 23
{{example}} 16
{{confusion}} 53
{{thanks}} 7
{{code Fix}} 9 + 7 (16)
{{vote}} 4
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
28 August 2024
{{note}} 6,436
{{warning}} 1,253
{{bug}} 1,192
{{tip}} 1,516
{{todo}} 1,628
{{inline note}} 2,188
{{confirm}} 672
{{question}} 11
{{fix}} 170
{{important}} 459
{{clarify}} 169
{{elaborate}} 18
{{main}} 143
{{distinguish}} 85
{{workaround}} 122
{{seealso}} 145
{{when}} 1
{{where}} 0
{{which}} 2
{{why}} 38
{{idea}} 21
{{placementTip}} 13
{{codenote}} 21
{{altnames}} 35
{{deprecated}} 109
{{how}} 23
{{example}} 16
{{confusion}} 53
{{thanks}} 7
{{code Fix}} 9 + 7 (16)
{{vote}} 4