Template:Classname/doc

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 14:13, 3 March 2008 by Wormbo (talk | contribs) (New page: <noinclude>{{Documentation subpage}}</noinclude> <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== This utility template extracts the game name from a cla...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This subpage contains documentation, categories and other content that is not part of the template.
To view the template page itself, see Template:Classname.

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".

See also