Template:Page categories: Difference between revisions
Jump to navigation
Jump to search
(removed annoying invisible thingies that screw things up) |
(description added) |
||
Line 5: | Line 5: | ||
{{#if: {{{Live Episodes|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Live Episodes|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Live Episodes|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Live Episodes|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | {{#if: {{{Live Episodes|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Live Episodes|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Live Episodes|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Live Episodes|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | ||
{{#if: {{{Randi Speaks|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Randi Speaks|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Randi Speaks|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Randi Speaks|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | |||
{{#if: {{{Alternative Medicine|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Alternative Medicine|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Alternative Medicine|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Alternative Medicine|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | {{#if: {{{Alternative Medicine|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Alternative Medicine|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Alternative Medicine|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Alternative Medicine|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | ||
Line 16: | Line 18: | ||
{{#if: {{{Creationism & ID|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Creationism & ID|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Creationism & ID|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Creationism & ID|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | {{#if: {{{Creationism & ID|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Creationism & ID|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Creationism & ID|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Creationism & ID|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | ||
{{#if: {{{Humor|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Humor|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Humor|# 0{{#sub:{{PAGENAME}}|12|0}}]] 2|3 = [[Category:Humor|# {{#sub:{{PAGENAME}}|12|0}}]] | {{#if: {{{Entertainment|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Entertainment|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Entertainment|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Entertainment|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | ||
{{#if: {{{General Science|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:General Science|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:General Science|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:General Science|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | |||
{{#if: {{{Humor|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Humor|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Humor|# 0{{#sub:{{PAGENAME}}|12|0}}]] 2|3 = [[Category:Humor|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | |||
{{#if: {{{Legal Issues & Regulations|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Legal Issues & Regulations|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Legal Issues & Regulations|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Legal Issues & Regulations|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | {{#if: {{{Legal Issues & Regulations|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Legal Issues & Regulations|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Legal Issues & Regulations|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Legal Issues & Regulations|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | ||
{{#if: {{{Logic & Philosophy|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Logic & Philosophy|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Logic & Philosophy|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Logic & Philosophy|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | {{#if: {{{Logic & Philosophy|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:Logic & Philosophy|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:Logic & Philosophy|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:Logic & Philosophy|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | ||
Line 48: | Line 53: | ||
</includeonly> | </includeonly> | ||
<noinclude> | |||
To assign categories to full episode pages, copy the following code and delete unwanted category lines | |||
<pre> | |||
{{Page categories | |||
|Interview = y | |||
|Guest Rogues = y | |||
|Live Episodes = y | |||
|Alternative Medicine = y | |||
|Astronomy & Space Science = y | |||
|Cons, Scams & Hoaxes = y | |||
|Conspiracy Theories = y | |||
|Creationism & ID = y | |||
|General Science = y | |||
|Entertainment = y | |||
|Humor = y | |||
|Legal Issues & Regulations = y | |||
|Logic & Philosophy = y | |||
|Myths & Misconceptions = y | |||
|Nature & Evolution = y | |||
|Neuroscience & Psychology = 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 | |||
}} | |||
</pre> | |||
{{Page categories | |||
<!-- | |Interview = y | ||
{{#if: {{{???|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:???|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:??? | |Guest Rogues = y | ||
|Live Episodes = y | |||
|Alternative Medicine = y | |||
|Astronomy & Space Science = y | |||
|Cons, Scams & Hoaxes = y | |||
|Conspiracy Theories = y | |||
|Creationism & ID = y | |||
|General Science = y | |||
|Entertainment = y | |||
|Humor = y | |||
|Legal Issues & Regulations = y | |||
|Logic & Philosophy = y | |||
|Myths & Misconceptions = y | |||
|Nature & Evolution = y | |||
|Neuroscience & Psychology = 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 | |||
}} | |||
<!-- template for category inclusion, replace '???' with category name | |||
{{#if: {{{???|}}} | {{#switch: {{#len:{{#sub:{{PAGENAME}}|12|0}}}} |1 = [[Category:???|# 00{{#sub:{{PAGENAME}}|12|0}}]]|2 = [[Category:???|# 0{{#sub:{{PAGENAME}}|12|0}}]]|3 = [[Category:???|# {{#sub:{{PAGENAME}}|12|0}}]]}} }} | |||
--> | --> | ||
</noinclude> | </noinclude> |
Revision as of 23:34, 26 May 2012
To assign categories to full episode pages, copy the following code and delete unwanted category lines
{{Page categories |Interview = y |Guest Rogues = y |Live Episodes = y |Alternative Medicine = y |Astronomy & Space Science = y |Cons, Scams & Hoaxes = y |Conspiracy Theories = y |Creationism & ID = y |General Science = y |Entertainment = y |Humor = y |Legal Issues & Regulations = y |Logic & Philosophy = y |Myths & Misconceptions = y |Nature & Evolution = y |Neuroscience & Psychology = 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 }}
Categories:
- Interview
- Guest Rogues
- Live Episodes
- Alternative Medicine
- Astronomy & Space Science
- Cons, Scams & Hoaxes
- Conspiracy Theories
- Creationism & ID
- Entertainment
- General Science
- Humor
- Legal Issues & Regulations
- Logic & Philosophy
- Myths & Misconceptions
- Nature & Evolution
- Neuroscience & Psychology
- Paranormal
- Physics & Mechanics
- Prophecy
- Pseudoscience
- Religion & Faith
- Science & Education
- Science & Medicine
- Science & the Media
- Technology