Art of Problem Solving

Template:InlineCode: Difference between revisions

Trying to correct annoying problem with text after template being pre'dified
Hmm doesn't looks like it's working out
Line 1: Line 1:
<pre style="display:inline;padding:0;line-height:inherit;border:none;margin:0 1px;">{{{1}}}</pre>
{| class="boilerplate metadata" id="wikipedianarticle" class="messagebox standard-talk"
|-
|<pre style="display:inline;padding:0;line-height:inherit;border:none;margin:0 1px;">{{{1}}}</pre>
|}
<div style="display:inline;"></div>
<div style="display:inline;"></div>
<noinclude>
<noinclude>
===How to use this template===
===How to use this template===
This template is for displaying inline code. Just place <nowiki>{{InlineCode|<Code>}}</nowiki> with &lt;Code&gt; as the code you wish to display.
<strike>This template is for displaying inline code. Just place <nowiki>{{InlineCode|<Code>}}</nowiki> with &lt;Code&gt; as the code you wish to display.</strike>
Don't use it yet; somehow all following text gets put into a pre.

Revision as of 07:08, 24 January 2014

{{{1}}}

How to use this template

This template is for displaying inline code. Just place {{InlineCode|<Code>}} with <Code> as the code you wish to display. Don't use it yet; somehow all following text gets put into a pre.