Template:Ooucat: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
Tags: Mobile edit Mobile web edit
No edit summary
Tags: Mobile edit Mobile web edit
 
Line 26: Line 26:
the default of this nested switch are categories like those in the form, "stories set in <wherever/whenever>".  This works just like the above.  All the categories whose first two words are "stories set", but which don't have a fourth word "the", will be handled by this rule.  So, things like "stories set in New York City" or "stories set in 2010", or even things like "stories set on Earth" respond to the following code:
the default of this nested switch are categories like those in the form, "stories set in <wherever/whenever>".  This works just like the above.  All the categories whose first two words are "stories set", but which don't have a fourth word "the", will be handled by this rule.  So, things like "stories set in New York City" or "stories set in 2010", or even things like "stories set on Earth" respond to the following code:


-->|#default=like '''category:{{{2|{{#sub:{{PAGENAME}}|15|}}}}}'''
-->|#default=like '''category:{{{1|{{#sub:{{PAGENAME}}|15|}}}}}'''
|like '''category:{{{2|{{#sub:{{PAGENAME}}|15|}}}}}''' or any category that doesn't have the word '''''stories''''' or '''''sources''''' in it.  Categories about sources should only be in ''other'' categories about sources.}}}}</div>
|like '''category:{{{1|{{#sub:{{PAGENAME}}|15|}}}}}''' or any category that doesn't have the word '''''stories''''' or '''''sources''''' in it.  Categories about sources should only be in ''other'' categories about sources.}}}}</div>
<noinclude>This template is placed on category pages that have the word "stories" or "sources" in their titles.  It reacts very differently depending on the category page on which it's placed.  Its various forms can't be shown to you on this page.  If you're curious about this code, take a look!  It's fully annotated.   
<noinclude>This template is placed on category pages that have the word "stories" or "sources" in their titles.  It reacts very differently depending on the category page on which it's placed.  Its various forms can't be shown to you on this page.  If you're curious about this code, take a look!  It's fully annotated.   
[[Category:Category templates]]{{lock}}</noinclude>
[[Category:Category templates]]{{lock}}</noinclude>

Latest revision as of 10:16, 13 April 2024

Ooucat is an out-of-universe category. Don't put it in an in-universe category

This template is placed on category pages that have the word "stories" or "sources" in their titles. It reacts very differently depending on the category page on which it's placed. Its various forms can't be shown to you on this page. If you're curious about this code, take a look! It's fully annotated.

LockedTab.png