Template:Page categories: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (Try again?)
m (Protected "Template:Page categories": High traffic page: v important page! ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#if: {{{Interview|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|category  = Interview
}} }}
{{#if: {{{Guest Rogues|}}} | {{Numerical titles
{{#if: {{{Guest Rogues|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|page      = {{PAGENAME}}
|category  = Guest Rogues
|category  = Guest Rogues
}} }}
{{#if: {{{SoF with a Theme|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|category  = SoF with a Theme
}} }}
}} }}


Line 10: Line 20:
}} }}
}} }}


{{#if: {{{Interview|}}} | {{Numerical titles
{{#if: {{{Amendments|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|category  = Amendments
}} }}
 
{{#if: {{{What's the Word?|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|category  = What's the Word?
}} }}
 
{{#if: {{{Name That Logical Fallacy|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|category  = Name That Logical Fallacy
}} }}
 
{{#if: {{{Skeptical Puzzle|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|page      = {{PAGENAME}}
|category  = Interview
|category  = Skeptical Puzzle
}} }}
}} }}


Line 20: Line 45:
}} }}
}} }}


{{#if: {{{Skeptical Puzzle|}}} | {{Numerical titles
{{#if: {{{Year in Review|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|category  = Year in Review
}} }}
 
{{#if: {{{Women in History|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|category  = Women in History
}} }}
 
{{#if: {{{This Day in Skepticism|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|page      = {{PAGENAME}}
|category  = Skeptical Puzzle
|category  = This Day in Skepticism
}} }}
}} }}


{{#if: {{{Amendments|}}} | {{Numerical titles
{{#if: {{{Forgotten Superheroes of Science|}}} | {{Numerical titles
|page      = {{PAGENAME}}
|page      = {{PAGENAME}}
|category  = Amendments
|category  = Forgotten Superheroes of Science
}} }}
}} }}


Line 194: Line 229:
|category  = Other
|category  = Other
}} }}
}} }}


