Template:Java
Appearance
{{{1}}}
Usage
[edit]This template serves to format short inline samples of Java code, performing some syntax highlighting and adding the page to the hidden category "Articles with example Java code".
It uses {{#tag:syntaxhighlight|{{{1}}}|lang=Java|inline=1}} to mark the code as such.
As at 2014-12-30 it appears to format Readable and Serializable inconsistently, namely black and blue respectively.
Format and tag Java code
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Java code | 1 | The Java code to be formatted | Unknown | required |