Difference between revisions of "Template:Tooltip"
| Line 3: | Line 3: | ||
| Sintassi: | Sintassi: | ||
| {{Tooltip|Parola chiave|Approfondimento sulla parola chiave (max. 70-100 parole)}}</noinclude><span class="tooltip-trigger">{{{1|}}}<span class="tooltip-content">{{{2|}}}</span></span> | {{Tooltip|Parola chiave|Approfondimento sulla parola chiave (max. 70-100 parole)}}</noinclude><span class="tooltip-trigger">{{{1|}}}<span class="tooltip-content">{{{2|}}}</span></span><noinclude> | ||
| <templatedata> | |||
| { | |||
| 	"params": { | |||
| 		"1": { | |||
| 			"label": "Keyword", | |||
| 			"type": "string", | |||
| 			"required": true | |||
| 		}, | |||
| 		"2": { | |||
| 			"label": "Description (max. 70-100 words)", | |||
| 			"type": "string", | |||
| 			"required": true | |||
| 		} | |||
| 	}, | |||
| 	"description": "To add tootlips (popups) on keywords", | |||
| 	"format": "inline" | |||
| } | |||
| </templatedata> | |||
| </noinclude> | |||
Revision as of 09:09, 25 October 2024
Questo template genera un popup (tooltip) quando l'utente fa il mouseover su una parola chiave.
Sintassi:
Parola chiaveApprofondimento sulla parola chiave (max. 70-100 parole)
To add tootlips (popups) on keywords
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Keyword | 1 | no description | String | required | 
| Description (max. 70-100 words) | 2 | no description | String | required |