Template:Category within classes: Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
m upgrades :-)
mNo edit summary
 
Line 1: Line 1:
This [[Project:Categories|category]] contains all {{#if:{{{custom|}}}|custom}} [[UnrealScript]] [[class]]es that are declared [[within]] the {{#ifeq:{{{custom}}}|outer|custom}} {{#if:{{gamename}}|{{ {{gamename}} }}}} class [[{{#if:{{{3|}}}|{{{3}}}:}}{{{1}}}{{#if:{{gamename}}|_({{gamename}})}}|{{{1}}}]].
This [[Project:Categories|category]] contains all {{#if:{{{custom|}}}|custom}} [[UnrealScript]] [[class]]es that are declared [[within]] the {{#ifeq:{{{custom}}}|outer|custom}} {{#if:{{gamename}}|{{ {{gamename}} }}}} class [[{{#if:{{{2|}}}|{{{2}}}:}}{{{1}}}{{#if:{{gamename}}|_({{gamename}})}}|{{{1}}}]].
<includeonly>[[Category:C{{#if:{{{custom|}}}|ustom c}}lasses within other classes{{!}}{{{1}}} ({{gamename}})]] {{#if:{{gamename}}|[[Category:{{#if:{{{custom|}}}|Custom_}}{{gamename}}-specific classes{{!}}{{{1}}}]]}} {{#ifeq:{{{custom|outer}}}|outer||[[Category:Classes within {{{1}}}{{#if:{{gamename}}|_({{gamename}})}}{{!}} {{PAGENAME}}]]}} {{#if:{{{parent|}}}|[[Category:Classes within {{{parent}}} ({{gamename}}){{!}} {{PAGENAME}}]]}} {{#if:{{{customparent|}}}|[[Category:Custom classes within {{{parent}}} ({{gamename}}){{!}} {{PAGENAME}}]]}}</includeonly><noinclude>
<includeonly>[[Category:C{{#if:{{{custom|}}}|ustom c}}lasses within other classes{{!}}{{{1}}} ({{gamename}})]] {{#if:{{gamename}}|[[Category:{{#if:{{{custom|}}}|Custom_}}{{gamename}}-specific classes{{!}}{{{1}}}]]}} {{#ifeq:{{{custom|outer}}}|outer||[[Category:Classes within {{{1}}}{{#if:{{gamename}}|_({{gamename}})}}{{!}} {{PAGENAME}}]]}} {{#if:{{{parent|}}}|[[Category:Classes within {{{parent}}} ({{gamename}}){{!}} {{PAGENAME}}]]}} {{#if:{{{customparent|}}}|[[Category:Custom classes within {{{parent}}} ({{gamename}}){{!}} {{PAGENAME}}]]}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 07:16, 13 May 2008

This category contains all UnrealScript classes that are declared within the class [[{{{1}}}|{{{1}}}]].

[edit] Documentation

This template defines the content of categories for classes declared within other classes.

Usage

For stock classes within another class:

{{category within classes|PlayerController|UE3}}

For custom classes within another stock or custom class:

{{category within classes|PlayerController|UE3|custom=yes}}

If the outer class has a parent class with additional within classes:

{{category within classes|UTPlayerController|UE3|parent=PlayerController}}

If the outer class has a parent class with additional custom within classes:

{{category within classes|UTPlayerController|UE3|custom=yes|parent=PlayerController|parentcustom=yes}}

See also