Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
Difference between revisions of "Template:Infobox class part"
(reversed order of parent parameters (1 = always direct parent class)) |
m (using new class hierarchy template) |
||
Line 2: | Line 2: | ||
|[[Image:Icon-{{{game|{{gamename}}}}}.png|{{{game|{{gamename}}}}} class]]|{{#if:{{{engine|{{ARTICLESPACE}}}}} | |[[Image:Icon-{{{game|{{gamename}}}}}.png|{{{game|{{gamename}}}}} class]]|{{#if:{{{engine|{{ARTICLESPACE}}}}} | ||
|[[Image:Icon-{{{engine|{{ARTICLESPACE}}}}}.png|{{{engine|{{ARTICLESPACE}}}}} class]]}}}} | |[[Image:Icon-{{{engine|{{ARTICLESPACE}}}}}.png|{{{engine|{{ARTICLESPACE}}}}} class]]}}}} | ||
− | {{ | + | {{ch|{{{parent1|}}}|{{{parent2|}}}|{{{parent3|}}}|{{{parent4|}}}|{{{parent5|}}}|{{{parent6|}}}|{{{parent7|}}}|{{{parent8|}}}|{{{parent9|}}}|{{{parent10|}}}|c={{{class}}}|e={{{engine|{{ARTICLESPACE}}}}}|g={{{game|{{gamename}}}}}}} ''({{{part}}})''</div>{{#if:{{{notoc|}}}||<div style="float:right;padding:0 0 1em 1em;">__TOC__</div>}} |
<includeonly>{{DISPLAYTITLE:{{#if:{{#pos: UE1UE2UE3 | {{{engine|{{ARTICLESPACE}}}}}}}|{{{engine|{{ARTICLESPACE}}}}}:}}{{{class}}} {{{part}}} {{#if:{{{game|{{gamename}}}}}|({{{game|{{gamename}}}}})}}}}{{DEFAULTSORT:{{PAGENAME}} {{{game|}}} {{{engine|{{ARTICLESPACE}}}}}}}</includeonly><noinclude> | <includeonly>{{DISPLAYTITLE:{{#if:{{#pos: UE1UE2UE3 | {{{engine|{{ARTICLESPACE}}}}}}}|{{{engine|{{ARTICLESPACE}}}}}:}}{{{class}}} {{{part}}} {{#if:{{{game|{{gamename}}}}}|({{{game|{{gamename}}}}})}}}}{{DEFAULTSORT:{{PAGENAME}} {{{game|}}} {{{engine|{{ARTICLESPACE}}}}}}}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 09:35, 9 May 2008
Contents
This template provides an info box for a page about parts of a class, like native functions or certain property groups. The info box only takes a subset of the parameters Template:Infobox class knows: parents, the class name, which part of the class is described on the page and optional information like game and engine name.
Usage
Example:
{{infobox class part | class = Actor | part = native functions | game = UT3 | engine = UE3 | parent1 = Object }}
- Actor native functions in other games:
- RTNP, U1, UT, U2, U2XMP, UE2Runtime, UT2003, UT2004, UT3, UDK
- Other member categories for this class:
- events, instance functions, internal variables, native functions, structs
Class and part are required. If game or engine are missing, they are derived from the current page name. (You can see this effect in the default output on the template page.) Engine and game are only used for linking pages and can usually be left out.
The classes in the parentx parameters are automatically linked. The same rules and guidelines as for Template:Infobox class apply.