Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel
Difference between revisions of "Template:Classname/doc"
From Unreal Wiki, The Unreal Engine Documentation Site
m |
m |
||
Line 5: | Line 5: | ||
For example "UE2:ACTION GotoMenu (UT2003)" is the canonical name of the page about the UT2003 version of the ACTION_GotoMenu class. This template would strip the game name and namespace prefix and replace the space with an underscore to return exactly that: "ACTION_GotoMenu". | For example "UE2:ACTION GotoMenu (UT2003)" is the canonical name of the page about the UT2003 version of the ACTION_GotoMenu class. This template would strip the game name and namespace prefix and replace the space with an underscore to return exactly that: "ACTION_GotoMenu". | ||
+ | |||
+ | '''Note:''' This template assumes that the class page is a top-level page and the template is used at most a single level below the actual class page. | ||
==See also== | ==See also== |
Revision as of 05:37, 4 March 2008
Usage
This utility template extracts the game name from a class page name. Game-specific class pages may have a game name appended in parentheses and due to technical restrictions have spaces instead of underscores.
For example "UE2:ACTION GotoMenu (UT2003)" is the canonical name of the page about the UT2003 version of the ACTION_GotoMenu class. This template would strip the game name and namespace prefix and replace the space with an underscore to return exactly that: "ACTION_GotoMenu".
Note: This template assumes that the class page is a top-level page and the template is used at most a single level below the actual class page.