Template talk:Glossary#Convert to TemplateStyles: save 6% on PEIS!

{{tfd end|date=2014 October 22|result=keep}}

Where to place glossend template

{{Resolved|1=Answered.}}

In List of rugby league terms I put "glossend" at the end of each section of the list, so e.g.

==A==

{{gloss}}

some terms listed

{{glossend}}

==B==

{{gloss}}

some terms listed

{{glossend}}

Is this right or should "glossend" only come as the end of "Z"? LunarLander // talk // 13:28, 10 August 2009 (UTC)

:You got it right. Each {{tnull|gloss}} opens a {{tag|dl|o}}, and each {{tnull|glossend}} closes it with {{tag|/dl|o}}. — SMcCandlish   Talk⇒〈°⌊°〉 Contribs. 09:05, 16 February 2012 (UTC)

:You should use {{tl|defn}} for your defenition; nesting : inside {gloss} and {glossend} results in incorrect markup due to double nesting. Edokter (talk) — 11:25, 16 February 2012 (UTC)

Sub-terms

I have a need to use sub-terms of a term in a glossary. I have created {{tl|subterm}}and {{tl|subdefn}} for this purpose. I have also created {{tl|glosslink}} and {{tl|glossback}} for the purpose of inserting reference-style backlinks so that readers can easily navigate back to the place in hte article they came from. I would appreciate someone who knows template code to check what I have done for sanity. SpinningSpark 16:12, 26 April 2013 (UTC)

[[Glossary_of_cue_sports_terms]] not working (December 2016)

For some reason this template isn't displaying correctly after the Glossary_of_cue_sports_terms ~646th entry on the page. 24.246.23.7 (talk) 20:56, 21 December 2016 (UTC)

:Seems to be okay now. It was too many parser calls on the page. This was resolved by replacing simpler definition entries with non-templated markup.  — SMcCandlish ¢ >ʌⱷ҅ʌ<  16:37, 13 December 2017 (UTC)

Semi-protected edit request on 1 August 2023

{{edit semi-protected|Template:Glossary|answered=y}}

Please replace all instances of "glycosylated hemoglobin" with "glycated hemoglobin", to use the current standard nomenclature. Thank you! AldoPioManuzio (talk) 21:17, 1 August 2023 (UTC)

:File:Red information icon with gradient background.svg Not done: please provide reliable sources that support the change you want to be made. Xan747 (talk) 22:25, 1 August 2023 (UTC)

Convert to TemplateStyles: save 6% on PEIS!

I just ran a test by removing inline styles from {{tl|Term}} (in {{tl|Term/sandbox}}, removing {{code|class{{=}}"glossary"}} from {{tl|Term}} and {{tl|Defn}} (in their respective sandboxes) (letting the CSS cascade work from having it defined in {{tl|Glossary/sandbox}}, and using some simple CSS in Template:Glossary/sandbox/styles.css:

.glossary dt { margin-top: 4em; }

.glossary dt + dt {margin-top: -0.2em; }

Copying Glossary of cue sports terms and Glossary of video game terms into my user space, editing them to use the sandboxed templates, and comparing the PEIS reports, I shaved 6.6% and 6.5%, respectively from the PEIS. Just removing {{code|class{{=}}"glossary"}} didn't seem to make any difference; I suspect that the gains were from basically eliminating the inline styling in {{tl|Term}} due to processing {{para|multi}}.

I'd like to move forward with these simple changes. Normally I wouldn't bother even checking; we should already be using TemplateStyles. But the side effect of this change is that it completely deprecates the need (and ability) of {{para|multi}} in {{tl|Term}}. All {{tlf|Term}}s that are next to each other will be "closed up", assuming they are multiple terms for the next {{tlf|Defn}}. And I think this makes sense: why have a Term without a Defn?

Thoughts? Any compelling reason to keep the behavior of multiple {{tlf|Term}}s if {{para|multi|y}} isn't specified?  — sbb (talk) 18:26, 25 May 2024 (UTC)

:{{Moved discussion from|Template talk:Term#Intend to obsolete...|no need to have convo scattered in multiple templates}}

:{{done|Implemented|Not hearing any objections.}}  — sbb (talk) 02:33, 10 June 2024 (UTC)