Template:Code

From RimWorld Wiki
Revision as of 12:38, 31 October 2020 by Harakoni (talk | contribs)
Jump to navigation Jump to search

This is the "Code" template. It should be called in the following format:

{{Code
|1=(code content)
}}

Edit the page to see the template text.


Documentation icon Template documentation[view] [edit] [history] [purge]

Description

This template can be used to display text as in-line code.

Example Usage

The line:

{{Code | CODE CONTENT GOES HERE }}

Results in: CODE CONTENT GOES HERE


Alternative

It is possible to just use the html tags directly, as they are not that long:

<code>CODE CONTENT GOES HERE</code>