Mostly Harmless

Difference between revisions of "Template:Infobox interface"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Line 17: Line 17:
 
{{{tree}}}
 
{{{tree}}}
 
{{!}}}}-
 
{{!}}}}-
! colspan="2" | [[:Category:Classes implementing interface {{{interface|{{classname}}}}} {{#if: {{{game|{{gamename}}}}}|({{{game|{{gamename}}}}})|{{#if: {{{engine|{{ARTICLESPACE}}}}}|({{{engine|{{ARTICLESPACE}}}}})}}}}|Known implementing classes]]:
+
! colspan="2" style="font-size:smaller;" | {{#if: {{{game|{{gamename}}}}}|[[:Category:Classes implementing interface {{{interface|{{classname}}}}} ({{{game|{{gamename}}}}})|Classes implementing interface {{{interface|{{classname}}}}}]]|{{#if: {{{engine|{{ARTICLESPACE}}}}}|[[:Category:Classes implementing interface {{{interface|{{classname}}}}} ({{{engine|{{ARTICLESPACE}}}}})|Classes implementing interface {{{interface|{{classname}}}}}]]|[[:Category:Classes implementing interface {{{interface|{{classname}}}}}|Classes implementing interface {{{interface|{{classname}}}}}]]}}}}
|-
+
| colspan="2" |<dpl>
+
category=*Category:Classes implementing interface {{{interface|{{classname}}}}} (({{{game|{{gamename}}}}}))
+
mode=inline
+
inlinetext=,
+
ignorecase=true
+
</dpl>{{classlist|{{#if: {{{game|{{gamename}}}}}||{{#if: {{{engine|{{ARTICLESPACE}}}}}|<dpl>
+
category=*Category:Classes implementing interface {{{interface|{{classname}}}}} ({{{engine|{{ARTICLESPACE}}}}})
+
mode=inline
+
inlinetext=,
+
ignorecase=true
+
</dpl>}}}}|engine={{{engine|{{ARTICLESPACE}}}}}|game={{{game|{{gamename}}}}}}}
+
 
|}<includeonly>{{DISPLAYTITLE:{{{interfacepage|{{classpage|c={{{interface|{{classname}}}}}}}}}}}}{{DEFAULTSORT:{{PAGENAME}} {{{game|}}} {{{engine|{{ARTICLESPACE}}}}}}}{{#if:{{{interfacepage|{{{nocat|}}}}}}||{{#if: {{{custom|}}}|{{#if: {{{game|{{gamename}}}}}|[[Category:Custom {{{game|{{gamename}}}}}-specific interfaces]]|{{#if: {{{engine|{{ARTICLESPACE}}}}}|[[Category:Custom {{{engine|{{ARTICLESPACE}}}}}-specific interfaces]]|[[Category:Custom interfaces]]}}}}|{{#if: {{{game|{{gamename}}}}}|[[Category:{{{game|{{gamename}}}}}-specific interfaces]]|{{#if: {{{engine|{{ARTICLESPACE}}}}}|[[Category:{{{engine|{{ARTICLESPACE}}}}}-specific interfaces]]|[[Category:Interfaces]]}}}}{{#if: {{{package|}}}|{{#if: {{{game|{{gamename}}}}}|[[Category:Interfaces in {{{game|{{gamename}}}}} package {{{package}}}]]|{{#if: {{{engine|{{ARTICLESPACE}}}}}|[[Category:Interfaces in {{{engine|{{ARTICLESPACE}}}}} package {{{package}}}]]|[[Category:Interfaces in package {{{package}}}]]}}}}}}}}{{#if: {{{game|{{gamename}}}}}|[[Category:Classes implementing interface {{{interface|{{classname}}}}} ({{{game|{{gamename}}}}})| ]]|{{#if: {{{engine|{{ARTICLESPACE}}}}}|[[Category:Classes implementing interface {{{interface|{{classname}}}}} ({{{engine|{{ARTICLESPACE}}}}})| ]]|[[Category:Classes implementing interface {{{interface|{{classname}}}}}| ]]}}}}}}</includeonly><noinclude>
 
|}<includeonly>{{DISPLAYTITLE:{{{interfacepage|{{classpage|c={{{interface|{{classname}}}}}}}}}}}}{{DEFAULTSORT:{{PAGENAME}} {{{game|}}} {{{engine|{{ARTICLESPACE}}}}}}}{{#if:{{{interfacepage|{{{nocat|}}}}}}||{{#if: {{{custom|}}}|{{#if: {{{game|{{gamename}}}}}|[[Category:Custom {{{game|{{gamename}}}}}-specific interfaces]]|{{#if: {{{engine|{{ARTICLESPACE}}}}}|[[Category:Custom {{{engine|{{ARTICLESPACE}}}}}-specific interfaces]]|[[Category:Custom interfaces]]}}}}|{{#if: {{{game|{{gamename}}}}}|[[Category:{{{game|{{gamename}}}}}-specific interfaces]]|{{#if: {{{engine|{{ARTICLESPACE}}}}}|[[Category:{{{engine|{{ARTICLESPACE}}}}}-specific interfaces]]|[[Category:Interfaces]]}}}}{{#if: {{{package|}}}|{{#if: {{{game|{{gamename}}}}}|[[Category:Interfaces in {{{game|{{gamename}}}}} package {{{package}}}]]|{{#if: {{{engine|{{ARTICLESPACE}}}}}|[[Category:Interfaces in {{{engine|{{ARTICLESPACE}}}}} package {{{package}}}]]|[[Category:Interfaces in package {{{package}}}]]}}}}}}}}{{#if: {{{game|{{gamename}}}}}|[[Category:Classes implementing interface {{{interface|{{classname}}}}} ({{{game|{{gamename}}}}})| ]]|{{#if: {{{engine|{{ARTICLESPACE}}}}}|[[Category:Classes implementing interface {{{interface|{{classname}}}}} ({{{engine|{{ARTICLESPACE}}}}})| ]]|[[Category:Classes implementing interface {{{interface|{{classname}}}}}| ]]}}}}}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 10:46, 6 March 2008

Interface: Infobox_interface
Classes implementing interface Infobox_interface
[edit] Documentation

This template provides an info box for an interface class. The info box can contain relevant information like parent interfaces.

Usage

Example:

{{Infobox interface
| interface = UIDataStorePublisher
| package   = Engine
| game      = UT3
| engine    = UE3
| parent    = UIDataStoreSubscriber
}}
UT3 Interface >> UIDataStoreSubscriber >> UIDataStorePublisher

Contents

Package: 
Engine
Known implementing classes:
UICheckbox, UIComboBox, UIContextMenu, UIEditBox, UIImage, UILabelButton, UIList, UINumericEditBox, UINumericOptionList, UIOptionList, UIOptionListBase, UIProgressBar, UISlider, UITabButton, UIToggleButton, UTMapBackgroundImage, UTMapRoundImage, UTUIButtonBarButton, UTUICollectionCheckBox, UTUIComboBox, UTUIEditBox, UTUIList, UTUINumericEditBox, UTUIOptionButton, UTUISlider, UTUI_ContextMenu
This interface in other games:
UT3, UDK

If interface, game or engine are missing, they are derived from the current page name. Engine and game are only used for page and category links. It's usually better to let the template derive class, game and engine from the page name. If the interface has a super interface other than "Interface" itself, the list of parent interfaces up to (but excluding) "Interface" should be specified. If more than one parent needs to be specified, use parent1, parent2, etc., with parent1 being a synonym for parent.

For the interface "Interface" itself the class "Object" is given as parent, because technically "Interface" is an abstract class extending "Object" and all other interfaces are abstract classes extending either class "Interface" or their parent interface.

See also