<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AXtag%2Fdoc</id>
	<title>Template:Xtag/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AXtag%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Xtag/doc&amp;action=history"/>
	<updated>2026-04-04T23:37:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.limswiki.org/index.php?title=Template:Xtag/doc&amp;diff=12829&amp;oldid=prev</id>
		<title>Shawndouglas: Created as needed.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Xtag/doc&amp;diff=12829&amp;oldid=prev"/>
		<updated>2013-10-22T15:01:10Z</updated>

		<summary type="html">&lt;p&gt;Created as needed.&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;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template adds a formatted MediaWiki parser or extension tag that links to the help or extension page. This template is similar to {{tl|tag}}, but it links the tag and defaults to open.&lt;br /&gt;
&lt;br /&gt;
=== Parser and extension tags ===&lt;br /&gt;
The MediaWiki software adds elements that look and act like HTML tags. Parser tags are included in MediaWiki whereas extension tags are added by optional software extensions. The most current list of tags can be found at the bottom of [[Special:Version]]&lt;br /&gt;
&lt;br /&gt;
;Parser tags :{{xtag|gallery}}, {{xtag|nowiki}}, {{xtag|pre}}&lt;br /&gt;
&lt;br /&gt;
;Extension tags :{{xtag|categorytree}}, {{xtag|charinsert}}, {{xtag|hiero}}, {{xtag|imagemap}}, {{xtag|inputbox}}, {{xtag|math}}, {{xtag|poem}}, {{xtag|ref}}, {{xtag|references}}, {{xtag|section}}, {{xtag|score}}, {{xtag|syntaxhighlight}} (alias {{xtag|source}}), {{xtag|templatedata}}, {{xtag|timeline}}&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
*'''first parameter''' ''(mandatory)'':  the name of the HTML tag&lt;br /&gt;
*'''second parameter''': what type of tag to display:&lt;br /&gt;
**&amp;lt;code&amp;gt;p&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;pair&amp;lt;/code&amp;gt;:  display a matched pair of open-and-close tags&lt;br /&gt;
***To suppress the ellipsis which appears between the tags, add an empty {{para|content}} parameter&lt;br /&gt;
**&amp;lt;code&amp;gt;o&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;open&amp;lt;/code&amp;gt; ''(default)'':  display only the opening tag of an open-and-close pair&lt;br /&gt;
**&amp;lt;code&amp;gt;c&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;close&amp;lt;/code&amp;gt;: display only the closing tag of an open-and-close pair&lt;br /&gt;
**&amp;lt;code&amp;gt;s&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;single&amp;lt;/code&amp;gt;: display a single tag&lt;br /&gt;
*'''content=''' the text content of the tags&lt;br /&gt;
*'''params=''' any parameters to be included in the opening tag&lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
&lt;br /&gt;
{{markup&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{xtag|nowiki}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{xtag|nowiki}}&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{xtag|nowiki|s}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{xtag|nowiki|s}}&lt;br /&gt;
&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{xtag|syntaxhighlight|p|params=enclose=&amp;quot;div&amp;quot; lang=&amp;quot;text&amp;quot;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{xtag|syntaxhighlight|p|params=enclose=&amp;quot;div&amp;quot; lang=&amp;quot;text&amp;quot;}}&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== See also ===&lt;br /&gt;
* {{tl|tag}}&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go here: --&amp;gt;&lt;br /&gt;
[[Category:Programming typing-aid templates|{{PAGENAME}}]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
</feed>