Template:Type

From Kerbal Space Program Wiki
Revision as of 01:54, 14 October 2015 by Glyph (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Creates an API link. The following values won't be linked:

  • int
  • uint
  • double
  • float
  • string
  • String
  • byte
  • Byte
  • Int32
  • Int64
  • long
  • Int16
  • short
  • bool
  • object
  • enum
  • void
  • constructor

Those values will be linked to the MSDN:

  • List

Parameters

Name Optional Description Default
1 or type No Type of the, links to an API page with this name
2 or desc Yes Description which shows as a tooltip. The target page's name (API:{{{1}}})

Examples

Code Result
{{Type|Vessel}}
Vessel
{{Type|Vessel|A vessel}}
Vessel
{{Type|type=Vessel|desc=A vessel}}
Vessel