<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/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://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3AXtag%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Xtag/doc&amp;action=history"/>
	<updated>2026-06-06T17:05:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Xtag/doc&amp;diff=13604&amp;oldid=prev</id>
		<title>Caleb Cooper: /* Other formatting templates */</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Xtag/doc&amp;diff=13604&amp;oldid=prev"/>
		<updated>2020-10-22T10:02:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Other formatting templates&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:02, 22 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|tag}}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* {{tl|tag}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====Other formatting templates====&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{#lsth:Template:Template-linking_templates|Other formatting templates}}&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!----Categories below this line, please:----&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;!----Categories below this line, please:----&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Xtag/doc&amp;diff=12979&amp;oldid=prev</id>
		<title>Caleb Cooper: Created page with &quot;{{Documentation subpage}} {{Commons Import}}  &lt;!----Categories where indicated at the bottom of this page, please----&gt;  This template adds a formatted MediaWiki parser or exte...&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Xtag/doc&amp;diff=12979&amp;oldid=prev"/>
		<updated>2020-10-20T17:01:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{Commons Import}}  &amp;lt;!----Categories where indicated at the bottom of this page, please----&amp;gt;  This template adds a formatted MediaWiki parser or exte...&amp;quot;&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;
{{Commons Import}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!----Categories where indicated at the bottom of this page, please----&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;
&amp;lt;section begin=&amp;quot;xtag&amp;quot; /&amp;gt;{{Xtag/list}}&amp;lt;section end=&amp;quot;xtag&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;first parameter&amp;#039;&amp;#039;&amp;#039; &amp;#039;&amp;#039;(mandatory)&amp;#039;&amp;#039;:  the name of the HTML tag&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;second parameter&amp;#039;&amp;#039;&amp;#039;: 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; &amp;#039;&amp;#039;(default)&amp;#039;&amp;#039;:  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;
* &amp;#039;&amp;#039;&amp;#039;content=&amp;#039;&amp;#039;&amp;#039; the text content of the tags&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;params=&amp;#039;&amp;#039;&amp;#039; any parameters to be included in the opening tag&lt;br /&gt;
&lt;br /&gt;
====Examples====&lt;br /&gt;
{{markup&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{xtag|nowiki}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{xtag|nowiki}}&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;
&lt;br /&gt;
Markup &amp;amp;rarr; Renders as: &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;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; &amp;lt;/code&amp;gt;&amp;amp;rarr;&amp;lt;br /&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;
===See also===&lt;br /&gt;
* {{tl|tag}}&lt;br /&gt;
&lt;br /&gt;
====Other formatting templates====&lt;br /&gt;
{{#lsth:Template:Template-linking_templates|Other formatting templates}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!----Categories below this line, please:----&amp;gt;&lt;br /&gt;
[[Category:HTML typing-aid templates]]&lt;br /&gt;
[[Category:Wikitext typing-aid templates]]&lt;br /&gt;
[[Category:Wikipedia XHTML tag-replacing templates| ]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>