Template:Page categories: Difference between revisions
Jump to navigation
Jump to search
m (errors fixed) |
m (removed test example) |
||
Line 85: | Line 85: | ||
</pre> | </pre> | ||
<!-- template for category inclusion, replace '???' with category name | <!-- 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}}]]}} }} | {{#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}}]]}} }} |
Revision as of 23:37, 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 |Entertainment = y |General Science = 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 }}