Template:5X5 categories: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (Try again?)
m (Reverted edits by Av8rmike (talk) to last revision by Teleuteskitty)
Line 1: Line 1:
<includeonly>{{#if: {{{Alternative Medicine|}}} | {{Numerical titles
<noinclude>
=== Description ===
This template adds categories to full episode pages in alphabetical order. It uses the page name to determine the sortkey so that 5X5 episodes are grouped under # on category pages, following full episode links and listed numerically. It also adds the page to the list of [[:Category:Categorized|Categorized]] episodes.
 
This template should be used for adding categories to 5X5 episode pages only. For full episodes, use [[Template:Page categories]]. Redirects to segments within episodes should be categorized normally (e.g <code><nowiki>[[Category:Topic]]</nowiki></code>).
=== Usage ===
To assign categories to 5X5 episode pages, copy the following code and delete unwanted category lines.
<pre>
{{5X5 categories
|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: {{{???|}}} | {{#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><includeonly>
{{#if: {{{Alternative Medicine|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|page      = {{PAGENAME}}
|category  = Alternative Medicine
|category  = Alternative Medicine
Line 167: Line 217:
|page      = {{PAGENAME}}
|page      = {{PAGENAME}}
|category  = Categorized
|category  = Categorized
}}</includeonly><noinclude>
}} </includeonly>
=== Description ===
This template adds categories to full episode pages in alphabetical order. It uses the page name to determine the sortkey so that 5X5 episodes are grouped under # on category pages, following full episode links and listed numerically. It also adds the page to the list of [[:Category:Categorized|Categorized]] episodes.
 
This template should be used for adding categories to 5X5 episode pages only. For full episodes, use [[Template:Page categories]]. Redirects to segments within episodes should be categorized normally (e.g <code><nowiki>[[Category:Topic]]</nowiki></code>).
=== Usage ===
To assign categories to 5X5 episode pages, copy the following code and delete unwanted category lines.
<pre>
{{5X5 categories
|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>
<!--[[Category:Utility templates]]-->
</noinclude>

Revision as of 03:10, 28 July 2013

Description

This template adds categories to full episode pages in alphabetical order. It uses the page name to determine the sortkey so that 5X5 episodes are grouped under # on category pages, following full episode links and listed numerically. It also adds the page to the list of Categorized episodes.

This template should be used for adding categories to 5X5 episode pages only. For full episodes, use Template:Page categories. Redirects to segments within episodes should be categorized normally (e.g [[Category:Topic]]).

Usage

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
|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
}}