<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kingwarzcharts.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ASongCertifications%2Fdoc</id>
	<title>Module:SongCertifications/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kingwarzcharts.com/index.php?action=history&amp;feed=atom&amp;title=Module%3ASongCertifications%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://kingwarzcharts.com/index.php?title=Module:SongCertifications/doc&amp;action=history"/>
	<updated>2026-07-21T16:54:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://kingwarzcharts.com/index.php?title=Module:SongCertifications/doc&amp;diff=3226&amp;oldid=prev</id>
		<title>Kingwarz: Created page with &quot;{{Module rating|protected}} {{High-use}} This module is used by the {{tl|Infobox song}} template to format the {{para|certification}} parameter and assign categories based on the certification level of a song.  == Usage == The module is invoked within the {{tl|Infobox song}} template as follows: &lt;pre&gt; {{#invoke:SongCertifications|getCertification|certification={{{certification|}}}}} &lt;/pre&gt;  The module processes the {{para|certification}} parameter and formats the output...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kingwarzcharts.com/index.php?title=Module:SongCertifications/doc&amp;diff=3226&amp;oldid=prev"/>
		<updated>2025-06-11T00:47:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Module rating|protected}} {{High-use}} This module is used by the {{tl|Infobox song}} template to format the {{para|certification}} parameter and assign categories based on the certification level of a song.  == Usage == The module is invoked within the {{tl|Infobox song}} template as follows: &amp;lt;pre&amp;gt; {{#invoke:SongCertifications|getCertification|certification={{{certification|}}}}} &amp;lt;/pre&amp;gt;  The module processes the {{para|certification}} parameter and formats the output...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|protected}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
This module is used by the {{tl|Infobox song}} template to format the {{para|certification}} parameter and assign categories based on the certification level of a song.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
The module is invoked within the {{tl|Infobox song}} template as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#invoke:SongCertifications|getCertification|certification={{{certification|}}}}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The module processes the {{para|certification}} parameter and formats the output while adding appropriate categories:&lt;br /&gt;
* &amp;lt;code&amp;gt;Gold&amp;lt;/code&amp;gt; (case-insensitive): Displays &amp;lt;code&amp;gt;[[Gold]] ●&amp;lt;/code&amp;gt; and adds &amp;lt;nowiki&amp;gt;[[Category:Gold Songs]]&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
* A number from &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;9&amp;lt;/code&amp;gt;: Displays &amp;lt;code&amp;gt;Nx [[Platinum]] ▲&amp;lt;/code&amp;gt; (e.g., &amp;lt;code&amp;gt;3x [[Platinum]] ▲&amp;lt;/code&amp;gt; for &amp;lt;code&amp;gt;3&amp;lt;/code&amp;gt;) and adds &amp;lt;nowiki&amp;gt;[[Category:Platinum Songs]]&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
* A number &amp;lt;code&amp;gt;10&amp;lt;/code&amp;gt; or higher: Displays &amp;lt;code&amp;gt;Nx [[Diamond]] ⬥&amp;lt;/code&amp;gt; (e.g., &amp;lt;code&amp;gt;24x [[Diamond]] ⬥&amp;lt;/code&amp;gt; for &amp;lt;code&amp;gt;24&amp;lt;/code&amp;gt;) and adds &amp;lt;nowiki&amp;gt;[[Category:Diamond Songs]]&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
* Invalid inputs (e.g., non-numeric values other than &amp;lt;code&amp;gt;Gold&amp;lt;/code&amp;gt;, or numbers less than &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;): Displays the input as-is and adds &amp;lt;nowiki&amp;gt;[[Category:Songs with Invalid Certifications]]&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
In an article using the {{tl|Infobox song}} template:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Infobox song&lt;br /&gt;
| name = Example Song&lt;br /&gt;
| type = Major Hit Song&lt;br /&gt;
| artist = Example Artist&lt;br /&gt;
| album = Example Album&lt;br /&gt;
| released = January 1, 2020&lt;br /&gt;
| genre = Pop&lt;br /&gt;
| certification = 24&lt;br /&gt;
| rating = 4&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This will display the certification as &amp;lt;code&amp;gt;24x [[Diamond]] ⬥&amp;lt;/code&amp;gt; and add the article to &amp;lt;nowiki&amp;gt;[[Category:Diamond Songs]]&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* The module is case-insensitive for &amp;lt;code&amp;gt;Gold&amp;lt;/code&amp;gt; (e.g., &amp;lt;code&amp;gt;gold&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;GOLD&amp;lt;/code&amp;gt; are accepted).&lt;br /&gt;
* Invalid inputs, such as &amp;lt;code&amp;gt;23x [[Diamond]] ⬥&amp;lt;/code&amp;gt; or non-numeric values other than &amp;lt;code&amp;gt;Gold&amp;lt;/code&amp;gt;, are displayed as entered and categorized in &amp;lt;nowiki&amp;gt;[[Category:Songs with Invalid Certifications]]&amp;lt;/nowiki&amp;gt; for manual review.&lt;br /&gt;
* Ensure the categories (&amp;lt;nowiki&amp;gt;[[Category:Gold Songs]]&amp;lt;/nowiki&amp;gt;, &amp;lt;nowiki&amp;gt;[[Category:Platinum Songs]]&amp;lt;/nowiki&amp;gt;, &amp;lt;nowiki&amp;gt;[[Category:Diamond Songs]]&amp;lt;/nowiki&amp;gt;, &amp;lt;nowiki&amp;gt;[[Category:Songs with Invalid Certifications]]&amp;lt;/nowiki&amp;gt;) exist on the wiki to avoid redlinks.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|Infobox song}} – The template that uses this module.&lt;br /&gt;
* [[Module:SongCategories]] – Handles type-based categories for the same template.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Template documentation]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Kingwarz</name></author>
	</entry>
</feed>