Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 03:08, 16 April 2026 by Admin (talk | contribs) (Created page with "<includeonly><code>{{{1}}}</code></includeonly><noinclude> Render text in a monospaced font suitable for code. This is simply a shorthand for {{c|<nowiki><code>fooobar</code></nowiki>}} which is annoying to type out every time; it's marginally nicer to write {{c|<nowiki>{{c|foobar}}</nowiki>}}. == Usage == This should be used to format technical strings such as UUIDs, file paths, snippets of code, etc. It ''should'' be used as a general purpose formatting tool to separ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Render text in a monospaced font suitable for code.

This is simply a shorthand for <code>fooobar</code> which is annoying to type out every time; it's marginally nicer to write {{c|foobar}}.

Usage

This should be used to format technical strings such as UUIDs, file paths, snippets of code, etc. It should be used as a general purpose formatting tool to separate some text from normal text.

Examples

  • {{code|Scripts/thoth/helpers/CommonConditions.khn}} renders as Scripts/thoth/helpers/CommonConditions.khn
  • {{c|MAG_TheDueller_Rapier}} renders as MAG_TheDueller_Rapier
  • {{c|d49bf05e-4f94-4860-bd8c-ae63dae811be}} renders as d49bf05e-4f94-4860-bd8c-ae63dae811be

Template data

Render text in a monospace font suitable for code.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

Text to display as code

Stringrequired