<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.filipefonseca.pt/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="http://wiki.filipefonseca.pt/index.php?action=history&amp;feed=atom&amp;title=Template%3AXtag%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Xtag/doc&amp;action=history"/>
	<updated>2026-04-19T01:05:10Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>http://wiki.filipefonseca.pt/index.php?title=Template:Xtag/doc&amp;diff=3240&amp;oldid=prev</id>
		<title>FilipeFonseca: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://wiki.filipefonseca.pt/index.php?title=Template:Xtag/doc&amp;diff=3240&amp;oldid=prev"/>
		<updated>2021-07-08T08:36:29Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&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;
* '''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;
{{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>FilipeFonseca</name></author>
	</entry>
</feed>