Template:ChapterContributors: Difference between revisions

From ClimateKG
Jump to navigation Jump to search
Created page with "<div class="chapter-authors"> <div class="chapter-authors-title">Authors</div> <div class="chapter-authors-group"> <div class="chapter-authors-group-title">Coordinating Lead Authors</div> <div class="chapter-authors-pills">{{{cla}}}</div> </div> <div class="chapter-authors-group"> <div class="chapter-authors-group-title">Lead Authors</div> <div class="chapter-authors-pills">{{{la}}}</div> </div> <div class="chapter-authors-group"> <div class="chapter-authors-group-ti..."
 
No edit summary
Line 1: Line 1:
<div class="chapter-authors">
<onlyinclude><div class="ccon-box">
<div class="ccon-header">Contributors</div>
{{#if:{{{cla1|}}}|
<div class="ccon-group">
<span class="ccon-label">Coordinating Lead Authors</span>
<span class="ccon-names">
{{{cla1}}}{{#if:{{{cla1country|}}}| <span class="ccon-country">({{{cla1country}}})</span>}}{{#if:{{{cla2|}}}|, }}{{{cla2|}}}{{#if:{{{cla2country|}}}| <span class="ccon-country">({{{cla2country}}})</span>}}{{#if:{{{cla3|}}}|, }}{{{cla3|}}}{{#if:{{{cla3country|}}}| <span class="ccon-country">({{{cla3country}}})</span>}}{{#if:{{{cla4|}}}|, }}{{{cla4|}}}{{#if:{{{cla4country|}}}| <span class="ccon-country">({{{cla4country}}})</span>}}{{#if:{{{cla5|}}}|, }}{{{cla5|}}}{{#if:{{{cla5country|}}}| <span class="ccon-country">({{{cla5country}}})</span>}}
</span>
</div>}}
{{#if:{{{la1|}}}|
<div class="ccon-group">
<span class="ccon-label">Lead Authors</span>
<span class="ccon-names">
{{{la1}}}{{#if:{{{la1country|}}}| <span class="ccon-country">({{{la1country}}})</span>}}{{#if:{{{la2|}}}|, }}{{{la2|}}}{{#if:{{{la2country|}}}| <span class="ccon-country">({{{la2country}}})</span>}}{{#if:{{{la3|}}}|, }}{{{la3|}}}{{#if:{{{la3country|}}}| <span class="ccon-country">({{{la3country}}})</span>}}{{#if:{{{la4|}}}|, }}{{{la4|}}}{{#if:{{{la4country|}}}| <span class="ccon-country">({{{la4country}}})</span>}}{{#if:{{{la5|}}}|, }}{{{la5|}}}{{#if:{{{la5country|}}}| <span class="ccon-country">({{{la5country}}})</span>}}{{#if:{{{la6|}}}|, }}{{{la6|}}}{{#if:{{{la6country|}}}| <span class="ccon-country">({{{la6country}}})</span>}}{{#if:{{{la7|}}}|, }}{{{la7|}}}{{#if:{{{la7country|}}}| <span class="ccon-country">({{{la7country}}})</span>}}{{#if:{{{la8|}}}|, }}{{{la8|}}}{{#if:{{{la8country|}}}| <span class="ccon-country">({{{la8country}}})</span>}}{{#if:{{{la9|}}}|, }}{{{la9|}}}{{#if:{{{la9country|}}}| <span class="ccon-country">({{{la9country}}})</span>}}{{#if:{{{la10|}}}|, }}{{{la10|}}}{{#if:{{{la10country|}}}| <span class="ccon-country">({{{la10country}}})</span>}}
</span>
</div>}}
{{#if:{{{ca1|}}}|
<div class="ccon-group">
<span class="ccon-label">Contributing Authors</span>
<span class="ccon-names">
{{{ca1}}}{{#if:{{{ca1country|}}}| <span class="ccon-country">({{{ca1country}}})</span>}}{{#if:{{{ca2|}}}|, }}{{{ca2|}}}{{#if:{{{ca2country|}}}| <span class="ccon-country">({{{ca2country}}})</span>}}{{#if:{{{ca3|}}}|, }}{{{ca3|}}}{{#if:{{{ca3country|}}}| <span class="ccon-country">({{{ca3country}}})</span>}}{{#if:{{{ca4|}}}|, }}{{{ca4|}}}{{#if:{{{ca4country|}}}| <span class="ccon-country">({{{ca4country}}})</span>}}{{#if:{{{ca5|}}}|, }}{{{ca5|}}}{{#if:{{{ca5country|}}}| <span class="ccon-country">({{{ca5country}}})</span>}}{{#if:{{{ca6|}}}|, }}{{{ca6|}}}{{#if:{{{ca6country|}}}| <span class="ccon-country">({{{ca6country}}})</span>}}{{#if:{{{ca7|}}}|, }}{{{ca7|}}}{{#if:{{{ca7country|}}}| <span class="ccon-country">({{{ca7country}}})</span>}}{{#if:{{{ca8|}}}|, }}{{{ca8|}}}{{#if:{{{ca8country|}}}| <span class="ccon-country">({{{ca8country}}})</span>}}{{#if:{{{ca9|}}}|, }}{{{ca9|}}}{{#if:{{{ca9country|}}}| <span class="ccon-country">({{{ca9country}}})</span>}}{{#if:{{{ca10|}}}|, }}{{{ca10|}}}{{#if:{{{ca10country|}}}| <span class="ccon-country">({{{ca10country}}})</span>}}
</span>
</div>}}
{{#if:{{{cs1|}}}|
<div class="ccon-group">
<span class="ccon-label">Chapter Scientists</span>
<span class="ccon-names">
{{{cs1}}}{{#if:{{{cs1country|}}}| <span class="ccon-country">({{{cs1country}}})</span>}}{{#if:{{{cs2|}}}|, }}{{{cs2|}}}{{#if:{{{cs2country|}}}| <span class="ccon-country">({{{cs2country}}})</span>}}{{#if:{{{cs3|}}}|, }}{{{cs3|}}}{{#if:{{{cs3country|}}}| <span class="ccon-country">({{{cs3country}}})</span>}}{{#if:{{{cs4|}}}|, }}{{{cs4|}}}{{#if:{{{cs4country|}}}| <span class="ccon-country">({{{cs4country}}})</span>}}{{#if:{{{cs5|}}}|, }}{{{cs5|}}}{{#if:{{{cs5country|}}}| <span class="ccon-country">({{{cs5country}}})</span>}}
</span>
</div>}}
{{#if:{{{re1|}}}|
<div class="ccon-group">
<span class="ccon-label">Review Editors</span>
<span class="ccon-names">
{{{re1}}}{{#if:{{{re1country|}}}| <span class="ccon-country">({{{re1country}}})</span>}}{{#if:{{{re2|}}}|, }}{{{re2|}}}{{#if:{{{re2country|}}}| <span class="ccon-country">({{{re2country}}})</span>}}{{#if:{{{re3|}}}|, }}{{{re3|}}}{{#if:{{{re3country|}}}| <span class="ccon-country">({{{re3country}}})</span>}}{{#if:{{{re4|}}}|, }}{{{re4|}}}{{#if:{{{re4country|}}}| <span class="ccon-country">({{{re4country}}})</span>}}{{#if:{{{re5|}}}|, }}{{{re5|}}}{{#if:{{{re5country|}}}| <span class="ccon-country">({{{re5country}}})</span>}}
</span>
</div>}}
</div></onlyinclude>
<noinclude>
== Usage ==
<pre>
{{ChapterContributors
| cla1        = Maria Kovač
| cla1country = Slovenia
| cla2        = Thomas Berg
| cla2country = Germany


<div class="chapter-authors-title">Authors</div>
| la1        = Sun Li
| la1country = China
| la2        = Amara Diallo
| la2country = Senegal
| la3        = James Reid
| la3country = UK
| la4        = Priya Nair
| la4country = India


<div class="chapter-authors-group">
| ca1        = Carlos Vega
<div class="chapter-authors-group-title">Coordinating Lead Authors</div>
| ca1country = Mexico
<div class="chapter-authors-pills">{{{cla}}}</div>
| ca2        = Fatima Al-Hassan
</div>
| ca2country = Egypt


<div class="chapter-authors-group">
| cs1        = Yuki Tanaka
<div class="chapter-authors-group-title">Lead Authors</div>
| cs1country = Japan
<div class="chapter-authors-pills">{{{la}}}</div>
</div>


<div class="chapter-authors-group">
| re1        = Elena Petrov
<div class="chapter-authors-group-title">Contributing Authors</div>
| re1country = Russia
<div class="chapter-authors-pills">{{{ca}}}</div>
| re2        = Omar Shaikh
</div>
| re2country = Pakistan
}}
</pre>


<div class="chapter-authors-group">
Supported capacities: CLA up to 5, LA up to 10, CA up to 10, CS up to 5, RE up to 5. All groups are optional — omit the first parameter of a group to hide it entirely.
<div class="chapter-authors-group-title">Chapter Scientist</div>
<div class="chapter-authors-pills">{{{cs}}}</div>
</div>


<div class="chapter-authors-group">
[[Category:Templates]]
<div class="chapter-authors-group-title">Review Editors</div>
</noinclude>
<div class="chapter-authors-pills">{{{re}}}</div>
</div>
 
</div>

Revision as of 04:18, 13 April 2026

Contributors



Usage

{{ChapterContributors
| cla1        = Maria Kovač
| cla1country = Slovenia
| cla2        = Thomas Berg
| cla2country = Germany

| la1        = Sun Li
| la1country = China
| la2        = Amara Diallo
| la2country = Senegal
| la3        = James Reid
| la3country = UK
| la4        = Priya Nair
| la4country = India

| ca1        = Carlos Vega
| ca1country = Mexico
| ca2        = Fatima Al-Hassan
| ca2country = Egypt

| cs1        = Yuki Tanaka
| cs1country = Japan

| re1        = Elena Petrov
| re1country = Russia
| re2        = Omar Shaikh
| re2country = Pakistan
}}

Supported capacities: CLA up to 5, LA up to 10, CA up to 10, CS up to 5, RE up to 5. All groups are optional — omit the first parameter of a group to hide it entirely.