Template:Category game classes: Difference between revisions
From Unreal Wiki, The Unreal Engine Documentation Site
m moved TOC to separate template |
m list games in engine categories under their corresponding first letter |
||
Line 5: | Line 5: | ||
|{{#if:{{{custom|{{{native|}}}}}}|[[Category:{{{1}}}-specific classes{{!}} {{PAGENAME}}]]}}}} | |{{#if:{{{custom|{{{native|}}}}}}|[[Category:{{{1}}}-specific classes{{!}} {{PAGENAME}}]]}}}} | ||
[[Category:{{#if:{{{custom|}}}|Custom_}}{{#if:{{{native|}}}|native_}}classes by game{{!}}{{{1}}}]] | [[Category:{{#if:{{{custom|}}}|Custom_}}{{#if:{{{native|}}}|native_}}classes by game{{!}}{{{1}}}]] | ||
{{#if:{{{2|}}}|[[Category:{{#if:{{{custom|}}}|Custom_}}{{#if:{{{native|}}}|native_}}{{{2}}}-specific classes{{!}} {{ | {{#if:{{{2|}}}|[[Category:{{#if:{{{custom|}}}|Custom_}}{{#if:{{{native|}}}|native_}}{{{2}}}-specific classes{{!}}{{{1}}}]]}} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 15:52, 17 May 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}}