Template:Infobox interface: Difference between revisions
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
{{{tree}}} | {{{tree}}} | ||
{{!}}}}- | {{!}}}}- | ||
! colspan="2" | ! 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}}}}}]]}}}} | ||
|}<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 09:46, 6 March 2008
Interface: | Infobox_interface |
---|---|
Classes implementing interface Infobox_interface |
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 |
Classes implementing interface UIDataStorePublisher |
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".