Template:Menu icon: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported) |
imported>Jonesey95 (replace Hover title with Tooltip per TFD) |
||
Line 5: | Line 5: | ||
padding-right: 8px; | padding-right: 8px; | ||
text-align: center;">{{nowrap|{{#ifeq:{{{2}}}|left | text-align: center;">{{nowrap|{{#ifeq:{{{2}}}|left | ||
|{{ | |{{tooltip|2=This is not a clickable menu icon; it illustrates the menu icon one should find.|[[File:MediaWiki Vector skin action arrow.png|link=]] {{{1|text}}}|dotted=no}} | ||
|{{ | |{{tooltip|2=This is not a clickable menu icon; it illustrates the menu icon one should find.|{{{1|text}}}{{#ifeq:{{{2}}}|non|| [[File:MediaWiki Vector skin action arrow.png|link=]]}}|dotted=no}} | ||
}}}}</span><noinclude> | }}}}</span><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 17:58, 4 October 2022
text
Usage
This is the {{menu icon}} template, primarily designed to illustrate menu buttons (drop-down by default)
Examples:
{{menu_icon|text}}
→ text drop-down menu
{{menu_icon|text|non}}
→ text gives a non-drop menu
{{menu_icon|text|left}}
→ text drop-down menu