Jump to content

Template:GlossaryTerms: Difference between revisions

From ClimateKG
No edit summary
No edit summary
Line 39: Line 39:
</noinclude><includeonly>
</noinclude><includeonly>
<div class="glossary-letter-section {{{class|}}}">
<div class="glossary-letter-section {{{class|}}}">
<h2>{{{title|Glossary terms in this report}}}</h2>
<div style="margin-bottom: 12px; font-size: 14px; font-weight: 500;">{{{title|Glossary terms in this report}}}</div>
<div class="glossary-entry">
<div class="glossary-entry">
{{#invoke:GlossaryTerms|renderTerms
{{#invoke:GlossaryTerms|renderTerms

Revision as of 05:23, 22 May 2026

Usage

This template displays a box with glossary terms as linked pills/badges.

Basic usage

{{GlossaryTerms
| title = Glossary terms in this report
| glossary_page = IPCC:AR6/Glossary
| terms = Ablation, Aerosol, Albedo, Anthropogenic, Biosphere
}}

Parameters

  • glossary_page - Base page for glossary links (required)
  • terms - Comma-separated list of glossary terms to display (required)
  • title (optional) - Title text for the box. Default: "Glossary terms in this report"
  • class (optional) - Additional CSS classes. Default: empty

Examples

Simple usage:

{{GlossaryTerms
| terms = Ablation, Aerosol, Albedo
}}

Custom title and glossary page:

{{GlossaryTerms
| title = Key Climate Concepts
| glossary_page = Climate:Glossary
| terms = Ablation, Aerosol, Albedo, Anthropogenic
}}