Forum:Quick code template

Hello, sometimes ago I tried to figure out a way to create a template to quickly do this task:, but I couldn't. It was a whim of mine, to have quicker way to write inline codes (not with "pre"). I want to know if there is a way, though.

Using doesn't work because the "nowiki" cancel out the paremeter invocation. I also tried using this trick but when transcluded the "nowiki" doesn't work. There is even the tag  that works, but it transclude a template before applying the nowiki tags, for example   gives:

Any ideas or is it impossible?


 * If you want to replace code or text on large scale it might be interesting to install and use a bot for that sole purpose. The nowiki tag indeed overrules the code tag. In fact nowiki is the same as code tag, only for specific wiki usage (code tag is HTML based).