Difference between revisions of "Template:Codett/doc"

From blackwiki
Jump to navigation Jump to search
imported>Paradoctor
(clarify)
imported>Paradoctor
m (fix)
 
Line 10: Line 10:
 
For example, {{code|someMethodOfSomeClass}} becomes {{codett|someMethodOfSomeClass}}.
 
For example, {{code|someMethodOfSomeClass}} becomes {{codett|someMethodOfSomeClass}}.
  
Can be used to replace {{code|<tt>...</tt>}} tags that are applied to code fragments without disrupting existing text appearance.
+
Can be used to replace {{code|<tt>...</tt>}} tags that are applied to code fragments, without disrupting existing text appearance.
  
 
== See also ==
 
== See also ==

Latest revision as of 22:26, 22 August 2020

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 <tt>...</tt> tags that are applied to code fragments, without disrupting existing text appearance.

See also