Difference between revisions of "Template:Type"

From Kerbal Space Program Wiki
Jump to: navigation, search
(+parameters; +link List;)
m (-.aspx fileending;)
Line 13: Line 13:
 
|Int16
 
|Int16
 
|short={{Type/Text|{{{1|{{{type|}}}}}}|{{{2|{{{desc|}}}}}}}}
 
|short={{Type/Text|{{{1|{{{type|}}}}}}|{{{2|{{{desc|}}}}}}}}
|List={{Type/MSDN|{{{1|{{{type|}}}}}}|{{{2|{{{desc|}}}}}}|6sh2ey19.aspx}}
+
|List={{Type/MSDN|{{{1|{{{type|}}}}}}|{{{2|{{{desc|}}}}}}|6sh2ey19}}
 
|#default=[[API:{{{1|{{{type|}}}}}}|{{Type/Text|{{{1|{{{type|}}}}}}|{{{2|{{{desc|}}}}}}}}]]
 
|#default=[[API:{{{1|{{{type|}}}}}}|{{Type/Text|{{{1|{{{type|}}}}}}|{{{2|{{{desc|}}}}}}}}]]
 
}}</includeonly><noinclude>Creates an API link. The following values won't be linked:
 
}}</includeonly><noinclude>Creates an API link. The following values won't be linked:

Revision as of 16:22, 17 July 2013

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

  • int
  • uint
  • double
  • float
  • string
  • String
  • byte
  • Byte
  • Int32
  • Int64
  • long
  • Int16
  • short

Those values will be linked to the MSDN:

  • List

Parameters

Template:Parameter Table

Examples

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