I love the smell of UnrealEd crashing in the morning. – tarquin

Difference between revisions of "Template:Ch/doc"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(New page: <noinclude>{{Documentation subpage}}</noinclude> Helper template for class/interface infoboxes and any other templates that want to display a parent class hierarchy. ==Usage== <pre> {{ch|...)
 
m (added prefix/suffix example)
 
Line 1: Line 1:
 
<noinclude>{{Documentation subpage}}</noinclude>
 
<noinclude>{{Documentation subpage}}</noinclude>
Helper template for class/interface infoboxes and any other templates that want to display a parent class hierarchy.
+
Helper template for class/interface infoboxes and any other templates that want to display a parent '''c'''lass '''h'''ierarchy.
  
 
==Usage==
 
==Usage==
Line 9: Line 9:
  
 
All class parameters are optional, '''e'''''ngine'' and '''g'''''ame'' 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 ">>".
 
All class parameters are optional, '''e'''''ngine'' and '''g'''''ame'' 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:
 +
<pre>
 +
{{ch|Info|Actor|Object|p=UE1:|s=_(UT)|c=Mutator}}
 +
</pre>
 +
{{ch|Info|Actor|Object|p=UE1:|s=_(UT)|c=Mutator}}
 +
 +
This version specifies plain link '''p'''''refix'' and '''s'''''uffix'' 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==
 
==See also==

Latest revision as of 06:58, 17 March 2010

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]