Cogito, ergo sum

Template:Ch/doc

From Unreal Wiki, The Unreal Engine Documentation Site
< Template:Ch
Revision as of 05:58, 17 March 2010 by Wormbo (Talk | contribs) (added prefix/suffix example)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This subpage contains documentation, categories and other content that is not part of the template.
To view the template page itself, see Template:Ch.

Helper template for class/interface infoboxes and any other templates that want to display a parent class hierarchy.

Usage[edit]

{{ch|Info|Actor|Object|e=UE1|g=UT|c=Mutator}}

Object >> Actor >> Info >> Mutator

All class parameters are optional, engine and game are required, but may be empty. A ">>" separator will be displayed for each parent class. They are followed by a non-breaking space, but preceded by a regular space. This means, line wraps will happen between a parent class name and the following ">>".

Alternatively the following syntax can be used:

{{ch|Info|Actor|Object|p=UE1:|s=_(UT)|c=Mutator}}

Object >> Actor >> Info >> Mutator

This version specifies plain link prefix and suffix strings instead of engine and game names, respectively.

Both versions allow up to ten parent classes. If more parents are specified, they are silently dropped.

See also[edit]