Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:MC/Java classpath

Template page
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Shortcut This template is used to shorten a Template:W to the last name in the path, and puts the full path information inside a tooltip, which appears when hovered by the mouse cursor. This is useful when citing the game's source code in a reference.

Usage

<syntaxhighlight lang=wikitext inline>Template:Java classpath</syntaxhighlight>

  • Template:P – full path to the Java class.
  • Template:P optional – specify a text that takes place instead of the class name in the classpath.
  • Template:P optional – specify a mapping name if the classpath comes from a different mapping, other than the Mojang mapping, which is the default.

Examples

  • You can specify the classpath parameter with the full path to the Java class:
    <syntaxhighlight lang=wikitext inline>Template:Jcp</syntaxhighlight> results in Template:Java classpath.
  • You can specify an alias which appear in the text instead of the class name:
    <syntaxhighlight lang=wikitext inline>Template:Jcp</syntaxhighlight> results in Template:Java classpath.

See also

Template:Sandbox other
The above text is transcluded from Template:MC/Java classpath/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Java classpath/doc. (View all subpages of this page.)