Template:Main/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Used Template:Inline note. Now supports using no parameter. Added example.)
mNo edit summary
Line 1: Line 1:
{{Inline note templates}}
{{Inline note templates}}
{{Documentation subpage}}
{{Doc/subpage}}


== Usage ==
== Usage ==
Line 23: Line 23:
|}
|}


<includeonly>{{sandbox other||
{{clr}}
<!-- Categories below this line, please -->


{{Doc/sandbox other|
[[Category:Inline note templates|{{PAGENAME}}]]
[[Category:Inline note templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
[[Category:Notice templates|{{PAGENAME}}]]
 
}}
}}</includeonly>

Revision as of 04:24, 23 April 2023

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
Edit-copy.png
This is a documentation subpage for Template:Main.
Don't forget to purge the contents of the base page upon creating or editing this subpage.

Usage

Parameters

  • {{{1}}} - The page name to link to.
  • {{{2}}} - An alternative link text.

Examples

[[Main Page]]{{main}} Main Page[Main article]
{{main|Main Page}}
Main article:  Main Page
{{main|Main Page|alternate text}}
Main article:  alternate text

Template:Doc/sandbox other