Difference between revisions of "Template:Show table of contents"
From Venlo Samenwerkingswijzer
Line 12: | Line 12: | ||
--->{{#if:{{{?Item|}}} | {{#ifeq: {{#ask: [[{{{?Item|}}}]] [[Category:Chapter]] |default=NO}} | --->{{#if:{{{?Item|}}} | {{#ifeq: {{#ask: [[{{{?Item|}}}]] [[Category:Chapter]] |default=NO}} | ||
|NO | |NO | ||
− | | [[{{SUBPAGENAME:{{{?Item|}}}}}]] | + | | {{#ifexist:|{{SUBPAGENAME:{{{?Item|}}} }}|[[{{SUBPAGENAME:{{{?Item|}}} }}]]|{{SUBPAGENAME:{{{?Item|}}} }} }} |
|[[{{{?Item|}}} | {{#show:{{{?Item|}}} |?Display title of=}}]]}} | |[[{{{?Item|}}} | {{#show:{{{?Item|}}} |?Display title of=}}]]}} | ||
}}</div></includeonly> | }}</div></includeonly> |