Template:Syntax/doc

This template is used to highlight some of the code syntax to distinguish it from the context.

Parameters
This template has only one incoming parameter. Output text generally bold.

When the Java/JavaScript standard type is passed in, the output text will be marked in dark red. Output:.

When a third-party definition type (such as FML, Sponge, etc.) is introduced, the output text Java is marked with crystal blue and JavaScript is marked with dark green. Output: and.

When a Java/JavaScript predefined value is passed in, the output text is marked orange. Output:.

Otherwise, the output text is red.

zh:Template:Syntax