Jump to content

Template:ChapterNavigation: Difference between revisions

From ClimateKG
No edit summary
No edit summary
Line 12: Line 12:
}}
}}
<td class="cn-center">
<td class="cn-center">
<div class="cn-center-img">[[File:{{{cover}}}|48px|link={{{reporturl}}}]]</div>
<div class="cn-center-label">Report</div>
<div class="cn-center-label">Report</div>
<div class="cn-center-img">[[File:{{{cover}}}|64px|link={{{reporturl}}}]]</div>
<div class="cn-center-title">[[{{{reporturl}}}|{{{reporttitle}}}]]</div>
<div class="cn-center-title">[[{{{reporturl}}}|{{{reporttitle}}}]]</div>
</td>
</td>
Line 43: Line 43:
<pre>
<pre>
{{ChapterNavigation
{{ChapterNavigation
| cover        = Cover-WGI.jpg
| cover        = Test-wgI.jpg
| reporturl    = IPCC:AR6/WGI
| reporturl    = IPCC:AR6/WGI
| reporttitle  = WGI
| reporttitle  = Annual Climate Assessment 2023
| nexturl      = IPCC:AR6/WGI/Chapter-2
| nexturl      = IPCC:AR6/WGI/Chapter2
}}
}}
</pre>
</pre>

Revision as of 08:18, 22 May 2026

No previous chapter
Report
[[File:{{{cover}}}|64px|link={{{reporturl}}}]]
[[{{{reporturl}}}|{{{reporttitle}}}]]
No next chapter

Usage

Standard chapter (both prev and next):

{{ChapterNavigation
| cover        = Test-wgI.jpg
| reporturl    = IPCC:AR6/WGI
| reporttitle  = Annual Climate Assessment 2023
| prevurl      = IPCC:AR6/WGI/Chapter2
| nexturl      = IPCC:AR6/WGI/Chapter4
}}

First chapter (omit prevurl):

{{ChapterNavigation
| cover        = Test-wgI.jpg
| reporturl    = IPCC:AR6/WGI
| reporttitle  = Annual Climate Assessment 2023
| nexturl      = IPCC:AR6/WGI/Chapter2
}}

Last chapter (omit nexturl):

{{ChapterNavigation
| cover        = Test-wgI.jpg
| reporturl    = IPCC:AR6/WGI
| reporttitle  = Annual Climate Assessment 2023
| prevurl      = IPCC:AR6/WGI/Chapter3
}}