Difference between revisions of "Template:Show table of contents"

From Venlo Samenwerkingswijzer
(Created page with "<!----{{#ask: [[Item ordened in::{{FULLPAGENAME}}]] |?Item |?Item ordened in |?Ordernumber |sort=Ordernumber |format=template |template=Show table of contents |named args=yes...")
 
m (Text replacement - "{{{?" to "{{{")
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!----{{#ask: [[Item ordened in::{{FULLPAGENAME}}]]
+
<!----{{#ask: [[Item ordened in::{{BASEPAGENAME}}]]
 
|?Item
 
|?Item
 
|?Item ordened in
 
|?Item ordened in
Line 9: Line 9:
 
|link=none
 
|link=none
 
}}
 
}}
---><includeonly><div>{{#if: {{{?Ordernumber|}}}|{{{?Ordernumber|}}}.&nbsp;}}<!---
+
---><includeonly><div>{{#if: {{{Ordernumber|}}}|{{{Ordernumber|}}}.&nbsp;}}<!---
--->{{#if:{{{?Item|}}} | [[ {{{?Item|}}} | {{#semantic-title:{{{?Item|}}}}} ]] }}</div></includeonly>
+
--->{{#if:{{{Item|}}} | {{#ifeq: {{#ask: [[{{{Item|}}}]] [[Category:Chapter]] |default=NO}}
 +
|NO
 +
| {{SUBPAGENAME:{{{Item|}}}}}
 +
|[[ {{{Item|}}} | {{#show:{{{Item|}}} |?Display title of=}} ]] }}
 +
}}</div></includeonly>

Latest revision as of 11:51, 25 April 2019