Template:Codett

From wikiNonStop
Revision as of 14:11, 3 December 2022 by en>Redthreadhx (Undid revision 1125342114 by 2.249.2.128 (talk) Vandalism)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{1}}}
Template documentation

Wrapper for {{Code }} that removes background and border, and passes through all other parameters:

{{code|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}}}|style="background:none; border:none; color:inherit; padding: 0px 0px;"}}
For example,
someMethodOfSomeClass
becomes
someMethodOfSomeClass
.

Can be used to replace obsolete ‎<tt>...‎</tt> tags that are applied to code fragments, without disrupting existing text appearance.

See also

  • {{mono}}