I love the smell of UnrealEd crashing in the morning. – tarquin
Difference between revisions of "Template:Infobox class part"
m |
(reversed order of parent parameters (1 = always direct parent class)) |
||
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]]}}}} | ||
− | {{#if:{{{ | + | {{#if: {{{parent10|}}}|{{cl|{{{parent10}}}}} >> }}{{#if: {{{parent9|}}}|{{cl|{{{parent9}}}}} >> }}{{#if: {{{parent8|}}}|{{cl|{{{parent8}}}}} >> }}{{#if: {{{parent7|}}}|{{cl|{{{parent7}}}}} >> }}{{#if: {{{parent6|}}}|{{cl|{{{parent6}}}}} >> }}{{#if: {{{parent5|}}}|{{cl|{{{parent5}}}}} >> }}{{#if: {{{parent4|}}}|{{cl|{{{parent4}}}}} >> }}{{#if: {{{parent3|}}}|{{cl|{{{parent3}}}}} >> }}{{#if: {{{parent2|}}}|{{cl|{{{parent2}}}}} >> }}{{#if: {{{parent1|{{{parent|}}}}}}|{{cl|{{{parent1|{{{parent}}}}}}}} >> }}[[{{#if:{{#pos: UE1UE2UE3 | {{{engine|{{ARTICLESPACE}}}}}}}|{{{engine|{{ARTICLESPACE}}}}}:}}{{{class}}}{{#if:{{{game|{{gamename}}}}}|_({{{game|{{gamename}}}}})}}|{{{class}}}]] ''({{{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:01, 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.