Template:Code: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
m (Move documentation to a subpage)
m (Recategorize)
 
Line 1: Line 1:
<includeonly><code>{{{1}}}</code></includeonly><noinclude>{{doc}}[[Category:Templates]]</noinclude>
<includeonly><code>{{{1}}}</code></includeonly><noinclude>{{doc}}[[Category:Font templates]]</noinclude>

Latest revision as of 06:29, 6 December 2024

Template documentation

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