Difference between revisions of "Template:Page categories"
Jump to navigation
Jump to search
(added 'categorized' category as standard) |
m (added category) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <includeonly> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{#if: {{{Guest Rogues|}}} | {{Numerical titles | {{#if: {{{Guest Rogues|}}} | {{Numerical titles | ||
|page = {{PAGENAME}} | |page = {{PAGENAME}} | ||
Line 78: | Line 18: | ||
|page = {{PAGENAME}} | |page = {{PAGENAME}} | ||
|category = Randi Speaks | |category = Randi Speaks | ||
+ | }} }} | ||
+ | |||
+ | {{#if: {{{Skeptical Puzzle|}}} | {{Numerical titles | ||
+ | |page = {{PAGENAME}} | ||
+ | |category = Skeptical Puzzle | ||
}} }} | }} }} | ||
Line 249: | Line 194: | ||
|category = Other | |category = Other | ||
}} }} | }} }} | ||
− | |||
{{Numerical titles <!-- adds page to hidden category, Categorized --> | {{Numerical titles <!-- adds page to hidden category, Categorized --> | ||
|page = {{PAGENAME}} | |page = {{PAGENAME}} | ||
|category = Categorized | |category = Categorized | ||
− | |}} }} | + | |}} |
− | </ | + | </includeonly><noinclude> |
+ | === Description === | ||
+ | This template adds categories to full episode pages in a uniform order, starting with episode-wide categories, and then the topic categories in alphabetical order. It uses the page name to determine the sortkey so that episodes are grouped under # on category pages, and listed numerically. It also adds the page to [[:Category: Categorized]] for admin purposes. | ||
+ | |||
+ | This template should be used for adding categories to full episode pages only. For 5X5 episodes, use [[Template:5X5 categories]]. Redirects to segments within episodes should be categorized normally (e.g <code><nowiki>[[Category:Topic]]</nowiki></code>). | ||
+ | |||
+ | === Usage === | ||
+ | To assign categories, copy the following code and delete unwanted category lines. | ||
+ | |||
+ | <pre> | ||
+ | {{Page categories | ||
+ | |Guest Rogues = y | ||
+ | |Live Recording = y | ||
+ | |Interview = y | ||
+ | |Randi Speaks = y | ||
+ | |Skeptical Puzzle = y | ||
+ | |Amendments = y | ||
+ | |Alternative Medicine = y | ||
+ | |Astronomy & Space Science = y | ||
+ | |Cons, Scams & Hoaxes = y | ||
+ | |Conspiracy Theories = y | ||
+ | |Creationism & ID = y | ||
+ | |Cryptozoology = y | ||
+ | |Energy Healing = y | ||
+ | |Entertainment = y | ||
+ | |ESP = y | ||
+ | |General Science = y | ||
+ | |Ghosts & Demons = y | ||
+ | |History = y | ||
+ | |Homeopathy = 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 | ||
+ | |Politics = y | ||
+ | |Prophecy = y | ||
+ | |Pseudoscience = y | ||
+ | |Religion & Faith = y | ||
+ | |Science & Education = y | ||
+ | |Science & Medicine = y | ||
+ | |Science & the Media = y | ||
+ | |SGU = y | ||
+ | |Technology = y | ||
+ | |UFOs & Aliens = y | ||
+ | |Other = y | ||
+ | }} | ||
+ | </pre> | ||
+ | |||
+ | <!-- template for category inclusion, replace '???' with category name | ||
+ | {{#if: {{{???|}}} | {{Numerical titles | ||
+ | |page = {{PAGENAME}} | ||
+ | |category = ??? | ||
+ | }} }}--> | ||
+ | |||
+ | [[Category:Utility templates]] | ||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Revision as of 14:19, 13 September 2016
Description
This template adds categories to full episode pages in a uniform order, starting with episode-wide categories, and then the topic categories in alphabetical order. It uses the page name to determine the sortkey so that episodes are grouped under # on category pages, and listed numerically. It also adds the page to Category: Categorized for admin purposes.
This template should be used for adding categories to full episode pages only. For 5X5 episodes, use Template:5X5 categories. Redirects to segments within episodes should be categorized normally (e.g [[Category:Topic]]
).
Usage
To assign categories, copy the following code and delete unwanted category lines.
{{Page categories |Guest Rogues = y |Live Recording = y |Interview = y |Randi Speaks = y |Skeptical Puzzle = y |Amendments = y |Alternative Medicine = y |Astronomy & Space Science = y |Cons, Scams & Hoaxes = y |Conspiracy Theories = y |Creationism & ID = y |Cryptozoology = y |Energy Healing = y |Entertainment = y |ESP = y |General Science = y |Ghosts & Demons = y |History = y |Homeopathy = 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 |Politics = y |Prophecy = y |Pseudoscience = y |Religion & Faith = y |Science & Education = y |Science & Medicine = y |Science & the Media = y |SGU = y |Technology = y |UFOs & Aliens = y |Other = y }}