There is no spoon

Difference between revisions of "Template:Infobox class/doc"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(New page: <noinclude>{{Documentation subpage}}</noinclude> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== This template provides an info box for a class. The inf...)
 
m
Line 17: Line 17:
 
}}
 
}}
 
</pre>
 
</pre>
{{Infobox class
+
 
| class  = UTCheatManager
+
| package = UTGame
+
| within  = PlayerController
+
| tree    =
+
+ [[{{classpage|c=Object}}|Object]]
+
++ [[{{classpage|c=CheatManager}}|CheatManager]]
+
+++ [[{{classpage|c=UTCheatManager}}|UTCheatManager]]
+
| game    = UT3
+
}}
+
 
Only '''package''' is mandatory. If '''class''', '''game''' or '''engine''' are missing, it they are derived from the current page name. The parameter '''engine''' is only used if no game could be derived from parameter or page name. The class in the '''within''' parameter is automatically linked, if possible.
 
Only '''package''' is mandatory. If '''class''', '''game''' or '''engine''' are missing, it they are derived from the current page name. The parameter '''engine''' is only used if no game could be derived from parameter or page name. The class in the '''within''' parameter is automatically linked, if possible.
  

Revision as of 07:09, 4 March 2008

This subpage contains documentation, categories and other content that is not part of the template.
To view the template page itself, see Template:Infobox class.

Usage

This template provides an info box for a class. The info box can contain relevant information like parent classes, implemented interfaces or the within class.

Example:

{{Infobox class
| class   = UTCheatManager
| package = UTGame
| within  = PlayerController
| tree    =
+ [[{{classpage|c=Object}}|Object]]
++ [[{{classpage|c=CheatManager}}|CheatManager]]
+++ [[{{classpage|c=UTCheatManager}}|UTCheatManager]]
| game    = UT3
}}

Only package is mandatory. If class, game or engine are missing, it they are derived from the current page name. The parameter engine is only used if no game could be derived from parameter or page name. The class in the within parameter is automatically linked, if possible.