<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMonodiv%2Fdoc</id>
	<title>Template:Monodiv/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMonodiv%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:Monodiv/doc&amp;action=history"/>
	<updated>2026-06-22T13:19:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://battleint.net/index.php?title=Template:Monodiv/doc&amp;diff=169286&amp;oldid=prev</id>
		<title>imported&gt;Deadfire: Updating</title>
		<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:Monodiv/doc&amp;diff=169286&amp;oldid=prev"/>
		<updated>2023-07-08T23:14:35Z</updated>

		<summary type="html">&lt;p&gt;Updating&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{Uses TemplateStyles |Template:Mono/styles.css|noprotcat=yes}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{monodiv|&lt;br /&gt;
text line 1&lt;br /&gt;
&lt;br /&gt;
text line 2&lt;br /&gt;
&lt;br /&gt;
text line 3}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
renders as:&lt;br /&gt;
&lt;br /&gt;
{{monodiv|&lt;br /&gt;
text line 1&lt;br /&gt;
&lt;br /&gt;
text line 2&lt;br /&gt;
&lt;br /&gt;
text line 3}}&lt;br /&gt;
&lt;br /&gt;
This template is for formatting multi-line sections of content as plain, monospaced (nonproportional) text. It is a quick shorthand for the necessary [[w:Cascading Style Sheets|CSS]] code.  It is the multi-line version of {{tl|mono}} and a replacement for {{tag|tt}}, which is an obsolete element under HTML5. ([http://www.w3.org/TR/html5/obsolete.html#non-conforming-features Non-conforming features])&lt;br /&gt;
&lt;br /&gt;
This template &amp;#039;&amp;#039;should&amp;#039;&amp;#039; be used where the content is being rendered in monospaced text for purely stylistic/display reasons, where this display has no particular semantic significance. Because it uses {{tag|div}} tags for formatting instead of {{tag|span}} tags, it can be used to wrap bulleted lists, along with div-based list templates like {{tl|hlist}}.&lt;br /&gt;
&lt;br /&gt;
It &amp;#039;&amp;#039;should not&amp;#039;&amp;#039; be used to indicate source code, nor for variables or variable input (use {{tl|code}} or {{tag|code}} for code and {{tl|var}} or {{tag|var}} for variables). For keyboard or samples, use {{tag|kbd}} or {{tag|samp}} respectively.&lt;br /&gt;
&lt;br /&gt;
When the content ends with a single closing curly brace (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;), the content should be followed by &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;amp;lt;nowiki/&amp;amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, for example, to mark up &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{foo}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, use {{tlc|monodiv|&amp;lt;nowiki&amp;gt;{foo}&amp;amp;lt;nowiki/&amp;amp;gt;&amp;lt;/nowiki&amp;gt;}} or {{tlc|monodiv|&amp;lt;nowiki&amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;{foo}&amp;amp;lt;/nowiki&amp;amp;gt;&amp;lt;/nowiki&amp;gt;}}.&lt;br /&gt;
&lt;br /&gt;
If the content contains pipe characters (&amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt;) not surrounded by {{tag|nowiki}}, they must be escaped with &amp;lt;code&amp;gt;&amp;amp;amp;#124;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
There is only one parameter:&lt;br /&gt;
;{{para|1}} or unnamed&lt;br /&gt;
: The content to format as monospaced. If the content contains a &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; character, the parameter must be numbered with {{para|1}}. &lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|mono}}&lt;br /&gt;
* {{tl|pre}}&lt;br /&gt;
* {{tl|code}}&lt;br /&gt;
* {{tl|kbd}}&lt;br /&gt;
* {{tl|samp}}&lt;br /&gt;
* {{tl|var}}&lt;br /&gt;
* {{tl|smalldiv}} (for wrapping multiple lines in small formatting)&lt;br /&gt;
* {{tl|largediv}} (for wrapping multiple lines in large formatting)&lt;br /&gt;
* {{tl|bold div}} (for wrapping multiple lines in bold formatting)&lt;br /&gt;
* {{tl|italic div}} (for wrapping multiple lines in italic formatting)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- CATEGORIES HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Typing-aid templates|{{PAGENAME}}]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Deadfire</name></author>
	</entry>
</feed>