Unkle Wiki

Template: Codett

en>DarthKitty
(inherit text color, like <tt> tags)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 12:36, 14 May 2020

Template:DMC

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

<syntaxhighlight lang="text" class="" id="" style="" inline="1">{{code|{{{code|{{{1}}}}}}|lang={{{lang|{{{2|text}}}}}}|class={{{class|}}}|id={{{id|}}}}}|style="background:none; border:none; color:inherit"}}</syntaxhighlight>

For example, <syntaxhighlight lang="text" class="" id="" style="" inline="1">someMethodOfSomeClass</syntaxhighlight> becomes <syntaxhighlight lang="text" class="" id="" style="background:none; border:none; color:inherit" inline="1">someMethodOfSomeClass</syntaxhighlight>.

Can be used to replace <syntaxhighlight lang="text" class="" id="" style="" inline="1">...</syntaxhighlight> tags without disrupting existing text appearance.

Discuss this page