Template:Inline note templates: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Derp)
(Updated status - 9/9/2023. Also replaced suf (except previews) with Autolang.)
Line 2: Line 2:
<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;}}}"
|+ {{{title|[[:Category:Inline note templates|{{#switch:{{{suf|}}}|#default=Inline note templates|:zh-cn=注释模板|:ru=Встраиваемые шаблоны заметок}}]]}}}
|+ {{{title|[[:Category:Inline note templates|{{Autolang|Inline note templates|zh=注释模板|ru=Встраиваемые шаблоны заметок}}]]}}}
!rowspan=2| {{#switch:{{{suf|}}}|#default=Template|:zh-cn=模板|:ru=Шаблон}}
!rowspan=2| {{Autolang|Template|zh=模板|ru=Шаблон}}
!colspan=1| {{#switch:{{{suf|}}}|#default=Pages using it|:zh-cn=使用页面数量|:ru=Страницы, использующие его}}
!colspan=1| {{Autolang|Pages using it|zh=使用页面数量|ru=Страницы, использующие его}}
|-
|-
! 2023-04-27
! 2023-09-29
|-
|-
| {{tl2|Note{{{suf|}}}}} || 4,859
| {{tl2|Note{{{suf|}}}}} || 5,964
|-
|-
| {{tl2|Warning{{{suf|}}}}} || 1,371
| {{tl2|Warning{{{suf|}}}}} || 2,331
|-
|-
| {{tl2|Bug{{{suf|}}}}} || 1,305
| {{tl2|Bug{{{suf|}}}}} || 1,550
|-
|-
| {{tl2|Tip{{{suf|}}}}} || 1,099
| {{tl2|Tip{{{suf|}}}}} || 1,485
|-
|-
| {{tl2|Todo{{{suf|}}}}} || 1,090
| {{tl2|Todo{{{suf|}}}}} || 1,551
|-
|-
| {{tl2|Inline note{{{suf|}}}}} || 766
| {{tl2|Inline note{{{suf|}}}}} || 955
|-
|-
| {{tl2|Confirm{{{suf|}}}}} || 552
| {{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|Fix{{{suf|}}}}} || 201
| {{tl2|ModernConfirm}} || 97
|-
|-
| {{tl2|Important{{{suf|}}}}} || 158
| {{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|Clarify{{{suf|}}}}} || 88
| {{tl2|ModernFix}} || 489
|-
|-
| {{tl2|Elaborate{{{suf|}}}}} || 1
| {{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|Main{{{suf|}}}}} || 71
| {{tl2|ModernImportant{{{suf|}}}}} || 308
|-
|-
| {{tl2|Distinguish{{{suf|}}}}} || 61
| {{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|Workaround{{{suf|}}}}} || 40
| {{tl2|Elaborate{{{suf|}}}}}<br>{{t|ClassicElaborate}} || 10
|-
|-
| {{tl2|Seealso{{{suf|}}}}} || 29
| {{tl2|ModernElaborate}} || N/A (not created)
|-
|-
| {{tl2|Why{{{suf|}}}}} || 21
| {{tl2|Main{{{suf|}}}}} || 121
|-
|-
| {{tl2|Idea{{{suf|}}}}} || 13
| {{tl2|Distinguish{{{suf|}}}}} || 75
|-
|-
| {{tl2|Placement Tip{{{suf|}}}}} || 12
| {{tl2|Workaround{{{suf|}}}}} || 96
|-
|-
| {{tl2|Codenote{{{suf|}}}}} || 12
| {{tl2|Seealso{{{suf|}}}}} || 62
|-
| {{tl2|Why{{{suf|}}}}}<br>{{t|ClassicWhy}} || 21
|-
| {{tl2|Idea{{{suf|}}}}}<br>{{t|ClassicIdea}} || 11
|-
| {{tl2|Placement Tip{{{suf|}}}}}<br>{{t|ClassicPlacementTip}} || 6 + 2
|-
| {{tl2|Codenote{{{suf|}}}}}<br>{{t|Codenote}} || 10
|-
|-
| {{tl2|Altnames{{{suf|}}}}} || 13
| {{tl2|Altnames{{{suf|}}}}} || 13
|-
|-
| {{tl2|Deprecated{{{suf|}}}}} || 9
| {{tl2|Deprecated{{{suf|}}}}}<br>{{t|ClassicDeprecated}} || 34 + 25<!-- excludes template pages. -->
|-
| {{tl2|How{{{suf|}}}}}<br>{{t|ClassicHow}} || 18 + 15<!-- excludes template pages. -->
|-
|-
| {{tl2|How{{{suf|}}}}} || 9
| {{tl2|Notice{{{suf|}}}}} || 15 + 10<!-- excludes template pages. may contain duplicated pages on both "Pages transcluded on" lists. -->
|-
|-
| {{tl2|Notice{{{suf|}}}}} || 9
| {{tl2|Example{{{suf|}}}}} || 3
|-
|-
| {{tl2|Example{{{suf|}}}}} || 5
| {{tl2|Confusion{{{suf|}}}}} || 3 + 1<!-- mostly accurate. excludes template page.-->
|-
|-
| {{tl2|Confusion{{{suf|}}}}} || 4
| {{tl2|Special thanks{{{suf|}}}}} || 1
|-
|-
| {{tl2|Special thanks{{{suf|}}}}} || 3
| {{tl2|Thanks}} (Modern) || N/A
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>



Revision as of 01:58, 9 September 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
[[:Category:Inline note templates|
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}

]]

Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
2023-09-29
{{Note}} 5,964
{{Warning}} 2,331
{{Bug}} 1,550
{{Tip}} 1,485
{{Todo}} 1,551
{{Inline note}} 955
{{Confirm}}
{{ClassicConfirm}}
691 + 324
{{ModernConfirm}} 97
{{Fix}}
{{ClassicFix}}
174 + 33
{{ModernFix}} 489
{{Important}} 240 + 106
{{ModernImportant}} 308
{{Clarify}}
{{ClassicClarify}}
154 + 105
{{Elaborate}}
{{ClassicElaborate}}
10
{{ModernElaborate}} N/A (not created)
{{Main}} 121
{{Distinguish}} 75
{{Workaround}} 96
{{Seealso}} 62
{{Why}}
{{ClassicWhy}}
21
{{Idea}}
{{ClassicIdea}}
11
{{Placement Tip}}
{{ClassicPlacementTip}}
6 + 2
{{Codenote}}
{{Codenote}}
10
{{Altnames}} 13
{{Deprecated}}
{{ClassicDeprecated}}
34 + 25
{{How}}
{{ClassicHow}}
18 + 15
{{Notice}} 15 + 10
{{Example}} 3
{{Confusion}} 3 + 1
{{Special thanks}} 1
{{Thanks}} (Modern) 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}}:

Шаблоны
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
Red x.png
This template (and its redirect) is Wikipedia icon Deprecated. Its use is not recommended and its functionality may be compromised.
You can help our editors by replacing or deleting this template on the Pages that use this template. Once no more pages use this template, it should be Marked for deletion.

Additional notes:
Use #switch parser function instead. Example
{{#switch: {{language}}
| #default = English
| ja = 日本語
| zh-tw = 中文(台灣)
‎}}
2023-09-29
{{Note:ru}} 5,964
{{Warning:ru}} 2,331
{{Bug:ru}} 1,550
{{Tip:ru}} 1,485
{{Todo:ru}} 1,551
{{Inline note:ru}} 955
{{Confirm:ru}}
{{ClassicConfirm}}
691 + 324
{{ModernConfirm}} 97
{{Fix:ru}}
{{ClassicFix}}
174 + 33
{{ModernFix}} 489
{{Important:ru}} 240 + 106
{{ModernImportant:ru}} 308
{{Clarify:ru}}
{{ClassicClarify}}
154 + 105
{{Elaborate:ru}}
{{ClassicElaborate}}
10
{{ModernElaborate}} N/A (not created)
{{Main:ru}} 121
{{Distinguish:ru}} 75
{{Workaround:ru}} 96
{{Seealso:ru}} 62
{{Why:ru}}
{{ClassicWhy}}
21
{{Idea:ru}}
{{ClassicIdea}}
11
{{Placement Tip:ru}}
{{ClassicPlacementTip}}
6 + 2
{{Codenote:ru}}
{{Codenote}}
10
{{Altnames:ru}} 13
{{Deprecated:ru}}
{{ClassicDeprecated}}
34 + 25
{{How:ru}}
{{ClassicHow}}
18 + 15
{{Notice:ru}} 15 + 10
{{Example:ru}} 3
{{Confusion:ru}} 3 + 1
{{Special thanks:ru}} 1
{{Thanks}} (Modern) N/A