Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

Difference between revisions of "Template:Category game classes"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m
m (support for custom class pages)
Line 1: Line 1:
This [[Project:Categories|category]] contains all [[UnrealScript]] [[class]]e{{#ifexist:Category:{{{1}}}-specific interfaces|s and [[interface]]}}s specific to [[{{{2|{{{1}}}}}}]].
+
This [[Project:Categories|category]] contains all {{#if:{{{custom|}}}|custom}} [[UnrealScript]] [[class]]e{{#ifexist:Category:{{{1}}}-specific interfaces|s and [[interface]]}}s specific to [[{{{2|{{{1}}}}}}]].
 
<includeonly>
 
<includeonly>
[[Category:Classes by game]]
+
{{#if:{{{custom|}}}
 +
|[[Category:Custom classes by game]] [[Category:{{{1}}}-specific classes{{!}}  {{PAGENAME}}]]
 +
|[[Category:Classes by game]]}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 04:35, 16 March 2008

This category contains all UnrealScript classes specific to [[{{{1}}}]].

[edit] Documentation

This template defines the content of game-specific class category pages.

Usage

For stock class categories:

{{category game classes|UT3|UE3}}

The first parameter is mandatory and defines the game's short name. The long name is determined through a template with same name as the short name. The second parameter is optional and defines the short name of a "parent game", usually the game's engine.

For custom class categories:

{{category game classes|UT3|UE3|custom=yes}}

See also