Template:Idc

From AddOn Studio
Jump to navigation Jump to search

Use on referenceable links for C API members, or any referenceable link that wants default of 't=member,f=1'. See Template:id. Normally 'id' template defaults to 'member', and 'f=0' for not showing the containing name.

Usage
  • 1 - first name part, usually a page name prefix, like API or CVar
  • 2 - second name part, like a function, table, 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.
  • f [1,0] - delimited names like methods and members will display full name. Default is 0.
Example

{{idc|API|C_Banana|GetBananaUpdate}}

C_Banana.GetBananaUpdate

Template