Template:Id

Use on text which needs a reference-able html 'id', for links back to a specific spot in a page, when a page 'section' is inappropriate. For example, items in a list like for dev api functions. See also Template:api.

Usage
  • 1 - first name part, usually a page name prefix, like API or CVar
  • 2 - second name part, a function, object, variable, some other kind of thing.
  • 3 - third name part, usually a method or other type of member, or some other kind of child
  • t [method,member] - type of page. generally does not need to be set.
  • i [1,0] - create id anchor. Default is 1.
  • f [1,0] - delimited names like methods and members will display full name. Default is 0.
Examples
Note: Hover to see resultant links.

{{id|CVar|assistAttack}}

assistAttack

{{id|API|UIObject|SetAlpha}}

SetAlpha

{{id|API|UIObject|SetAlpha|t=member}}

SetAlpha

{{id|API|ChatFrame|AddChannel|f=1}}

ChatFrame:AddChannel

{{id|API|ChatFrame|AddChannel}}

AddChannel

Template