Template:Code/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Code. It may contain usage information, categories and other content that is not part of the original template page. |
The {{code}} template wraps its contents with <code>...</code>
tags.
Usage
Place {{code|1}}
where you want the string to appear.
Parameters
Parameter | Description | Type | Status | Notes |
---|---|---|---|---|
1 |
Text string | String | Required | Contains the string to be wrapped in the code tags. Standard wiki markup is accepted. |
Example
{{code|sample text}}
→sample text
{{code|''another sample''}}
→another sample