Template:Subject: Difference between revisions
Appearance
wikademia>Darklama try redusing the tests and try using a Uncategorized modules category if no arguments are passed |
wikademia>Darklama m +missing # |
||
| Line 4: | Line 4: | ||
;Example: {{tlx|{{PAGENAME}}|Math|Science|Computing|Programming|etc}}</noinclude><includeonly> | ;Example: {{tlx|{{PAGENAME}}|Math|Science|Computing|Programming|etc}}</noinclude><includeonly> | ||
{{ifeq:{{#switch:{{FULLPAGENAME}}|{{BOOKNAME}}|{{NAMESPACE}}:{{PAGENAME}} = yes|#default = no}}|yes| | {{#ifeq:{{#switch:{{FULLPAGENAME}}|{{BOOKNAME}}|{{NAMESPACE}}:{{PAGENAME}} = yes|#default = no}}|yes| | ||
{{#if:{{{1|}}}|[[Category:{{{1}}}|{{FULLCHAPTERNAME}}]]|[[Category:Uncategorized modules|{{FULLCHAPTERNAME}}]]}} | {{#if:{{{1|}}}|[[Category:{{{1}}}|{{FULLCHAPTERNAME}}]]|[[Category:Uncategorized modules|{{FULLCHAPTERNAME}}]]}} | ||
{{#if:{{{2|}}}|[[Category:{{{2}}}|{{FULLCHAPTERNAME}}]]}}{{#if:{{{3|}}}|[[Category:{{{3}}}|{{FULLCHAPTERNAME}}]]}} | {{#if:{{{2|}}}|[[Category:{{{2}}}|{{FULLCHAPTERNAME}}]]}}{{#if:{{{3|}}}|[[Category:{{{3}}}|{{FULLCHAPTERNAME}}]]}} | ||
Revision as of 23:57, 17 September 2007
This template categorizes a book in up to 10 categories.
- Example
- {{Subject|Math|Science|Computing|Programming|...}}