Template:ChapterList: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="background:#efefef: padding 20px">
<includeonly><div class="chapterlist" style="border: 1px solid #D9D9D9; padding: 20px">
<b>Content List</b>
CONTENT LIST
<br />
<br /><br />
<ol start={{{chapter}}}>
{{{text}}}
<li>
</div></includeonly>
{{#if:{{{subchapter1|}}}|<li>[[{{{subchapter1}}}]]</li>|}}
{{#if:{{{subchapter2|}}}|<li>[[{{{subchapter2}}}]]</li>|}}
{{#if:{{{subchapter3|}}}|<li>[[{{{subchapter3}}}]]</li>|}}
{{#if:{{{subchapter4|}}}|<li>[[{{{subchapter4}}}]]</li>|}}
{{#if:{{{subchapter5|}}}|<li>[[{{{subchapter5}}}]]</li>|}}
{{#if:{{{subchapter6|}}}|<li>[[{{{subchapter6}}}]]</li>|}}
{{#if:{{{subchapter7|}}}|<li>[[{{{subchapter7}}}]]</li>|}}
{{#if:{{{subchapter8|}}}|<li>[[{{{subchapter8}}}]]</li>|}}
{{#if:{{{subchapter9|}}}|<li>[[{{{subchapter9}}}]]</li>|}}
{{#if:{{{subchapter10|}}}|<li>[[{{{subchapter10}}}]]</li>|}}
{{#if:{{{subchapter11|}}}|<li>[[{{{subchapter11}}}]]</li>|}}
{{#if:{{{subchapter12|}}}|<li>[[{{{subchapter12}}}]]</li>|}}
{{#if:{{{subchapter13|}}}|<li>[[{{{subchapter13}}}]]</li>|}}
{{#if:{{{subchapter14|}}}|<li>[[{{{subchapter14}}}]]</li>|}}
{{#if:{{{subchapter15|}}}|<li>[[{{{subchapter15}}}]]</li>|}}
{{#if:{{{subchapter16|}}}|<li>[[{{{subchapter16}}}]]</li>|}}
{{#if:{{{subchapter17|}}}|<li>[[{{{subchapter17}}}]]</li>|}}
{{#if:{{{subchapter18|}}}|<li>[[{{{subchapter18}}}]]</li>|}}
{{#if:{{{subchapter19|}}}|<li>[[{{{subchapter19}}}]]</li>|}}
{{#if:{{{subchapter20|}}}|<li>[[{{{subchapter20}}}]]</li>|}}
</li>
</ol>
</div>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"chapter": {},
"text": {
"subchapter1": {},
"type": "content",
"subchapter2": {},
"label": "Text",
"subchapter3": {},
"autovalue": "[[GoTeachWiki:Introduction/Schirmherr|1.3. Schirmherr]]"
"subchapter4": {},
}
"subchapter5": {},
},
"subchapter6": {},
"description": "Allows adding an inline TOC for subpages of a parent page."
"subchapter7": {},
"subchapter8": {},
"subchapter9": {},
"subchapter10": {},
"subchapter11": {},
"subchapter12": {},
"subchapter13": {},
"subchapter14": {},
"subchapter15": {},
"subchapter16": {},
"subchapter17": {},
"subchapter18": {},
"subchapter19": {},
"subchapter20": {}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 16:18, 24 June 2020


Allows adding an inline TOC for subpages of a parent page.

Template parameters

ParameterDescriptionTypeStatus
Texttext

no description

Auto value
[[GoTeachWiki:Introduction/Schirmherr|1.3. Schirmherr]]
Contentoptional