Template:5X5 categories: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
(created to simplify adding and ordering categories to 5X5 pages, uses sort key "# ~" plus episode number)
 
(added New Age)
Line 25: Line 25:


{{#if: {{{Neuroscience & Psychology|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Neuroscience & Psychology|# ~00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Neuroscience & Psychology|# ~0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Neuroscience & Psychology|# ~{{#sub:{{PAGENAME}}|12|0}}]]}} }}
{{#if: {{{Neuroscience & Psychology|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Neuroscience & Psychology|# ~00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Neuroscience & Psychology|# ~0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Neuroscience & Psychology|# ~{{#sub:{{PAGENAME}}|12|0}}]]}} }}
{{#if: {{{New Age|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:New Age|# ~00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:New Age|# ~0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:New Age|# ~{{#sub:{{PAGENAME}}|12|0}}]]}} }}


{{#if: {{{Paranormal|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Paranormal|# ~00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Paranormal|# ~0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Paranormal|# ~{{#sub:{{PAGENAME}}|12|0}}]]}} }}
{{#if: {{{Paranormal|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Paranormal|# ~00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Paranormal|# ~0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Paranormal|# ~{{#sub:{{PAGENAME}}|12|0}}]]}} }}
Line 62: Line 64:
|Nature & Evolution        = y
|Nature & Evolution        = y
|Neuroscience & Psychology  = y
|Neuroscience & Psychology  = y
|New Age                    = y
|Paranormal                = y
|Paranormal                = y
|Physics & Mechanics        = y
|Physics & Mechanics        = y

Revision as of 07:54, 27 May 2012


To assign categories to 5X5 episode pages, copy the following code and delete unwanted category lines.

{{5X5 categories
|Alternative Medicine       = y
|Astronomy & Space Science  = y
|Cons, Scams & Hoaxes       = y
|Conspiracy Theories        = y
|Creationism & ID           = y
|Entertainment              = y
|General Science            = y
|Humor                      = y
|Legal Issues & Regulations = y
|Logic & Philosophy         = y
|Myths & Misconceptions     = y
|Nature & Evolution         = y
|Neuroscience & Psychology  = y
|New Age                    = y
|Paranormal                 = y
|Physics & Mechanics        = y
|Prophecy                   = y
|Pseudoscience              = y
|Religion & Faith           = y
|Science & Education        = y
|Science & Medicine         = y
|Science & the Media        = y
|Technology                 = y
}}