Template:Code Reference

Revision as of 06:27, 1 August 2020 by Sol (talk | contribs) (add documentation)

This template is used for cohesive citation of the game's C# classes. It's called like so:

{{Part Reference
| namespace = Fake.Namespace
| class     = FakeClass
| method    = FakeMethod
}}

All parameters except class can usefully be omitted:

  • If class is missing, the page will be tagged with Category:Pages with part reference errors.
  • If namespace is missing, it defaults to XRL.World.Parts.
  • If method is missing, the descriptive text related to it is omitted.

The above example results in the following citation:[1]

  1. Fake.Namespace.FakeClass, method FakeMethod