Template:Classname/doc: Difference between revisions
From Unreal Wiki, The Unreal Engine Documentation Site
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... |
mNo edit summary |
||
Line 11: | Line 11: | ||
<includeonly><!-- | <includeonly><!-- | ||
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. --> | ||
[[Category:Utility templates]] | [[Category:Utility templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> |
Revision as of 17:29, 3 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".
See also