Template:ChapterNavigation: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| 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> | |||
</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> | ||
}} | }} | ||
<td class="cn-center"> | <td class="cn-center"> | ||
<div class="cn-center- | <div class="cn-center-header"> | ||
<div class="cn-center-label">Report</div> | <div class="cn-center-label">Report</div> | ||
<div class="cn-center-title">[[{{{reporturl}}}|{{{reporttitle}}}]]</div> | <div class="cn-center-title">[[{{{reporturl}}}|{{{reporttitle}}}]]</div> | ||
</div> | |||
<div class="cn-center-img">[[File:{{{cover}}}|96px|link={{{reporturl}}}]]</div> | |||
</td> | </td> | ||
{{#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> | |||
</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> | ||
}} | }} | ||
Latest revision as of 08:21, 22 May 2026
|
No previous chapter
|
Report
[[{{{reporturl}}}|{{{reporttitle}}}]]
[[File:{{{cover}}}|96px|link={{{reporturl}}}]]
|
No next chapter
|
Usage
[edit source]Standard chapter (both prev and next):
{{ChapterNav
| 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):
{{ChapterNav
| cover = Test-wgI.jpg
| reporturl = IPCC:AR6/WGI
| reporttitle = Annual Climate Assessment 2023
| nexturl = IPCC:AR6/WGI/Chapter2
}}
Last chapter (omit nexturl):
{{ChapterNav
| cover = Test-wgI.jpg
| reporturl = IPCC:AR6/WGI
| reporttitle = Annual Climate Assessment 2023
| prevurl = IPCC:AR6/WGI/Chapter3
}}