Template:Code/doc

From The World of Gotha
Revision as of 22:58, 12 October 2024 by Jph2 (talk | contribs) (Created page with "<noinclude>{{docsub}}</noinclude> The <nowiki>{{</nowiki>'''code'''<nowiki>}}</nowiki> template wraps its contents with <code><nowiki><code>...</code></nowiki></code> tags. ==Usage== Place <code><nowiki>{{code|</nowiki>''your text''<nowiki>}}</nowiki></code> where you want the string to appear. ==Parameters== {| class="wikitable" ! Parameter !! Description !! Type !! Status !! Notes |- | <code>1</code> || Text string || String || Optional || Contains the string to be w...")
(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|your text}} where you want the string to appear.

Parameters

Parameter Description Type Status Notes
1 Text string String Optional Contains the string to be wrapped in the code tags

Example

{{code|parameter}}parameter