{{Numerical titles          <!-- adds page to hidden category, Categorized -->
{{Numerical titles          <!-- adds page to hidden category, Categorized -->
Line 209: Line 245:


<pre>
<pre>
{{Page categories
{{Page categories <!-- it helps to write a short description with the (episode number) which can then be used to search for the [Short description (nnnn)]s to create pages for redirects. Also, once redirects have been created, please hide the non-blank text used to place the whole episode within the same category as the redirect in the markup.
|Guest Rogues               = y
 
|Live Recording             = y
We suggest typing "redirect(s) created for" in front of the text you hide in the markup. -->
|Interview                 = y
 
|Randi Speaks              = y
|Guest Rogues = <!-- search for NAME (nnnn) to create a redirect page -->
|Skeptical Puzzle          = y
 
|Amendments                = y
<!-- also note, not all guests are guest rogues; interviewees who don't feature beyond the interview are just guests -->
|Alternative Medicine       = y
 
|Astronomy & Space Science = y
|Live Recording = <!-- search for TITLE (nnnn) to create a redirect page,
|Cons, Scams & Hoaxes       = y
then edit that page with:
|Conspiracy Theories       = y
 
|Creationism & ID           = y
#REDIRECT
|Cryptozoology             = y
[[SGU_Episode_nnnn]]
|Energy Healing             = y
[[Category:Live Recording]] -->
|Entertainment             = y
 
|ESP                       = y
|Interview = <!--
|General Science           = y
 
|Ghosts & Demons           = y
search for NAME interview: TOPIC (nnnn) to create a redirect page then edit that page with:
|History                   = y
 
|Homeopathy                 = y
#REDIRECT
|Humor                     = y
[[SGU_Episode_NNNN#insert_specific_interview_section_address_here]]
|Legal Issues & Regulations = y
[[Category:Interview]] -->
|Logic & Philosophy         = y
 
|Myths & Misconceptions     = y
|Alternative Medicine =  
|Nature & Evolution         = y
|Astronomy & Space Science =  
|Neuroscience & Psychology = y
|Cons, Scams & Hoaxes =  
|New Age                   = y
|Conspiracy Theories =  
|Paranormal                 = y
|Creationism & ID =  
|Physics & Mechanics       = y
|Cryptozoology =  
|Politics                   = y
|Energy Healing =  
|Prophecy                   = y
|Entertainment =  
|Pseudoscience             = y
|ESP =  
|Religion & Faith           = y
|General Science =  
|Science & Education       = y
|Ghosts & Demons =  
|Science & Medicine         = y
|History =  
|Science & the Media       = y
|Homeopathy =  
|SGU                       = y
|Humor =  
|Technology                 = y
|Legal Issues & Regulations =  
|UFOs & Aliens             = y
|Logic & Philosophy =  
|Other                     = y
|Myths & Misconceptions =  
|Nature & Evolution =  
|Neuroscience & Psychology =  
|New Age =  
|Paranormal =  
|Physics & Mechanics =  
|Politics =  
|Prophecy =  
|Pseudoscience =  
|Religion & Faith =  
|Science & Education =  
|Science & Medicine =  
|Science & the Media =  
|SGU =  
|Technology =  
|UFOs & Aliens =  
 
|SoF with a Theme = <!--
 
search for "THEME - SoF Theme (nnnn)" to create a redirect page, then edit that page with:
 
#REDIRECT
[[SGU_Episode_NNNN#theme]]
[[Category:SoF with a Theme]] -->
 
|What's the Word? = <!--
 
search for "WORD (nnnn WTW)" to create a redirect page, then edit that page with:
 
#REDIRECT
[[SGU_Episode_NNNN#wtw]]
[[Category:What's the Word?]] -->
 
|Amendments =
|Forgotten Superheroes of Science =
|Name That Logical Fallacy =
|This Day in Skepticism =
|Women in History =
|Year in Review =
 
|Other =
|Randi Speaks =
|Skeptical Puzzle =
}}
}}
</pre>
</pre>
Line 256: Line 334:
|page      = {{PAGENAME}}
|page      = {{PAGENAME}}
|category  = ???
|category  = ???
}} }}
}} }}-->


[[Category:Utility templates]]-->
[[Category:Utility templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 16:35, 28 May 2024

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 		<!-- it helps to write a short description with the (episode number) which can then be used to search for the [Short description (nnnn)]s to create pages for redirects. Also, once redirects have been created, please hide the non-blank text used to place the whole episode within the same category as the redirect in the markup. 

We suggest typing "redirect(s) created for" in front of the text you hide in the markup. -->

|Guest Rogues			= <!-- search for NAME (nnnn) to create a redirect page -->

<!-- also note, not all guests are guest rogues; interviewees who don't feature beyond the interview are just guests --> 

|Live Recording			= <!-- search for TITLE (nnnn) to create a redirect page, 
then edit that page with: 

#REDIRECT 
[[SGU_Episode_nnnn]] 
[[Category:Live Recording]] -->

|Interview			= <!-- 

search for NAME interview: TOPIC (nnnn) to create a redirect page then edit that page with: 

#REDIRECT 
[[SGU_Episode_NNNN#insert_specific_interview_section_address_here]] 
[[Category:Interview]] -->

|Alternative Medicine		= 
|Astronomy & Space Science	= 
|Cons, Scams & Hoaxes		= 
|Conspiracy Theories		= 
|Creationism & ID		= 
|Cryptozoology			= 
|Energy Healing			= 
|Entertainment			= 
|ESP				= 
|General Science		= 
|Ghosts & Demons		= 
|History			= 
|Homeopathy			= 
|Humor				= 
|Legal Issues & Regulations	= 
|Logic & Philosophy		= 
|Myths & Misconceptions		= 
|Nature & Evolution		= 
|Neuroscience & Psychology	= 
|New Age			= 
|Paranormal			= 
|Physics & Mechanics		= 
|Politics			= 
|Prophecy			= 
|Pseudoscience			= 
|Religion & Faith		= 
|Science & Education		= 
|Science & Medicine		= 
|Science & the Media		= 
|SGU				= 
|Technology			= 
|UFOs & Aliens			= 

|SoF with a Theme		= <!-- 

search for "THEME - SoF Theme (nnnn)" to create a redirect page, then edit that page with: 

#REDIRECT 
[[SGU_Episode_NNNN#theme]] 
[[Category:SoF with a Theme]] -->

|What's the Word?		= <!-- 

search for "WORD (nnnn WTW)" to create a redirect page, then edit that page with: 

#REDIRECT 
[[SGU_Episode_NNNN#wtw]] 
[[Category:What's the Word?]] --> 

|Amendments			= 
|Forgotten Superheroes of Science =
|Name That Logical Fallacy	=
|This Day in Skepticism		=
|Women in History		=
|Year in Review			=

|Other				= 
|Randi Speaks			= 
|Skeptical Puzzle		=
}}