Template:Tooltip: Difference between revisions

Content deleted Content added
Created page with "<noinclude> ==example == <span data-tooltip-target="tooltip-top" data-tooltip-placement="top">tooltip on top</span> {{tooltip|I'm a tooltip!}} </noinclude><onlyinclude><div id="{{{id|tooltip-default}}}" role="tooltip" class="absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700">{{{1|}}}<div class="tooltip-arrow" data-popper-arrow></div> </div></onl..."
 
No edit summary
Line 5: Line 5:
</noinclude><onlyinclude><div id="{{{id|tooltip-default}}}" role="tooltip" class="absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700">{{{1|}}}<div class="tooltip-arrow" data-popper-arrow></div>
</noinclude><onlyinclude><div id="{{{id|tooltip-default}}}" role="tooltip" class="absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 bg-gray-900 rounded-lg shadow-xs opacity-0 tooltip dark:bg-gray-700">{{{1|}}}<div class="tooltip-arrow" data-popper-arrow></div>
</div></onlyinclude>
</div></onlyinclude>
<noinclude>
<templatedata>
{
"params": {
"content": {
"label": {
"en": "תוכן התא",
"he": "תוכן (מעל האיזור המוסתר)"
},
"type": "content",
"suggested": true
},
"title": {
"label": "כותרת התא",
"suggested": true
},
"columns": {
"label": "מספר העמודות (1-12)",
"type": "number",
"suggested": true
},
"id": {
"label": "מזהה ייחודי",
"type": "string",
"suggested": true
},
"readmore": {
"label": "תוכן נוסף",
"type": "content",
"suggested": true
},
"class": {
"suggested": true
},
"nocard": {
"label": "check for show no card frame",
"type": "boolean"
},
"moretext": {
"suggested": true
},
"readmoretext": {},
"readlesstext": {},
"unique-id": {
"label": "accordions parent id ",
"suggested": true
}
},
"description": "אריח עם קרא עוד",
"paramOrder": [
"content",
"readmore",
"title",
"columns",
"id",
"class",
"nocard",
"moretext",
"readmoretext",
"readlesstext",
"unique-id"
]
}
</templatedata>
</noinclude>

Revision as of 03:06, 9 May 2025

example

tooltip on top