Jump to content

Template:Subjects: Difference between revisions

From Wikibooks, open books for an open world
[checked revision][checked revision]
Content deleted Content added
m {{documentation}}
BOOKNAME (new-style)
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{#titleparts:{{FULLPAGENAME}}}}|{{FULLBOOKNAME}}|<!-- this isn't a subpage -->
<includeonly>{{#ifeq:{{BOOKPAGENAME}}||<!-- this isn't a subpage -->
{{#switch:{{NAMESPACE}}|Wikijunior|=[[Category:{{{bookcategory|{{BOOKNAME}}}}}| ]]}}
{{#switch:{{NAMESPACE}}|Wikijunior|=[[{{BOOKCATEGORY|book={{{bookcategory|{{NAIVEBOOKNAME}}}}}}}| ]]}}
{{#if:{{{1|}}}|[[Category:{{{1}}}|{{BOOKNAME}}]]|[[Category:Uncategorized modules|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{1|}}}|{{Subjects/leaf|{{{1}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}|[[Category:Uncategorized books|{{BOOKSORTKEY}}]]}}
{{#if:{{{2|}}}|[[Category:{{{2}}}|{{BOOKNAME}}]]}}
{{#if:{{{2|}}}|{{Subjects/leaf|{{{2}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{3|}}}|[[Category:{{{3}}}|{{BOOKNAME}}]]}}
{{#if:{{{3|}}}|{{Subjects/leaf|{{{3}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{4|}}}|[[Category:{{{4}}}|{{BOOKNAME}}]]}}
{{#if:{{{4|}}}|{{Subjects/leaf|{{{4}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{5|}}}|[[Category:{{{5}}}|{{BOOKNAME}}]]}}
{{#if:{{{5|}}}|{{Subjects/leaf|{{{5}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{6|}}}|[[Category:{{{6}}}|{{BOOKNAME}}]]}}
{{#if:{{{6|}}}|{{Subjects/leaf|{{{6}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{7|}}}|[[Category:{{{7}}}|{{BOOKNAME}}]]}}
{{#if:{{{7|}}}|{{Subjects/leaf|{{{7}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{8|}}}|[[Category:{{{8}}}|{{BOOKNAME}}]]}}
{{#if:{{{8|}}}|{{Subjects/leaf|{{{8}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{9|}}}|[[Category:{{{9}}}|{{BOOKNAME}}]]}}
{{#if:{{{9|}}}|{{Subjects/leaf|{{{9}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{10|}}}|[[Category:{{{10}}}|{{BOOKNAME}}]]}}|<!-- this is a subpage -->
{{#if:{{{10|}}}|{{Subjects/leaf|{{{10}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}|<!-- this is a subpage -->
{{#switch:{{NAMESPACE}}|Wikijunior|=[[Category:{{{bookcategory|{{BOOKNAME}}}}}|{{FULLCHAPTERNAME}}]]|#default=
{{#switch:{{NAMESPACE}}|Wikijunior|=[[{{BOOKCATEGORY|{{{bookcategory|{{BOOKNAME}}}}}}}|{{BOOKSORTKEY}}]]|#default=
{{#if:{{{1|}}}|[[Category:{{{1}}}|{{FULLCHAPTERNAME}}]]|[[Category:Uncategorized modules|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{1|}}}|[[Category:{{{1}}}|{{BOOKSORTKEY}}]]|[[Category:Uncategorized books|{{BOOKSORTKEY}}]]}}
{{#if:{{{2|}}}|[[Category:{{{2}}}|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{2|}}}|[[Category:{{{2}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{3|}}}|[[Category:{{{3}}}|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{3|}}}|[[Category:{{{3}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{4|}}}|[[Category:{{{4}}}|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{4|}}}|[[Category:{{{4}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{5|}}}|[[Category:{{{5}}}|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{5|}}}|[[Category:{{{5}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{6|}}}|[[Category:{{{6}}}|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{6|}}}|[[Category:{{{6}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{7|}}}|[[Category:{{{7}}}|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{7|}}}|[[Category:{{{7}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{8|}}}|[[Category:{{{8}}}|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{8|}}}|[[Category:{{{8}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{9|}}}|[[Category:{{{9}}}|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{9|}}}|[[Category:{{{9}}}|{{BOOKSORTKEY}}]]}}
{{#if:{{{10|}}}|[[Category:{{{10}}}|{{FULLCHAPTERNAME}}]]}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>
{{#if:{{{10|}}}|[[Category:{{{10}}}|{{BOOKSORTKEY}}]]}}}}}}
{{#if:{{{bookcategory|}}}|[[Category:Books that specify subjects bookcategory]]}}
</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 03:10, 24 January 2018