Template:Codett

From imedwiki
Jump to navigation Jump to search

{{{1}}}

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

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; 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

This template is based (in parts) on the Template:Codett from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.