Template:ChapterNavigation: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
{{#if:{{{prevurl|}}}| | {{#if:{{{prevurl|}}}| | ||
<td class="cn-prev"> | <td class="cn-prev"> | ||
<div class="cn-arrow-label">Previous chapter</div> | |||
<span class="cn-arrow cn-arrow-prev">[[{{{prevurl}}}|←]]</span> | <span class="cn-arrow cn-arrow-prev">[[{{{prevurl}}}|←]]</span> | ||
</td> | </td> | ||
| | | | ||
<td class="cn-prev cn-empty"> | <td class="cn-prev cn-empty"> | ||
<div class="cn-empty-label">No previous chapter</div> | |||
</td> | </td> | ||
}} | }} | ||
| Line 16: | Line 18: | ||
{{#if:{{{nexturl|}}}| | {{#if:{{{nexturl|}}}| | ||
<td class="cn-next"> | <td class="cn-next"> | ||
<div class="cn-arrow-label">Next chapter</div> | |||
<span class="cn-arrow cn-arrow-next">[[{{{nexturl}}}|→]]</span> | <span class="cn-arrow cn-arrow-next">[[{{{nexturl}}}|→]]</span> | ||
</td> | </td> | ||
| | | | ||
<td class="cn-next cn-empty"> | <td class="cn-next cn-empty"> | ||
<div class="cn-empty-label">No next chapter</div> | |||
</td> | </td> | ||
}} | }} | ||
| Line 28: | Line 32: | ||
Standard chapter (both prev and next): | Standard chapter (both prev and next): | ||
<pre> | <pre> | ||
{{ | {{ChapterNavigation | ||
| cover = Test-wgI.jpg | | cover = Test-wgI.jpg | ||
| reporturl = IPCC:AR6/WGI | | reporturl = IPCC:AR6/WGI | ||
| Line 39: | Line 43: | ||
<pre> | <pre> | ||
{{ChapterNavigation | {{ChapterNavigation | ||
| cover = | | cover = Cover-WGI.jpg | ||
| reporturl = IPCC:AR6/WGI | | reporturl = IPCC:AR6/WGI | ||
| reporttitle = | | reporttitle = WGI | ||
| nexturl = IPCC:AR6/WGI/ | | nexturl = IPCC:AR6/WGI/Chapter-2 | ||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 08:03, 22 May 2026
|
No previous chapter
|
[[File:{{{cover}}}|48px|link={{{reporturl}}}]]
Report
[[{{{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 = Cover-WGI.jpg
| reporturl = IPCC:AR6/WGI
| reporttitle = WGI
| nexturl = IPCC:AR6/WGI/Chapter-2
}}
Last chapter (omit nexturl):
{{ChapterNavigation
| cover = Test-wgI.jpg
| reporturl = IPCC:AR6/WGI
| reporttitle = Annual Climate Assessment 2023
| prevurl = IPCC:AR6/WGI/Chapter3
}}