Template:Infobox interface: Difference between revisions
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
! colspan="2" | [[:Category:Classes implementing interface {{{interface|{{classname}}}}} {{#if: {{{game|{{gamename}}}}}|({{{game|{{gamename}}}}})|{{#if: {{{engine|{{ARTICLESPACE}}}}}|({{{engine|{{ARTICLESPACE}}}}})}}}}|Known implementing classes]]: | ! colspan="2" | [[:Category:Classes implementing interface {{{interface|{{classname}}}}} {{#if: {{{game|{{gamename}}}}}|({{{game|{{gamename}}}}})|{{#if: {{{engine|{{ARTICLESPACE}}}}}|({{{engine|{{ARTICLESPACE}}}}})}}}}|Known implementing classes]]: | ||
|- | |- | ||
| colspan="2" | | colspan="2" |<dpl> | ||
category=*Category:Classes implementing interface {{{interface|{{classname}}}}} (({{{game|{{gamename}}}}})) | category=*Category:Classes implementing interface {{{interface|{{classname}}}}} (({{{game|{{gamename}}}}})) | ||
mode=inline | mode=inline | ||
inlinetext=, | inlinetext=, | ||
ignorecase=true | ignorecase=true | ||
</dpl>|{{#if: {{{engine|{{ARTICLESPACE}}}}}|<dpl> | </dpl>{{classlist|{{#if: {{{game|{{gamename}}}}}||{{#if: {{{engine|{{ARTICLESPACE}}}}}|<dpl> | ||
category=*Category:Classes implementing interface {{{interface|{{classname}}}}} ({{{engine|{{ARTICLESPACE}}}}}) | category=*Category:Classes implementing interface {{{interface|{{classname}}}}} ({{{engine|{{ARTICLESPACE}}}}}) | ||
mode=inline | mode=inline |
Revision as of 09:41, 6 March 2008
Interface: | Infobox_interface |
---|---|
Known implementing classes: | |
Extension:DynamicPageList3 (DPL3), version 3.5.2: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants Template:Classlist |
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 }}
Interface: | Engine.UIDataStorePublisher |
---|---|
Game: | UT3 |
Known implementing classes: | |
Extension:DynamicPageList3 (DPL3), version 3.5.2: Error: No selection criteria found! You must use at least one of the following parameters: category, namespace, titlematch, linksto, uses, createdby, modifiedby, lastmodifiedby, or their 'not' variants Template:Classlist |
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
Warning: Default sort key "Infobox interface" overrides earlier default sort key "Infobox interface UT3 UE3".