Jump to content

Template:Subjects: Difference between revisions

From Wikibooks, open books for an open world
[checked revision][checked revision]
Content deleted Content added
FULLBOOKNAME, diagnose
BOOKNAME (new-style)
 
(4 intermediate revisions by the same user 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|{{FULLBOOKNAME}}}}}| ]]}}
{{#switch:{{NAMESPACE}}|Wikijunior|=[[{{BOOKCATEGORY|book={{{bookcategory|{{NAIVEBOOKNAME}}}}}}}| ]]}}
{{#if:{{{1|}}}|{{Subjects/leaf|{{{1}}}|diagnose={{{diagnose|}}}}}|[[Category:Uncategorized books|{{FULLCHAPTERNAME}}]]}}
{{#if:{{{1|}}}|{{Subjects/leaf|{{{1}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}|[[Category:Uncategorized books|{{BOOKSORTKEY}}]]}}
{{#if:{{{2|}}}|{{Subjects/leaf|{{{2}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{2|}}}|{{Subjects/leaf|{{{2}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{3|}}}|{{Subjects/leaf|{{{3}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{3|}}}|{{Subjects/leaf|{{{3}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{4|}}}|{{Subjects/leaf|{{{4}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{4|}}}|{{Subjects/leaf|{{{4}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{5|}}}|{{Subjects/leaf|{{{5}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{5|}}}|{{Subjects/leaf|{{{5}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{6|}}}|{{Subjects/leaf|{{{6}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{6|}}}|{{Subjects/leaf|{{{6}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{7|}}}|{{Subjects/leaf|{{{7}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{7|}}}|{{Subjects/leaf|{{{7}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{8|}}}|{{Subjects/leaf|{{{8}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{8|}}}|{{Subjects/leaf|{{{8}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{9|}}}|{{Subjects/leaf|{{{9}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{9|}}}|{{Subjects/leaf|{{{9}}}|bookcategory={{{bookcategory|{{NAIVEBOOKNAME}}}}}|diagnose={{{diagnose|}}}}}}}
{{#if:{{{10|}}}|{{Subjects/leaf|{{{10}}}|diagnose={{{diagnose|}}}}}}}|<!-- 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 books|{{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}}]]}}}}}}
{{#if:{{{10|}}}|[[Category:{{{10}}}|{{BOOKSORTKEY}}]]}}}}}}
{{#if:{{{bookcategory|}}}|[[Category:Books that specify subjects bookcategory]]}}
{{#if:{{{bookcategory|}}}|[[Category:Books that specify subjects bookcategory]]}}
</includeonly><noinclude>{{documentation}}</noinclude>
</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 03:10, 24 January 2018