Template:Inline note templates: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Moved inline note templates table here. Added parameters title, style and suf.)
 
No edit summary
 
(52 intermediate revisions by 15 users not shown)
Line 1: Line 1:
{{lang|Inline note templates}}
{{doc}}
<onlyinclude><includeonly>
 
{| class="standard-table sortable" style="{{{style|float:right; white-space:nowrap; margin:1em}}}"
<includeonly>
|+ {{{title|[[:Category:Inline note templates|Inline note templates]]}}}
 
!rowspan=2| Template
<onlyinclude>{| class="standard-table sortable" style="{{{style|float:right; white-space:nowrap; margin:1em;}}}"
!colspan=1| Pages using it
|+ {{{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=Страницы, использующие его}}
|-
! {{#time:{{#switch: {{language}}|#default = j xg Y|zh=Y 年 n 月 j 日}}|28 aug 2024|{{language}}}}
|-
| {{T|note}} || 6,436
|-
| {{T|warning}} || 1,253
|-
| {{T|BugNotice|alt=bug}} || 1,192
|-
| {{T|tip}} || 1,516
|-
| {{T|todo}} || 1,628
|-
| {{T|inline note}} || 2,188
|-
| {{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. -->
|-
|-
! 2021-12-13
| {{T|question}} || 11
|-
|-
| {{tl|Note{{{suf|}}}}} || 4712
| {{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. -->
|-
|-
| {{tl|Warning{{{suf|}}}}} || 1662
| {{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. -->
|-
|-
| {{tl|Bug{{{suf|}}}}} || 1596
| {{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. -->
|-
|-
| {{tl|Todo{{{suf|}}}}} || 902
| {{T|elaborate}} || 18
|-
|-
| {{tl|Tip{{{suf|}}}}} || 887
| {{T|main}} || 143
|-
|-
| {{tl|Confirm{{{suf|}}}}} || 251
| {{T|distinguish}} || 85
|-
|-
| {{tl|Fix{{{suf|}}}}} || 50
| {{T|workaround}} || 122
|-
|-
| {{tl|Distinguish{{{suf|}}}}} || 38
| {{T|seealso}} || 145
|-
|-
| {{tl|Placement Tip{{{suf|}}}}} || 32
| {{T|when}} || 1
|-
|-
| {{tl|Main{{{suf|}}}}} || 25
| {{T|where}} || 0
|-
|-
| {{tl|Workaround{{{suf|}}}}} || 17
| {{T|which}} || 2
|-
|-
| {{tl|Why{{{suf|}}}}} || 14
| {{T|why}} || 38
|-
|-
| {{tl|Codenote{{{suf|}}}}} || 11
| {{T|idea}} || 21
|-
|-
| {{tl|Idea{{{suf|}}}}} || 11
| {{T|placementTip}} || 13
|-
|-
| {{tl|Inline note{{{suf|}}}}} || 9
| {{T|codenote}} || 21
|-
|-
| {{tl|Confusion{{{suf|}}}}} || 8
| {{T|altnames}} || 35
|-
|-
| {{tl|Deprecated{{{suf|}}}}} || 7
| {{T|deprecated}} || 109 <!-- Total amount used on this wiki --><!-- 59 ; excludes template pages. -->
|-
|-
| {{tl|How{{{suf|}}}}} || 7
| {{T|how}} || 23 <!-- Total amount used on this wiki --><!-- 33 ; excludes template pages. -->
|-
|-
| {{tl|Seealso{{{suf|}}}}} || 6
| {{T|example}} || 16
|-
|-
| {{tl|Notice{{{suf|}}}}} || 4
| {{T|confusion}} || 53 <!-- Total amount used on this wiki --><!-- 3 + 1 ; mostly accurate. excludes template page.-->
|-
|-
| {{tl|Important{{{suf|}}}}} || 3
| {{T|thanks}} || 7
|-
|-
| {{tl|Example{{{suf|}}}}} || 2
| {{T|code Fix}} || 9 + 7 (16) <!-- Template:Code Fix and Template:Code fix -->
|}</includeonly></onlyinclude>
|-
 
| {{T|vote}} || 4
{{documentation}}
|}</onlyinclude>


<!-- 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