Difference between revisions of "Template:Category"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
(Undo revision 130152 by Sanfazer (talk).)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{{plural|yes}}}|no|{{#ifeq:{{{low|yes}}}|no|{{#ifeq:{{{universe|yes}}}|no|This is a list of articles related to {{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}.|This is a list of articles related to {{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}} in the ''[[Futurama]]'' [[Universe Γ|universe]].}}|{{#ifeq:{{{universe|yes}}}|no|This is a list of articles related to <span class="nocaps" style="text-transform:lowercase;">{{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}</span>.|This is a list of articles related to <span class="nocaps" style="text-transform:lowercase;">{{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}</span> in the ''[[Futurama]]'' [[Universe Γ|universe]].}}}}{{#if:{{{1|}}}|[[Category:{{{1}}}]]|}}{{#if:{{{2|}}}|[[Category:{{{2}}}]]|}}{{#if:{{{3|}}}|[[Category:{{{3}}}]]|}}{{#if:{{{4|}}}|[[Category:{{{4}}}]]|}}{{#if:{{{5|}}}|[[Category:{{{5}}}]]|}}{{#if:{{{6|}}}|[[Category:{{{6}}}]]|}}{{#if:{{{7|}}}|[[Category:{{{7}}}]]|}}{{#if:{{{8|}}}|[[Category:{{{8}}}]]|}}{{#if:{{{9|}}}|[[Category:{{{9}}}]]|}}{{#if:{{{10|}}}|[[Category:{{{10}}}]]|}}|{{#ifeq:{{{low|yes}}}|no|{{#ifeq:{{{universe|yes}}}|no|This is a list of {{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}{{#ifeq:{{{more|no}}}|yes|&nbsp;and related articles|}}.|This is a list of {{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}} in the ''[[Futurama]]'' [[Universe Γ|universe]]{{#ifeq:{{{more|no}}}|yes|&nbsp;and related articles|}}.}}|{{#ifeq:{{{universe|yes}}}|no|This is a list of <span class="nocaps" style="text-transform:lowercase;">{{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}</span>{{#ifeq:{{{more|no}}}|yes|&nbsp;and related articles|}}.|This is a list of <span class="nocaps" style="text-transform:lowercase;">{{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}</span> in the ''[[Futurama]]'' [[Universe Γ|universe]]{{#ifeq:{{{more|no}}}|yes|&nbsp;and related articles|}}.}}}}{{#if:{{{1|}}}|[[Category:{{{1}}}]]|}}{{#if:{{{2|}}}|[[Category:{{{2}}}]]|}}{{#if:{{{3|}}}|[[Category:{{{3}}}]]|}}{{#if:{{{4|}}}|[[Category:{{{4}}}]]|}}{{#if:{{{5|}}}|[[Category:{{{5}}}]]|}}{{#if:{{{6|}}}|[[Category:{{{6}}}]]|}}{{#if:{{{7|}}}|[[Category:{{{7}}}]]|}}{{#if:{{{8|}}}|[[Category:{{{8}}}]]|}}{{#if:{{{9|}}}|[[Category:{{{9}}}]]|}}{{#if:{{{10|}}}|[[Category:{{{10}}}]]|}}}}</includeonly><noinclude>{{documentation}}</noinclude>
<includeonly>{{#ifeq:{{{plural|yes}}}|no|{{#ifeq:{{{low|yes}}}|no|{{#ifeq:{{{universe|yes}}}|no|This is a list of articles related to {{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}.|This is a list of articles related to {{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}} in the ''[[Futurama]]'' [[Universe Γ|universe]].}}|{{#ifeq:{{{universe|yes}}}|no|This is a list of articles related to {{#if:{{{link|}}}|'''[[{{{link}}}|{{lcfirst:{{PAGENAME}}}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}.|This is a list of articles related to {{#if:{{{link|}}}|'''[[{{{link}}}|{{lcfirst:{{PAGENAME}}}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}} in the ''[[Futurama]]'' [[Universe Γ|universe]].}}}}{{#if:{{{1|}}}|[[Category:{{{1}}}]]|}}{{#if:{{{2|}}}|[[Category:{{{2}}}]]|}}{{#if:{{{3|}}}|[[Category:{{{3}}}]]|}}{{#if:{{{4|}}}|[[Category:{{{4}}}]]|}}{{#if:{{{5|}}}|[[Category:{{{5}}}]]|}}{{#if:{{{6|}}}|[[Category:{{{6}}}]]|}}{{#if:{{{7|}}}|[[Category:{{{7}}}]]|}}{{#if:{{{8|}}}|[[Category:{{{8}}}]]|}}{{#if:{{{9|}}}|[[Category:{{{9}}}]]|}}{{#if:{{{10|}}}|[[Category:{{{10}}}]]|}}|{{#ifeq:{{{low|yes}}}|no|{{#ifeq:{{{universe|yes}}}|no|This is a list of {{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}{{#ifeq:{{{more|no}}}|yes|&nbsp;and related articles|}}.|This is a list of {{#if:{{{link|}}}|'''[[{{{link}}}|{{PAGENAME}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}} in the ''[[Futurama]]'' [[Universe Γ|universe]]{{#ifeq:{{{more|no}}}|yes|&nbsp;and related articles|}}.}}|{{#ifeq:{{{universe|yes}}}|no|This is a list of {{#if:{{{link|}}}|'''[[{{{link}}}|{{lcfirst:{{PAGENAME}}}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}}{{#ifeq:{{{more|no}}}|yes|&nbsp;and related articles|}}.|This is a list of {{#if:{{{link|}}}|'''[[{{{link}}}|{{lcfirst:{{PAGENAME}}}}]]'''|[[:Category:{{PAGENAME}}|{{PAGENAME}}]]}} in the ''[[Futurama]]'' [[Universe Γ|universe]]{{#ifeq:{{{more|no}}}|yes|&nbsp;and related articles|}}.}}}}{{#if:{{{1|}}}|[[Category:{{{1}}}]]|}}{{#if:{{{2|}}}|[[Category:{{{2}}}]]|}}{{#if:{{{3|}}}|[[Category:{{{3}}}]]|}}{{#if:{{{4|}}}|[[Category:{{{4}}}]]|}}{{#if:{{{5|}}}|[[Category:{{{5}}}]]|}}{{#if:{{{6|}}}|[[Category:{{{6}}}]]|}}{{#if:{{{7|}}}|[[Category:{{{7}}}]]|}}{{#if:{{{8|}}}|[[Category:{{{8}}}]]|}}{{#if:{{{9|}}}|[[Category:{{{9}}}]]|}}{{#if:{{{10|}}}|[[Category:{{{10}}}]]|}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 04:37, 25 August 2013

Documentation for {{category}}

Use

The unnamed parameters determine what categories the category will be part of. (The template allows for ten categories.) The "link" parameter determines whether the text in bold links to an article or not. The "low" parameter determines whether the text in bold is in lower case or has the same capitalisation as the title. The "more" parameter determines whether the phrase "and related articles" is used. The "universe" parameter determines whether the phrase "in the Futurama universe" is used. The "plural" parameter determines whether the phrase "articles related to" is used.

Examples

For categories the names of which are plurals

Assume that the category is the Hospitals category.

{{category}}
This is a list of '''hospitals''' in the ''[[Futurama]]'' [[Universe Γ|universe]].
{{category|link=medicine}}
This is a list of '''[[medicine|hospitals]]''' in the ''[[Futurama]]'' [[Universe Γ|universe]].
{{category|low=no}}
This is a list of '''[[Hospitals]]''' in the ''[[Futurama]]'' [[Universe Γ|universe]].
{{category|more=yes}}
This is a list of '''hospitals''' in the ''[[Futurama]]'' [[Universe Γ|universe]] and related articles.
{{category|universe=no}}
This is a list of '''hospitals'''.
{{category|link=medicine|low=no|more=yes|universe=no}}
This is a list of '''[[medicine|Hospitals]]''' and related articles.
{{category|link=medicine|low=no|more=yes|universe=no|buildings}}
This is a list of '''[[medicine|Hospitals]]''' and related articles.
[[Category:Buildings]]
{{category|link=medicine|low=no|more=yes|universe=no|buildings|places}}
This is a list of '''[[medicine|Hospitals]]''' and related articles.
[[Category:Buildings]]
[[Category:Places]]
For categories the names of which are singulars

Assume that the category is the Television category.

{{category|plural=no|link=television|entertainment}}
This is a list of articles related to '''[[television]]''' in the ''[[Futurama]]'' [[Universe Γ|universe]].
[[Category:Entertainment]]