Template:ReportTOC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
<div class="s-fm"> | <div class="s-fm"> | ||
<div class="rtoc-section-title">Front Matter</div> | <div class="rtoc-section-title">Front Matter</div> | ||
<div class="rtoc-oos">Content in this section is out of scope</div> | |||
</div> | </div> | ||
| Line 36: | Line 33: | ||
{{#if:{{{ch9title|}}}|<div class="rtoc-entry"><span class="rtoc-entry-title">{{{ch9title}}}</span><a class="rtoc-read" href="{{{ch9url}}}">Read</a></div>}} | {{#if:{{{ch9title|}}}|<div class="rtoc-entry"><span class="rtoc-entry-title">{{{ch9title}}}</span><a class="rtoc-read" href="{{{ch9url}}}">Read</a></div>}} | ||
{{#if:{{{ch10title|}}}|<div class="rtoc-entry"><span class="rtoc-entry-title">{{{ch10title}}}</span><a class="rtoc-read" href="{{{ch10url}}}">Read</a></div>}} | {{#if:{{{ch10title|}}}|<div class="rtoc-entry"><span class="rtoc-entry-title">{{{ch10title}}}</span><a class="rtoc-read" href="{{{ch10url}}}">Read</a></div>}} | ||
{{#if:{{{ch11title|}}}|<div class="rtoc-entry"><span class="rtoc-entry-title">{{{ch11title}}}</span><a class="rtoc-read" href="{{{ch11url}}}">Read</a></div>}} | |||
{{#if:{{{ch12title|}}}|<div class="rtoc-entry"><span class="rtoc-entry-title">{{{ch12title}}}</span><a class="rtoc-read" href="{{{ch12url}}}">Read</a></div>}} | |||
</div> | </div> | ||
<div class="s-an"> | <div class="s-an"> | ||
<div class="rtoc-section-title">Annexes</div> | <div class="rtoc-section-title">Annexes</div> | ||
<div class="rtoc-oos">Content in this section is out of scope</div> | |||
</div> | </div> | ||
| Line 52: | Line 47: | ||
<pre> | <pre> | ||
{{ReportTOC | {{ReportTOC | ||
| spm1title = Summary for Policymakers | | spm1title = Summary for Policymakers | ||
| spm1url = https://wiki.example.org/SPM | | spm1url = https://wiki.example.org/SPM | ||
| Line 67: | Line 57: | ||
| ch2title = Chapter 2: Observed Changes | | ch2title = Chapter 2: Observed Changes | ||
| ch2url = https://wiki.example.org/Chapter_2 | | ch2url = https://wiki.example.org/Chapter_2 | ||
}} | }} | ||
</pre> | </pre> | ||
Chapters supports up to 12 entries. SPM and TS support up to 3 entries each. Front Matter and Annexes display a static out-of-scope message and take no parameters. | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 04:49, 13 April 2026
Contents
Front Matter
Content in this section is out of scope
SPM
TS
Chapters
Annexes
Content in this section is out of scope
Usage
{{ReportTOC
| spm1title = Summary for Policymakers
| spm1url = https://wiki.example.org/SPM
| ts1title = Technical Summary
| ts1url = https://wiki.example.org/TS
| ch1title = Chapter 1: Framing and Context
| ch1url = https://wiki.example.org/Chapter_1
| ch2title = Chapter 2: Observed Changes
| ch2url = https://wiki.example.org/Chapter_2
}}
Chapters supports up to 12 entries. SPM and TS support up to 3 entries each. Front Matter and Annexes display a static out-of-scope message and take no parameters.