Template:Code/doc

From The World of Gotha
Revision as of 06:58, 6 December 2024 by Jph2 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Examples

  • {{code|sample text}}sample text
  • {{code|''another sample''}}another sample