Template:Hint: Difference between revisions

From Alpine Linux
No edit summary
(Reversed parm order)
Line 4: Line 4:
====Example====
====Example====


<nowiki>{{Hint|term|explanation}}</nowiki>
<nowiki>{{Hint|explanation|displayed term}}</nowiki>


produces:
produces:


{{Hint|term|explanation}}
{{Hint|explanation|displayed term}}


<!-- <span title="{{{2}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}} class="help">{{{1}}}</span> -->
<!-- <span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no||style="border-bottom:1px dotted"}} class="help">{{{2}}}</span> -->


</noinclude><includeonly><abbr title="{{{2}}}">{{{1}}}</abbr></includeonly>
</noinclude><includeonly><abbr title="{{{1}}}">{{{2}}}</abbr></includeonly>

Revision as of 13:35, 7 March 2012

Template Documentation for Hint

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

An inline element with a pop-up hint.

Example

{{Hint|explanation|displayed term}}

produces:

displayed term