Template:Hover text/doc: Difference between revisions
From Guild of Archivists
(Create documentation page for 'Hover text' template using TemplateData.) |
m (Add 'autovalue' field for 'dotted' parameter.) |
||
Line 24: | Line 24: | ||
"description": "Set to \"no\" to disable the dots that appear underneath the main text, or \"yes\" to explicitly enable them.", | "description": "Set to \"no\" to disable the dots that appear underneath the main text, or \"yes\" to explicitly enable them.", | ||
"type": "string", | "type": "string", | ||
"suggestedvalues": ["no", "yes"] | "suggestedvalues": ["no", "yes"], | ||
"autovalue": "yes" | |||
} | } | ||
}, | }, |
Latest revision as of 04:13, 29 November 2024
Inserts text into a page that provides additional text that appears when the user hovers over it. The text that appears on the page is the 'main text' and the text that appears when hovered over is the 'hover text'.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hover Text | 1 hovertext | The text that will appear when the user hovers over the main text. | String | required |
Main Text | 2 maintext | The text that will appear within the page content. | String | required |
Dotted | dotted | Set to "no" to disable the dots that appear underneath the main text, or "yes" to explicitly enable them.
| String | optional |