Difference between revisions of "Template:CodeInline"

From BattleMaster Wiki
Jump to navigation Jump to search
m (minor adjustment)
m (duh...)
 
Line 1: Line 1:
<div style="font-family: monospace; background-color: #CCCCFF; padding: 2px; border: 1px dashed #DDD; display: inline"><nowiki>{{{1}}}</nowiki></div><noinclude>
+
<div style="font-family: monospace; background-color: #CCCCFF; padding: 2px; border: 1px dashed #DDD; display: inline">{{{1}}}</div><noinclude>
  
 
==Purpose==
 
==Purpose==
Displays code inline with the text. Text is also tagged to ignore wiki markup.
+
Displays code inline with the text.
  
 
A message
 
A message

Latest revision as of 15:05, 3 September 2009

{{{1}}}

Purpose

Displays code inline with the text.

A message

A response
A message with some
inline code
Another response


Usage

{{CodeInline|some text}} produces:

some text