<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://irony.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ARolecat%2Fdoc</id>
	<title>Template:Rolecat/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://irony.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3ARolecat%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://irony.wiki/index.php?title=Template:Rolecat/doc&amp;action=history"/>
	<updated>2026-05-02T15:41:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://irony.wiki/index.php?title=Template:Rolecat/doc&amp;diff=4148&amp;oldid=prev</id>
		<title>Saucy: why did i spend time on this this is rather pointless</title>
		<link rel="alternate" type="text/html" href="https://irony.wiki/index.php?title=Template:Rolecat/doc&amp;diff=4148&amp;oldid=prev"/>
		<updated>2022-07-30T09:40:39Z</updated>

		<summary type="html">&lt;p&gt;why did i spend time on this this is rather pointless&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This template is the same as {{tl|Role}} but it will also automatically add the page to a category. This is meant for marginally simplifying the creation of role templates.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;amp;#123;&amp;amp;#123;rolecat|&amp;#039;&amp;#039;name&amp;#039;&amp;#039;|&amp;#039;&amp;#039;category&amp;#039;&amp;#039;|&amp;#039;&amp;#039;color&amp;#039;&amp;#039;|dark-background=&amp;#039;&amp;#039;yes&amp;#039;&amp;#039;|nocat=&amp;#039;&amp;#039;yes&amp;#039;&amp;#039;}}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; - The name of the role. This will be the text that will appear in the template. This parameter is required.&lt;br /&gt;
* &amp;lt;code&amp;gt;category&amp;lt;/code&amp;gt; - The name of the category that the transcluding page will be added to. Do not include &amp;quot;Category:&amp;quot;. This parameter is required; if you don&amp;#039;t need it, just use the regular {{tl|Role}} template.&lt;br /&gt;
* &amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt; - The color of the role. Can be a hex code (you must include the #) or any other [https://developer.mozilla.org/en-US/docs/Web/CSS/color_value valid CSS color value]. If not specified, defaults to &amp;#039;&amp;#039;#b9bbbe&amp;#039;&amp;#039; (the default Discord role color).&lt;br /&gt;
* &amp;lt;code&amp;gt;dark-background=&amp;lt;/code&amp;gt; - Set this to &amp;quot;yes&amp;quot; to change the background color of the template to the dark color used on Discord profiles. Otherwise, the background will remain white (or whatever color the surrounding background is).&lt;br /&gt;
* &amp;lt;code&amp;gt;nocat=&amp;lt;/code&amp;gt; - Set this to &amp;quot;yes&amp;quot; to not add the page to the category. You should use this on the template page, enclosed with &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;noinclude&amp;gt;&amp;lt;/noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, so that the template itself isn&amp;#039;t added to the category.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Example usage of this template to create another template:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{rolecat|Trollsome|Trollsome users|#9062f8|dark-background={{{dark-background|}}}|nocat={{{nocat|&amp;lt;noinclude&amp;gt;yes&amp;lt;/noinclude&amp;gt;}}}}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
This will output {{role|Trollsome|#9062f8}}, as well as add the category [[:Category:Trollsome users]], but only on other pages.&lt;br /&gt;
&lt;br /&gt;
Example usage of this template directly on a page:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{rolecat|Trollsome|Trollsome users|#9062f8}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
This will output {{role|Trollsome|#9062f8}}, as well as add the category [[:Category:Trollsome users]].&lt;br /&gt;
&lt;br /&gt;
== TemplateData ==&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Role name&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The name of the role. This will be the text that will appear.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;Was it worth it?&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Category&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The name of the category that the page will be added to. Do not include \&amp;quot;Category:\&amp;quot;.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;Trollsome users&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;3&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Color&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The color of the role. Can be a hex code (you must include the #, e.g. #ff7f00) or any other valid CSS color value.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;#b9bbbe&amp;quot;,&lt;br /&gt;
			&amp;quot;suggested&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;dark-background&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Dark background&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Set this to \&amp;quot;yes\&amp;quot; to change the background color of the template to the dark color used on Discord profiles.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;yes&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;nocat&amp;quot;: {&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Set this to \&amp;quot;yes\&amp;quot; to not add the page to the category. You should use this on the template page, enclosed with &amp;lt;noinclude&amp;gt;&amp;lt;/noinclude&amp;gt;, so that the template itself isn&amp;#039;t added to the category.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;{{{nocat|&amp;lt;noinclude&amp;gt;yes&amp;lt;/noinclude&amp;gt;}}}&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;boolean&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Same as {{Role}}, but also adds the page to a category.&amp;quot;,&lt;br /&gt;
	&amp;quot;paramOrder&amp;quot;: [&lt;br /&gt;
		&amp;quot;1&amp;quot;,&lt;br /&gt;
		&amp;quot;2&amp;quot;,&lt;br /&gt;
		&amp;quot;3&amp;quot;,&lt;br /&gt;
		&amp;quot;dark-background&amp;quot;,&lt;br /&gt;
		&amp;quot;nocat&amp;quot;&lt;br /&gt;
	],&lt;br /&gt;
	&amp;quot;format&amp;quot;: &amp;quot;inline&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>Saucy</name></author>
	</entry>
</feed>