Difference between revisions of "Template:Codett"

From blackwiki
Jump to navigation Jump to search
blackwiki>Cedar101
(padding: 0px 0px;)
m (6 revisions imported)
 
(No difference)

Latest revision as of 11:09, 22 September 2020

Template documentation[view] [edit] [history] [purge]

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