Template:Codett: Difference between revisions

From David's Wiki
Undid revision 904997689 by TheGoodAndHolyLord (talk) completely different use cases
 
m 1 revision imported
 
(No difference)

Latest revision as of 14:12, 7 November 2019

Template:Cleanup

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"}}

For example, someMethodOfSomeClass becomes someMethodOfSomeClass.

Can be used to replace <tt>...</tt> tags without disrupting existing text appearance.