Difference between revisions of "Template talk:Type"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "== Problem angle brackets and template == Can't have < and > signs in a link or it won't work: BaseActio>nList Example of this causing things to...")
 
Line 9: Line 9:
 
   |type=List&lt;Blah&gt;
 
   |type=List&lt;Blah&gt;
 
   |name=ClassID
 
   |name=ClassID
 +
  |desc=?
 +
  |hasget=1
 +
  |hasset=
 +
}}
 +
{{Property
 +
  |type=SomeTypeWithoutAngleBrackets
 +
  |name=ThisWorks
 
   |desc=?
 
   |desc=?
 
   |hasget=1
 
   |hasget=1

Revision as of 22:27, 13 October 2015

Problem angle brackets and template

Can't have < and > signs in a link or it won't work: BaseActio>nList

Example of this causing things to fail:

Properties

The following are public properties available in Type.

Signature Description
List<Blah> ClassID { get; }  ?
SomeTypeWithoutAngleBrackets ThisWorks { get; }  ?

Right now my workaround is to use weird unicode brackets that don't upset the templates. Glyph (talk) 22:27, 13 October 2015 (UTC)