Template:GlossaryTerms: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 14: | Line 14: | ||
=== Parameters === | === 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" | * '''title''' (optional) - Title text for the box. Default: "Glossary terms in this report" | ||
* '''class''' (optional) - Additional CSS classes. Default: empty | * '''class''' (optional) - Additional CSS classes. Default: empty | ||
| Line 42: | Line 42: | ||
<div class="glossary-entry"> | <div class="glossary-entry"> | ||
{{#invoke:GlossaryTerms|renderTerms | {{#invoke:GlossaryTerms|renderTerms | ||
| glossary_page = {{{glossary_page | | glossary_page = {{{glossary_page}}} | ||
| terms = {{{terms|}}} | | terms = {{{terms|}}} | ||
}} | }} | ||
Revision as of 05:21, 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
}}