Jump to content

Template:ChapterNav

From wikibase
Revision as of 11:36, 22 April 2026 by Design (talk | contribs) (Created page with "<onlyinclude><div class="cn-box"> <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 cla...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{#if:| | }} {{#if:| | }}
← Previous
[[{{{prevurl}}}|{{{prevtitle}}}]]
{{{prevdesc}}}
First chapter
[[File:{{{cover}}}|48px|link={{{reporturl}}}]]
Report
[[{{{reporturl}}}|{{{reporttitle}}}]]
Next →
[[{{{nexturl}}}|{{{nexttitle}}}]]
{{{nextdesc}}}
Last chapter

Usage

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
| 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
}}

First chapter (omit prevurl, prevtitle, prevdesc):

{{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
}}

Last chapter (omit nexturl, nexttitle, nextdesc):

{{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
}}