Jump to content

Template:ReportTOC: Difference between revisions

From ClimateKG
m Laura moved page Template:ReportToc to Template:ReportTOC without leaving a redirect
No edit summary
Line 9: Line 9:
<div class="s-spm">
<div class="s-spm">
<div class="rtoc-section-title">SPM</div>
<div class="rtoc-section-title">SPM</div>
{{#if:{{{spmtitle|}}}|<div class="rtoc-entry"><div class="rtoc-entry-text"><span class="rtoc-entry-title">{{{spmtitle}}}</span>{{#if:{{{spmsubtitle|}}}|<span class="rtoc-entry-subtitle">{{{spmsubtitle}}}</span>}}</div><span class="rtoc-read">[{{{spmurl}}} Read]</span></div>}}
{{#if:{{{spmtitle|}}}|<div class="rtoc-entry"><div class="rtoc-entry-text"><span class="rtoc-entry-title">{{{spmtitle}}}</span>{{#if:{{{spmsubtitle|}}}|<span class="rtoc-entry-subtitle">{{{spmsubtitle}}}</span>}}</div><span class="rtoc-read">[[{{{spmurl}}}|Read]]</span></div>}}
</div>
</div>


<div class="s-ts">
<div class="s-ts">
<div class="rtoc-section-title">TS</div>
<div class="rtoc-section-title">TS</div>
{{#if:{{{tstitle|}}}|<div class="rtoc-entry"><div class="rtoc-entry-text"><span class="rtoc-entry-title">{{{tstitle}}}</span>{{#if:{{{tssubtitle|}}}|<span class="rtoc-entry-subtitle">{{{tssubtitle}}}</span>}}</div><span class="rtoc-read">[{{{tsurl}}} Read]</span></div>}}
{{#if:{{{tstitle|}}}|<div class="rtoc-entry"><div class="rtoc-entry-text"><span class="rtoc-entry-title">{{{tstitle}}}</span>{{#if:{{{tssubtitle|}}}|<span class="rtoc-entry-subtitle">{{{tssubtitle}}}</span>}}</div><span class="rtoc-read">[[{{{tsurl}}}|Read]]</span></div>}}
</div>
</div>



Revision as of 04:38, 19 May 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
| spmtitle    = Summary for Policymakers
| spmsubtitle = Key findings and policy implications
| spmurl      = https://wiki.example.org/SPM

| tstitle    = Technical Summary
| tssubtitle = Detailed scientific assessment
| tsurl      = https://wiki.example.org/TS

| ch1title    = Chapter 1: Framing and Context
| ch1subtitle = Concepts, methods and approaches
| ch1url      = https://wiki.example.org/Chapter_1
| ch2title    = Chapter 2: Observed Changes
| ch2subtitle = Surface temperature and sea level
| ch2url      = https://wiki.example.org/Chapter_2
}}

SPM and TS take a single entry each. Chapters supports up to 25 entries. Subtitles are optional for all entries.