<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FXtag%2Fdoc</id>
	<title>Template:MC/Xtag/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AMC%2FXtag%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Xtag/doc&amp;action=history"/>
	<updated>2026-04-10T23:20:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Template:MC/Xtag/doc&amp;diff=47249&amp;oldid=prev</id>
		<title>imported&gt;Supeika at 23:44, 4 April 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Template:MC/Xtag/doc&amp;diff=47249&amp;oldid=prev"/>
		<updated>2026-04-04T23:44:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation header}}&lt;br /&gt;
&amp;lt;!-- documentation here --&amp;gt;&lt;br /&gt;
This template is used to create a markup tag presentation, with an open angle bracket {{cd|&amp;lt;}}, a close angle bracket {{cd|&amp;gt;}}, and the content within them. It appears in markup language, such as {{w|HTML}}, {{w|XML}}, or {{w|wikitext}} (which supports some HTML).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
{{t|xtag|&amp;lt;tag&amp;gt;|&amp;lt;type&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
* {{p|1|&amp;lt;tag&amp;gt;}} &amp;amp;ndash; the tag that is placed inside the angle brackets.&lt;br /&gt;
* {{p|2|&amp;lt;type&amp;gt;}} &amp;#039;&amp;#039;optional&amp;#039;&amp;#039; &amp;amp;ndash; the presentation type:&lt;br /&gt;
** {{cd|pair|p}} &amp;#039;&amp;#039;default&amp;#039;&amp;#039; &amp;amp;ndash; matching pair of open/close tags (e.g., {{xtag|div|pair}}).&lt;br /&gt;
** {{cd|open|o}} &amp;amp;ndash; an open/start tag (e.g., {{xtag|div|open}}).&lt;br /&gt;
** {{cd|close|c}} &amp;amp;ndash; a close/end tag (e.g., {{xtag|div|close}}).&lt;br /&gt;
** {{cd|empty|single|void|e|s|v}} &amp;amp;ndash; a self-closing tag (e.g., {{xtag|hr|empty}}). In HTML, it&amp;#039;s called &amp;quot;void&amp;quot; tag.&lt;br /&gt;
* {{p|content|&amp;lt;content&amp;gt;}} &amp;#039;&amp;#039;optional&amp;#039;&amp;#039; &amp;amp;ndash; the text wrapped with the open/close tags (e.g., {{xtag|div|pair|content=content text here...}}).&lt;br /&gt;
* {{p|attribs|&amp;lt;attribs&amp;gt;}} &amp;#039;&amp;#039;optional&amp;#039;&amp;#039; &amp;amp;ndash; places attribute string inside the tag&amp;#039;s opening.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
Here are multiple samples of the template:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{xtag|div}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|div|content=hello world}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|div|open}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|div|close}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|img|void}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|img|v|attribs=src=&amp;lt;nowiki&amp;gt;&amp;quot;https://minecraft.wiki/images/Minwi-background.png?format=original&amp;quot;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|span|content=}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|div|content={{xtag|span|content=}}}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{produces|&lt;br /&gt;
{{xtag|div}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|div|content=hello world}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|div|open}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|div|close}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|img|void}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|img|v|attribs=src=&amp;lt;nowiki&amp;gt;&amp;quot;https://minecraft.wiki/images/Minwi-background.png?format=original&amp;quot;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|span|content=}}&lt;br /&gt;
&lt;br /&gt;
{{xtag|div|content={{xtag|span|content=}}}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- template categories/interwikis here --&amp;gt;&lt;br /&gt;
[[es:Plantilla:Xtag]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- documentation categories/interwikis here --&amp;gt;&lt;br /&gt;
[[es:Plantilla:Xtag/doc]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Supeika</name></author>
	</entry>
</feed>