<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.badwolfmc.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AUses_TemplateStyles%2Fdoc</id>
	<title>Template:Uses TemplateStyles/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.badwolfmc.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AUses_TemplateStyles%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Template:Uses_TemplateStyles/doc&amp;action=history"/>
	<updated>2026-05-07T18:09:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.badwolfmc.com/w/index.php?title=Template:Uses_TemplateStyles/doc&amp;diff=4615&amp;oldid=prev</id>
		<title>Merc: Created page with &quot;{{Documentation subpage}} {{Template shortcut|TemplateStyles}} {{Lua{{\sandbox}}|Module:Uses TemplateStyles}} &lt;!-- Categories go at the bottom of this page, and interwikis go on Wikidata. --&gt;  &#039;&#039;&#039;Preview:&#039;&#039;&#039;  This template is used to show that templates have been converted to use TemplateStyles. It is placed at the top of the template&#039;s /doc page. It automatically adds the template to :Category:{{#invoke:Data|Module:Uses TemplateStyles/config|defa...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.badwolfmc.com/w/index.php?title=Template:Uses_TemplateStyles/doc&amp;diff=4615&amp;oldid=prev"/>
		<updated>2025-05-03T12:01:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Documentation subpage}} {{Template shortcut|TemplateStyles}} {{Lua{{\sandbox}}|Module:Uses TemplateStyles}} &amp;lt;!-- Categories go at the bottom of this page, and interwikis go on Wikidata. --&amp;gt;  &amp;#039;&amp;#039;&amp;#039;Preview:&amp;#039;&amp;#039;&amp;#039;  This template is used to show that templates have been converted to use &lt;a href=&quot;/w/index.php?title=WP:TemplateStyles&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:TemplateStyles (page does not exist)&quot;&gt;TemplateStyles&lt;/a&gt;. It is placed at the top of the template&amp;#039;s /doc page. It automatically adds the template to :Category:{{#invoke:Data|Module:Uses TemplateStyles/config|defa...&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;
{{Template shortcut|TemplateStyles}}&lt;br /&gt;
{{Lua{{\sandbox}}|Module:Uses TemplateStyles}}&lt;br /&gt;
&amp;lt;!-- Categories go at the bottom of this page, and interwikis go on Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Preview:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
This template is used to show that templates have been converted to use [[WP:TemplateStyles|TemplateStyles]]. It is placed at the top of the template&amp;#039;s /doc page. It automatically adds the template to [[:Category:{{#invoke:Data|Module:Uses TemplateStyles/config|default_category}}]], or to one of its subcategories.&lt;br /&gt;
&lt;br /&gt;
The syntax for &amp;#039;&amp;#039;actually&amp;#039;&amp;#039; doing a TemplateStyles is, of course: &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;&amp;lt;templatestyles src=&amp;quot;&amp;quot; /&amp;gt;&amp;lt;/syntaxhighlight&amp;gt; (with the page name in the quotation marks).&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
; Basic : &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{Uses TemplateStyles|TemplateStyles page name}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; All parameters : &amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{Uses TemplateStyles|TemplateStyles page 1|TemplateStyles page 2|TemplateStyles page 3|...|category=custom category|nocat=true}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The first TemplateStyles page name is required.&lt;br /&gt;
&lt;br /&gt;
===TemplateStyles sandboxes===&lt;br /&gt;
Note that if a sandbox version of the TemplateStyle exists, it will also be linked. This is only for sandbox versions. The subpage name of the sandbox version should be the same, but as a subpage of the templates sandbox. For example, if the TemplateStyles page name is &amp;lt;code&amp;gt;Template:Foo/styles.css&amp;lt;/code&amp;gt;, then the sandbox version should be &amp;lt;code&amp;gt;Template:Foo/sandbox/styles.css&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
===One style page===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{Uses TemplateStyles|Template:Arrowlist/styles.css}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Uses TemplateStyles{{\sandbox}}|Template:Arrowlist/styles.css|nocat=true}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
===Multiple style pages===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{Uses TemplateStyles|Template:Arrowlist/styles.css|Template:Routemap/styles.css}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Uses TemplateStyles{{\sandbox}}|Template:Arrowlist/styles.css|Template:Routemap/styles.css|nocat=true}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
===Sandbox version of style page exists===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{Uses TemplateStyles|Template:Uses TemplateStyles/example.css}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Uses TemplateStyles{{\sandbox}}|Template:Uses TemplateStyles/example.css|nocat=true}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
===No style pages specified===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot; inline&amp;gt;{{Uses TemplateStyles}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{Uses TemplateStyles{{\sandbox}}|nocat=true}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
== Categories ==&lt;br /&gt;
===Template category===&lt;br /&gt;
This template adds pages to [[:Category:{{#invoke:Data|Module:Uses TemplateStyles/config|default_category}}]] if the page is in the template namespace, and it is not on any of the subpages /doc, /sandbox, /sandbox2 or /testcases. You can specify a different category with the {{para|category}} parameter, e.g. {{para|category|Uses list TemplateStyles}}.&lt;br /&gt;
&lt;br /&gt;
===Error category===&lt;br /&gt;
If no modules are specified, the transcluded page will be added to [[:Category:{{#invoke:Data|Module:Uses TemplateStyles/config|error_category}}]].&lt;br /&gt;
&lt;br /&gt;
===Protection level category===&lt;br /&gt;
TemplateStyles should have the same protection level as the template they are used on. If a difference is detected, the transcluded page will be added to [[:Category:{{#invoke:Data|Module:Uses TemplateStyles/config|protection_conflict_category}}]].&lt;br /&gt;
&lt;br /&gt;
=== Category suppression ===&lt;br /&gt;
To suppress all categories, use {{para|nocat|true}}. (As well as &amp;quot;true&amp;quot;, the values &amp;quot;yes&amp;quot;, &amp;quot;y&amp;quot;, and &amp;quot;1&amp;quot; will also work.)&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
{{#invoke:TNT|doc|Uses TemplateStyles}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Wikipedia:TemplateStyles]]&lt;br /&gt;
* {{tl|Lua}}&lt;br /&gt;
* {{tl|Uses Wikidata}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|| &amp;lt;!-- Categories go here, and interwikis go on Wikidata. --&amp;gt;&lt;br /&gt;
[[Category:Template namespace templates]]&lt;br /&gt;
[[Category:Variadic templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Merc</name></author>
	</entry>
</feed>