Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
Difference between revisions of "Template:Infobox class part"
m (using new class hierarchy template) |
m (minor upgrade) |
||
Line 1: | Line 1: | ||
− | <div class="infobox infobox-class">{{Tnavbar|Infobox class part|style=float:right;}}{{#if:{{{game|{{gamename}}}}} | + | <div class="infobox infobox-class">{{Tnavbar|Infobox class part|style=float:right;}}{{#if:{{{game|{{gamename}}}}}|{{ {{{game|{{gamename}}}}}|icon}}}} |
− | | | + | |
− | + | ||
{{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>}} | {{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 07:45, 13 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.