|
|
| Line 1: |
Line 1: |
| <onlyinclude><div class="cn-box">
| | Wow! The Chapter's navigation! |
| <table class="cn-row"><tr>
| |
| {{#if:{{{prevurl|}}}|
| |
| <td class="cn-prev">
| |
| <div class="cn-direction">← Previous</div>
| |
| <div class="cn-chapter-title">[[{{{prevurl}}}|{{{prevtitle}}}]]</div>
| |
| <div class="cn-chapter-desc">{{{prevdesc}}}</div>
| |
| </td>
| |
| |
| |
| <td class="cn-prev cn-empty">
| |
| <div class="cn-empty-label">First chapter</div>
| |
| </td>
| |
| }}
| |
| <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-title">[[{{{reporturl}}}|{{{reporttitle}}}]]</div>
| |
| </td>
| |
| {{#if:{{{nexturl|}}}|
| |
| <td class="cn-next">
| |
| <div class="cn-direction">Next →</div>
| |
| <div class="cn-chapter-title">[[{{{nexturl}}}|{{{nexttitle}}}]]</div>
| |
| <div class="cn-chapter-desc">{{{nextdesc}}}</div>
| |
| </td>
| |
| |
| |
| <td class="cn-next cn-empty">
| |
| <div class="cn-empty-label">Last chapter</div>
| |
| </td>
| |
| }}
| |
| </tr></table>
| |
| </div></onlyinclude>
| |
| <noinclude>
| |
| == Usage ==
| |
| | |
| Standard chapter (both prev and next):
| |
| <pre>
| |
| {{ChapterNav
| |
| | cover = Test-wgI.jpg
| |
| | reporturl = IPCC:AR6/WGI
| |
| | reporttitle = Annual Climate Assessment 2023
| |
| | |
| | prevurl = IPCC:AR6/WGI/Chapter2
| |
| | prevtitle = Chapter 2: Observed Changes
| |
| | prevdesc = Surface temperature and sea level dynamics
| |
| | |
| | nexturl = IPCC:AR6/WGI/Chapter4
| |
| | nexttitle = Chapter 4: Risk Assessment
| |
| | nextdesc = Regional vulnerability under future scenarios
| |
| }}
| |
| </pre>
| |
| | |
| First chapter (omit prevurl, prevtitle, prevdesc):
| |
| <pre>
| |
| {{ChapterNav
| |
| | cover = Test-wgI.jpg
| |
| | reporturl = IPCC:AR6/WGI
| |
| | reporttitle = Annual Climate Assessment 2023
| |
| | |
| | nexturl = IPCC:AR6/WGI/Chapter2
| |
| | nexttitle = Chapter 2: Observed Changes
| |
| | nextdesc = Surface temperature and sea level dynamics
| |
| }}
| |
| </pre>
| |
| | |
| Last chapter (omit nexturl, nexttitle, nextdesc):
| |
| <pre>
| |
| {{ChapterNav
| |
| | cover = Test-wgI.jpg
| |
| | reporturl = IPCC:AR6/WGI
| |
| | reporttitle = Annual Climate Assessment 2023
| |
| | |
| | prevurl = IPCC:AR6/WGI/Chapter3
| |
| | prevtitle = Chapter 3: Future Projections
| |
| | prevdesc = Regional vulnerability under future scenarios
| |
| }}
| |
| </pre>
| |
| | |
| [[Category:Templates]]
| |
| </noinclude>
| |
Wow! The Chapter's navigation!