| سطر 1: |
سطر 1: |
| − | <span class="tooltip" title="{{{1}}}" style="color:{{{3|LightBlue}}}">{{{2|[[File:Kokiri's Emerald.png|25px|link=|text-top]]}}}</span><noinclude>
| |
| − | ==Purpose==
| |
| − | This template provides a bit of code that will display text with an tooltip.
| |
| | | | |
| − | ==Usage== | + | {{Borderd block without img |
| − | To use this template to have just the basic functionality, type:<br>
| + | |title_back_color= #756bb1 |
| − | {{NoWikiTemp|Normal|Tooltip}} | + | |border-color=#756bb1 |
| | + | |title='''صورة مميزة''' |
| | + | |content_back_color= #bcbddc |
| | + | |content_color= |
| | + | |width= {{{width|45%}}} |
| | + | |float= {{{float}}} |
| | + | |content_align=center |
| | + | |content= |
| | + | <randomimagebycategory categories="صورة مختارة"/> |
| | + | }} |
| | + | <noinclude> |
| | + | هذا قالب 'صورة مميزة'.ينبغي استدعاؤه بالصيغة التالية: |
| | | | |
| − | * '''''Tooltip''''' — The tooltip you wish to have.
| + | <pre> |
| − | | + | {{صورة مختارة |
| − | Additional options are available as well: <br>
| + | |float=}} |
| − | {{NoWikiTemp|Normal| Tooltip |Display Text|Color}} | + | </pre> |
| − | | |
| − | * '''''Tooltip''''' — The tooltip you wish to have.
| |
| − | * '''''Display Text''''' — Define a different text for the template to display. Defaults to an image of the Kokiri's Emerald.
| |
| − | * '''''Color''''' — Optionally define a different color to use. Must be in HTML color format: either defined colors like Red, Blue, Yellow, etc. or hex codes with a sharp/pound symbol such as #00CC00. Defaults to LightBlue if not defined.
| |
| − | | |
| − | ==See Also==
| |
| − | For a similar function also adds a question mark to the mouse pointer, see: [[Template:Exp]].
| |
| − | | |
| − | {{Cat|Formatting Templates}}
| |
| | </noinclude> | | </noinclude> |