Jump to content

Template:Subjects: Difference between revisions

From Wikibooks, open books for an open world
[checked revision][checked revision]
Content deleted Content added
fix some things I intended this to do, and explain that in the description
m Fixed sort key.
Line 28: Line 28:
{{tlx|{{PAGENAME}}|<nowiki>bookcategory=book (book)</nowiki>|math|science|etc}}
{{tlx|{{PAGENAME}}|<nowiki>bookcategory=book (book)</nowiki>|math|science|etc}}


[[Category:Catalogue templates]]
[[Category:Catalogue templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 04:06, 27 June 2009


This template categorizes a book in up to 10 categories, plus the book category (this is automatic). The book category can be modified by setting the bookcategory variable. You can also use this on subpages of a book and it will only add the book category.

{{Subjects|math|science|etc}}
{{Subjects|bookcategory=book (book)|math|science|etc}}