Template:Java/doc: Difference between revisions

Content deleted Content added
Add Template Data
update documentation
 
Line 2:
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
== Usage ==
This template serves to format sampleshort Javainline codesamples (fairly)of uniformlyJava code, performing some [[syntax highlighting]] and adding the page to the [[Wikipedia:hidden category|hidden category]] "[[:Category:Articles with example Java code|Articles with example Java code]]".
 
It uses <code><nowiki>{{#tag:sourcesyntaxhighlight|{{{1}}}|lang=Java|encloseinline="none"1}}</nowiki></code> to mark the code as such. '' ''' To be added: ''' Implications of that, how syntax is highlighted ''
 
As at 2014-12-30 it appears to format {{Java|Readable}} and {{Java|Serializable}} inconsistently, namely black and blue respectively.