Template:SignalTerm: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
Purpose: | Purpose: | ||
- Render a compact SIGNAL structured-object marker next to terms that map to SIGNAL database objects. | - Render a compact SIGNAL structured-object marker next to terms that map to SIGNAL database objects. | ||
- Preserve object identity for | - Preserve object identity for hovercards, object navigation, and structured-data UI. | ||
- Uses Template:SignalObject for the visual glyph so legacy icon styling remains consistent. | |||
Usage: | Usage: | ||
| Line 10: | Line 11: | ||
{{SignalTerm|type=DSI|id=DSI-000001|label=Ocean acidification trend — California Current}} | {{SignalTerm|type=DSI|id=DSI-000001|label=Ocean acidification trend — California Current}} | ||
{{SignalTerm|type=OT|id=OT-000123|label=Atmospheric CO2 mole fraction}} | {{SignalTerm|type=OT|id=OT-000123|label=Atmospheric CO2 mole fraction}} | ||
</noinclude><span class="signal-term" data-signal-type="{{{type|}}}" data-signal-id="{{{id|}}}" title="SIGNAL structured object: {{{type|}}} {{{id|}}} | |||
Optional: | |||
- If JavaScript from SignalTerm.js is installed in MediaWiki:Common.js, this term will show a hovercard with links to the SIGNAL object view and wiki article. | |||
</noinclude><span class="signal-term" tabindex="0" role="button" data-signal-type="{{{type|}}}" data-signal-id="{{{id|}}}" data-signal-label="{{{label|{{{id|SIGNAL object}}}}}}" title="SIGNAL structured object: {{{type|}}} {{{id|}}}">{{SignalObject}} <span class="signal-term-label">{{{label|{{{id|SIGNAL object}}}}}}</span></span> | |||
Latest revision as of 00:42, 25 May 2026
Template:SignalTerm
Purpose: - Render a compact SIGNAL structured-object marker next to terms that map to SIGNAL database objects. - Preserve object identity for hovercards, object navigation, and structured-data UI. - Uses Template:SignalObject for the visual glyph so legacy icon styling remains consistent.
Usage:
Annual trend in atmospheric CO2 mole fraction
Ocean acidification trend — California Current
Atmospheric CO2 mole fraction
Optional:
- If JavaScript from SignalTerm.js is installed in MediaWiki:Common.js, this term will show a hovercard with links to the SIGNAL object view and wiki article.
SIGNAL object